<%= form_for(@page) do |f| %> <% if @page.errors.any? %>

<%= pluralize(@page.errors.count, "error") %> prohibited this page from being saved:

<% end %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :content %>
<%= f.text_area :content %>
<%= f.submit %>
<% end %>