Sha256: b85edcedf0bfc6cc2591d0a529571a60508ff3bd8bb34f45858ad90d9aa6644b
Contents?: true
Size: 1.23 KB
Versions: 10
Compression:
Stored size: 1.23 KB
Contents
<%= render partial: 'js_head' %> <% content_for :page_title do %> <%= Spree.t(:taxonomy_edit) %> <% 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_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
10 entries across 10 versions & 1 rubygems