<%= render :partial => 'spree/admin/shared/page_tabs', :locals => {:current => 'Contents'} %> <% if @content.try(:errors).present? %> <%= render 'spree/shared/error_messages', :target => @content %> <% end %>

<%= t('.new_content') %>

<%= form_for([:admin, @page, @content], :html => { :multipart => true }) do |f| %> <%= render "form", :form => f %>

<%= button t("create") %> <%= t('or') %> <%= link_to t('cancel'), collection_url %>

<% end %>