<%#= render :partial => 'spree/admin/shared/contents_sub_menu' %> <% if @page.try(:errors).present? %> <%= render 'spree/shared/error_messages', :target => @page %> <% end %>

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

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

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

<% end %>