Sha256: 9443c0c46635954bb014a2688ad251f7fa67019fc3e6bf2cbf3766411f65e205

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

<ul class="item">
<% @wallet.each do |currency| %>
  <li>
    <%= item_wiki(currency) %>
    <span class="description">
      <%= h currency['name'] %>
      <br/>
      <% if currency['name'] == 'Coin' %>
      <%= price(currency['value']) %>
      <% else %>
      <%= h currency['value'].to_s.gsub(/(\d)(?=\d{3}+$)/, '\1,') %>
      <% end %>
    </span>
  </li>
<% end %>
</ul>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rest-gw2-0.4.0 lib/rest-gw2/view/wallet.erb
rest-gw2-0.2.0 lib/rest-gw2/view/wallet.erb