Sha256: 403d5666d4e7c44ac229519922cae8edb84ae05dc6e983cef124aeaf4014821d

Contents?: true

Size: 962 Bytes

Versions: 5

Compression:

Stored size: 962 Bytes

Contents

<% content_for :page_title do %>
  <%= Spree.t(:editing_resource, resource: Spree::Taxon.model_name.human) %>
<% end %>

<% content_for :page_actions do %>
  <%= button_link_to Spree.t(:back_to_resource_list, resource: Spree::Taxonomy.model_name.human), spree.admin_taxonomies_path, class: 'btn-primary', icon: 'arrow-left' %>
<% end %>

<%= render 'settings' %>

<div class="row translations">
  <div class="col-md-4">
    <%= render 'fields' %>
  </div>
  <div class="col-md-8">
    <%= form_for [:admin, @resource.taxonomy, @resource], url: spree.admin_taxonomy_taxon_path(@taxon.taxonomy, @taxon.id) do |f| %>
      <%= render 'form_fields', f: f %>
      <div class="form-actions" data-hook="buttons">
        <%= button Spree.t(:update), 'update' %>
        <span class="or"><%= Spree.t(:or) %></span>
        <%= button_link_to Spree.t(:cancel), spree.edit_admin_taxonomy_url(@taxon.taxonomy), icon: 'remove' %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_mobility-1.4.0 app/views/spree/admin/translations/taxon.html.erb
spree_mobility-1.3.0 app/views/spree/admin/translations/taxon.html.erb
spree_mobility-1.2.0 app/views/spree/admin/translations/taxon.html.erb
spree_mobility-1.1.0 app/views/spree/admin/translations/taxon.html.erb
spree_mobility-1.0.0 app/views/spree/admin/translations/taxon.html.erb