Sha256: 2248f489bd8e38eea7ea90901e8e0bc2b76548ace91fa00de6ecccebc2ba2bb1

Contents?: true

Size: 1.44 KB

Versions: 5

Compression:

Stored size: 1.44 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 => '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) %>";
      </script>
      <div id="taxonomy_tree" class="tree"></div>
    </div>
    <div id="progress" style="display:none;">
      <%= image_tag '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'), 'icon-refresh' %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), admin_taxonomies_path, :icon => 'icon-remove' %>
    </div>
  </fieldset>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_backend-2.0.3 app/views/spree/admin/taxonomies/edit.erb
spree_backend-2.0.2 app/views/spree/admin/taxonomies/edit.erb
spree_backend-2.0.1 app/views/spree/admin/taxonomies/edit.erb
spree_backend-2.0.0 app/views/spree/admin/taxonomies/edit.erb
spree_backend-2.0.0.rc1 app/views/spree/admin/taxonomies/edit.erb