Sha256: 8206d33c6016ddf315d47df6eab62b8c7f0a89e2b4826d4b1bb8d7fad6795c4e
Contents?: true
Size: 851 Bytes
Versions: 30
Compression:
Stored size: 851 Bytes
Contents
<% content_for :page_actions do %> <% if frontend_available? %> <%= button_link_to Spree.t(:preview_product), product_url(@product), { class: "btn-default", icon: 'eye-open', id: 'admin_preview_product', target: :_blank } %> <% end %> <% if can?(:create, Spree::Product) %> <%= button_link_to Spree.t(:new_product), new_object_url, { class: "btn-success", icon: 'add', id: 'admin_new_product' } %> <% end %> <% end %> <%= render partial: 'spree/admin/shared/product_tabs', locals: {current: :details} %> <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @product } %> <%= form_for [:admin, @product], method: :put, html: { multipart: true } do |f| %> <fieldset> <%= render partial: 'form', locals: { f: f } %> <%= render partial: 'spree/admin/shared/edit_resource_links' %> </fieldset> <% end %>
Version data entries
30 entries across 30 versions & 1 rubygems