ref: master
plugins/currency/views/currency_plugin_myprofile/_accept_form.html.erb
<%= form_tag :action => :accept do |f| %><% if @currencies.empty? %> <%= _('No results') %> <% end %> <% @currencies.each do |currency| %><%= submit_tag _('OK'), :class => 'currency-action-button' %> <%= modal_close_button _('cancel') %> <% end %><%= check_box_tag 'id[]', currency.id %> <% if organizer = currency.organizers.first %> <%= _('%{name}, currency offered by %{organizer}') % { :name => currency.name_with_symbol, :organizer => link_to(organizer.name, organizer.url, :target => '_blank')} %> <% else %> <%= currency.name_with_symbol %> <% end %><% end %>