cirandas.net

ref: master

plugins/currency/views/currency_plugin_myprofile/index.html.erb


<%= _('Currencies organized by your enterprise') %>

<%= link_to _('Create new currency'), {action: :create}, class: 'modal-toggle currency-action-button' %>
<% @organized_currencies.each do |currency| %> <%= render partial: 'currency_organized', locals: {currency: currency} %> <% end %>

<%= _('Currencies already accepted') %>

<%= link_to _('Accept a new currency'), {action: :accept}, class: 'modal-toggle currency-action-button' %>
<% @accepted_currencies.each do |currency| %> <%= render partial: 'currency_accepted', locals: {currency: currency} %> <% end %>