Sha256: 1d1bf787fb2515e624bc4f667c6ce773f9a75f91e548aca5fe3d9b23b2ac3fe6

Contents?: true

Size: 1.54 KB

Versions: 43

Compression:

Stored size: 1.54 KB

Contents

<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<%= render :partial => 'js_head' %>

<% content_for :page_title do %>
  <%= Spree.t(:taxonomy_edit) %>
<% end %>

<% content_for :page_actions do %>
  <li>
    <%= button_link_to Spree.t(:back_to_taxonomies_list), spree.admin_taxonomies_path, :icon => 'arrow-left' %>
  </li>
<% end %>

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

<%= form_for [:admin, @taxonomy] do |f| %>
  <fieldset class="no-border-top">
    <%= render :partial => 'form', :locals => { :f => f } %>
    <div>
      <%= label_tag nil, Spree.t(:tree) %><br />
      <script>
        Spree.routes.taxonomy_taxons_path = "<%= spree.api_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/apple/style.css") %>";
      </script>
      <div id="taxonomy_tree" class="tree"></div>
    </div>
    <div id="progress" style="display:none;">
      <%= image_tag 'select2-spinner.gif', :title => 'Spinner', :style => "vertical-align:bottom;" %> <%= Spree.t(:updating) %>..
    </div>

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

    <br>

    <div class="filter-actions actions">
      <%= button Spree.t('actions.update'), 'refresh' %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), admin_taxonomies_path, :icon => 'remove' %>
    </div>
  </fieldset>
<% end %>

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
spree_backend-2.2.3 app/views/spree/admin/taxonomies/edit.erb
spree_backend-2.3.0 app/views/spree/admin/taxonomies/edit.erb
spree_backend-2.2.2 app/views/spree/admin/taxonomies/edit.erb