Editing pages

<% form_for @page, :url => admin_page_path(@page) do |f| %> <%= f.error_messages %>

<%= f.label :name, "Name" %> <%= f.text_field :name %>

<%= f.label :content, "Content" %> <%= f.text_area :content, :size => '100x30' %>

<%= f.submit 'Update' %>

<% end %> <%= link_to 'Back', admin_pages_path %>