Sha256: 63f0998613abe09c3521ad8ffc4aeb035712be5efed0cd016718e53f8f6a730e
Contents?: true
Size: 817 Bytes
Versions: 10
Compression:
Stored size: 817 Bytes
Contents
<%= render partial: 'spree/admin/taxons/tabs', locals: {current: :details} %> <% content_for :page_actions do %> <%= external_page_preview_link(@taxon) %> <% end %> <%# Because otherwise the form would attempt to use to_param of @taxon %> <% form_url = admin_taxonomy_taxon_path(@taxonomy.id, @taxon.id) %> <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @taxon } %> <%= form_for [:admin, @taxonomy, @taxon], method: :put, url: form_url, html: { multipart: true } do |f| %> <%= render 'form', f: f %> <div class="form-actions" data-hook="buttons"> <%= button Spree.t('actions.update'), 'save.svg' %> <span class="or"><%= Spree.t(:or) %></span> <%= button_link_to Spree.t('actions.cancel'), edit_admin_taxonomy_url(@taxonomy), icon: "cancel.svg" %> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems