<h1><%= t('admin.new_page') %></h1>

<%= flash_messages %>

<%= form_for @item, :url => admin_pages_path, :html => { :class => 'form' } do |f| %>

  <%= render :partial => "form", :locals => { :f => f } %>
  
  <p>
    <%= f.submit t('create') %> <%= link_back %>
  </p>
  
<% end %>