<% content_for :page_actions do %> <%= button_link_to Spree.t(:back_to_resource_list, resource: plural_resource_name(Spree::TaxonGroup)), spree.admin_taxon_groups_path, icon: 'arrow-left', class: 'btn-primary' %> <% end %> <%= form_for [:admin, resource], url: positions_admin_taxon_group_path(resource.id) do |f| %>
<% @taxon_group_memberships.each do |membership| %> <% end %> <% if @taxon_group_memberships.empty? %> <% end %>
<%= Spree.t(:taxon_name) %> <%= Spree.t(:path) %>
<%= hidden_field_tag('taxon_group_membership[position]['+membership.id.to_s+']', membership.position) %> <%= membership.taxon.name %> <%= taxon_path membership.taxon %>
<%= Spree.t(:none) %>.
<%= button Spree.t('actions.update'), 'refresh', 'submit', {class: 'btn-success'} %> <%= Spree.t(:or) %> <%= button_link_to Spree.t('actions.cancel'), collection_url, :icon => 'delete' %>
<% end %>