Sha256: 4bb4263540729e67d100806895bd45802d27b67944991e53c81aebc9acaf936e

Contents?: true

Size: 1.29 KB

Versions: 116

Compression:

Stored size: 1.29 KB

Contents

<%= render partial: 'js_head' %>

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

<div id="ajax_error" class="errorExplanation" style="display:none;"></div>

<%= form_for [:admin, @taxonomy] do |f| %>
  <fieldset>
    <%= render partial: 'form', locals: { f: f } %>
    <div class="form-group">
      <%= label_tag nil, Spree.t(:tree) %>
      <script>
        Spree.routes.taxonomy_taxons_path = "<%= spree.api_v1_taxonomy_taxons_path(@taxonomy) %>";
        Spree.routes.admin_taxonomy_taxons_path = "<%= spree.admin_taxonomy_taxons_path(@taxonomy) %>";
        Spree.routes.jstree_theme_path = "<%= stylesheet_path("jquery.jstree/themes/spree/style.css") %>";
      </script>
      <div id="taxonomy_tree" class="tree">
        <div class="alert alert-warning">
          <%= Spree.t(:loading_tree) %>
        </div>
      </div>
    </div>

    <div class="alert alert-info">
      <%= Spree.t(:taxonomy_tree_instruction) %>
    </div>

    <div class="form-actions">
      <%= button Spree.t('actions.update'), 'ok', 'submit', { class: 'btn-success' } %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), admin_taxonomies_path, icon: 'delete' %>
    </div>
  </fieldset>
<% end %>

Version data entries

116 entries across 116 versions & 1 rubygems

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