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.21.0.pre.alpha.PBNTR224letuserresetrowexpansion2466 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.21.0.pre.alpha.PLAY120322465 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.20.0.pre.alpha.play1247htmloptions2404 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-13.20.0.pre.alpha.play1247htmloptions2403 app/pb_kits/playbook/pb_currency/currency.html.erb