Sha256: 77c4cc39fc34f5af8730d3bcbbaf67234a5ccbb8abef65268a6c531278876d6a

Contents?: true

Size: 675 Bytes

Versions: 2

Compression:

Stored size: 675 Bytes

Contents

<%= pb_content_tag do %>
  <%= pb_rails("caption", props: object.caption_props) %>

  <div class=<%= "pb_currency_wrapper#{object.variant_class || object.emphasized_class}" %>>
    <% if object.unstyled %>
      <div><%= object.negative_sign %><%= 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.negative_sign %><%= object.symbol %>
      <% end %>
      <%= pb_rails("title", props: object.title_props) %>
      <%= pb_rails("body", props: object.body_props) %>
    <% end %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4543 app/pb_kits/playbook/pb_currency/currency.html.erb
playbook_ui-14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4539 app/pb_kits/playbook/pb_currency/currency.html.erb