Sha256: a3e0b555345e4f5a9f287d8b74f69988ff952abeaa3a3c0d5ab7e27ccd5d3550

Contents?: true

Size: 747 Bytes

Versions: 24

Compression:

Stored size: 747 Bytes

Contents

<%= content_tag(:div,
    aria: object.aria,
    id: object.id,
    data: object.data,
    class: object.classname,
    **combined_html_options) do %>
  <%= pb_rails("caption", props: object.caption_props) %>

  <div class=<%= "pb_currency_wrapper#{object.variant_class || object.emphasized_class}" %>>
    <% if object.unstyled %>
      <div><%= object.symbol %></div>
      <div><%= object.title_props[:text] %></div>
      <div><%= object.body_props[:text] %></div>
    <% else %>
      <%= pb_rails("body", props: object.currency_wrapper_props) do %>
        <%= object.symbol %>
      <% end %>
      <%= pb_rails("title", props: object.title_props) %>
      <%= pb_rails("body", props: object.body_props) %>
    <% end %>
  </div>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
playbook_ui-13.27.0 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.25.0.pre.alpha.PLAY761globalpaddingpropsbuttons2713 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.25.0 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.24.0.pre.alpha.PBNTR261NewKitDropdown2681 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.24.0.pre.alpha.PLAY1181circleiconkitfixsizingerrorglobalspacingprops2675 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.24.0.pre.alpha.PLAY998backgroundkitremoveemptyinlinline2666 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.23.0.pre.alpha.PLAY1284investigation2657 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.24.0 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.22.0.pre.alpha.pbntr254barchartnegativenumber2640 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.22.0.pre.alpha.PLAY1297updatetextstyles2636 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.22.0.pre.alpha.playbookgemspecrailsversion2608 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.23.0 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.21.0.pre.alpha.PLAY12582531 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.21.0.pre.alpha.PLAY12582516 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.21.0.pre.alpha.PLAY12582515 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.21.0.pre.alpha.PLAY12582514 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.22.0 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.21.0.pre.alpha.PBNTR243globalpositioningpropinset2504 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.21.0.pre.alpha.PLAY12582474 app/pb_kits/playbook/pb_currency/currency.html.erb