Sha256: 0870e5134e34e97db550369c0fcbc860a62d213a97d0c7e30b0b23f4b7375988

Contents?: true

Size: 760 Bytes

Versions: 13

Compression:

Stored size: 760 Bytes

Contents

<% content_for :page_title do %>
  <%= link_to Spree.t(:taxonomies), spree.admin_taxonomies_url %> /
  <%= link_to @taxonomy.name, spree.edit_admin_taxonomy_url(@taxonomy) %> /
  <%= @taxon.name %>
<% end %>

<%# Because otherwise the form would attempt to use to_param of @taxon %>
<% form_url = admin_taxonomy_taxon_path(@taxonomy.id, @taxon.id) %>
<%= form_for [:admin, @taxonomy, @taxon], method: :put, url: form_url, html: { multipart: true } do |f| %>
  <%= render 'form', f: f %>

  <div class="form-actions" data-hook="buttons">
    <%= button Spree.t('actions.update'), 'save' %>
    <span class="or"><%= Spree.t(:or) %></span>
    <%= button_link_to Spree.t('actions.cancel'), edit_admin_taxonomy_url(@taxonomy), icon: "remove" %>
  </div>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spree_backend-3.2.9 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.8 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.7 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.6 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.5 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.4 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.3 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.2 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.1 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.0 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.0.rc3 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.0.rc2 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.2.0.rc1 app/views/spree/admin/taxons/edit.html.erb