<% content_for :page_actions do %> <% if can?(:create, Spree::Product) %> <% end %> <% if defined?(Spree::Frontend::Engine) %> <% end %> <% end %> <%= render partial: 'spree/admin/shared/product_tabs', locals: { current: 'Product Details' } %> <%= render partial: 'spree/shared/error_messages', locals: { target: @product } %> <% admin_breadcrumb(t('spree.product_details')) %> <%= form_for [:admin, @product], html: { multipart: true } do |f| %>
<%= render partial: 'form', locals: { f: f } %> <% if can?(:update, @product) %> <%= render partial: 'spree/admin/shared/edit_resource_links' %> <% end %>
<% end %>