<%= flash_messages %>

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

<%= form_for @item, :url => admin_page_path(@item) do |f| %>
  <%= render :partial => "form", :locals => { :f => f } %>
  <p>
    <%= f.submit t('update') %> <%= link_back %>
  </p>
<% end %>