<%= Currency.human_attribute_name( 'name' ) %> <%=h @currency.name %>
<%= Currency.human_attribute_name( 'code' ) %> (ISO 4217) (?) <%=h @currency.code %>
<%= Currency.human_attribute_name( 'symbol' ) %> "<%=h @currency.symbol %>"
<%= Currency.human_attribute_name( 'show_after_number' ) %> <%= apphelp_boolean( @currency.show_after_number ) %>
<%= Currency.human_attribute_name( 'decimal_precision' ) %> <%=h @currency.decimal_precision %>
<%= Currency.human_attribute_name( 'rounding_algorithm' ) %> <%=h currencyhelp_rounding_algorithm( @currency.rounding_algorithm ) %>
<%= Currency.human_attribute_name( 'formatting_template' ) %> "<%=h @currency.integer_template %>" <% if @currency.decimal_precision > 0 -%> "<%=h @currency.delimiter %>" "<%=h @currency.fraction_template %>" <% end -%>
<%= Currency.human_attribute_name( 'examples' ) %> <%= currencyhelp_print( @currency, rand( 10000 ) / ( rand * 10000 ) ) %>
<%= currencyhelp_print( @currency, rand( 1000000 ) / ( rand * 10000 ) ) %>
<%= currencyhelp_print( @currency, rand( 100000000 ) / ( rand * 10000 ) ) %>
<%= currencyhelp_print( @currency, '1212121212.1212121212' ) %>
<%= currencyhelp_print( @currency, '8989898989.8989898989' ) %>
<%= currencyhelp_print( @currency, '5555555555.5555555555' ) %>

<%= apphelp_protected_buttons_to( [ :edit, { :method => :edit_currency_path }, @currency ], [ :index, { :method => :currencies_path } ] ) %>