%= form_for(@page) do |f| %>
<% if @page.errors.any? %>
<%= pluralize(@page.errors.count, "error") %> prohibited this page from being saved:
<% @page.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :content %>
<%= f.text_area :content %>
<%= f.submit %>
<% end %>