% 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) %>
<%= button_link_to Spree.t(:new_product), new_object_url, { :icon => 'plus', :id => 'admin_new_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| %>
<% end %>