Sha256: 58f20c3d6ad27e2b34a42a17b869ebe9a530b5689134ad528221657ef1a01e6e

Contents?: true

Size: 849 Bytes

Versions: 85

Compression:

Stored size: 849 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) %>

<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @taxon } %>

<%= 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

85 entries across 85 versions & 1 rubygems

Version Path
spree_backend-4.0.9 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.1.15 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.1.14 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.0.8 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.7.14.1 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.1.13.1 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.0.7.1 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.0.7 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.7.14 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.1.13 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.0.6 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.7.13 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.0.5 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.1.12 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.7.12 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.0.4 app/views/spree/admin/taxons/edit.html.erb
spree_backend-3.7.11 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.1.11 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.1.10 app/views/spree/admin/taxons/edit.html.erb
spree_backend-4.1.9 app/views/spree/admin/taxons/edit.html.erb