<% content_for :page_actions do %>
  • <%= button_link_to Spree.t(:back_to_products_list), session[:return_to] || admin_products_url, :icon => 'arrow-left' %>
  • <% if can?(:create, Spree::Product) %> <% end %> <% end %> <%= render :partial => 'spree/admin/shared/product_tabs', :locals => { :current => 'Product Details' } %> <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @product } %> <%= form_for [:admin, @product], :method => :put, :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 %>