%= render :partial => 'spree/admin/shared/page_tabs', :locals => {:current => 'Page Details'} %> <% if @page.try(:errors).present? %> <%= render 'spree/shared/error_messages', :target => @page %> <% end %> <%= form_for([:admin, @page]) do |f| %> <%= render "form", :form => f %>
<% end %>