<%= error_messages_for :page %> <%= form_for :page, :action => url(:page, :id => @page.name.gsub(/ /, '_')) do -%>
Update a page

Name

Read Only <%= (@page.name) %>

Original Author

Read Only <%= (@page.author.name) %>

Department

<%= text_field :department, :size => 50 %>

Description

<%= text_area :description, :rows => 10, :cols => 70 %>

Tags

<%= text_field :tag_names, :size => 30 -%>

<%= submit 'Update' %>

<% end =%>