<% @page_title = 'Skapar ny sida' -%>
<h1 class="title">Skapa ny sida</h1>

<% form_for :page do |page| -%>

<label class="block" for="page_title">Titel</label>
<%= page.text_field :title, :maxlength => 35, :size => 35  %>
<%= error_message_on @page, :title %>

<label class="block" for="page_content">Innehåll</label>
<%= page.text_area :content, :cols => 84, :rows => 20  %>

<p style="margin-top: 1em;">
  <%= submit_tag 'Skapa sida' %>
	eller
  <%= link_to 'Avbryt', :action => 'list' %>
</p>

<hr />

<label class="block" for="page_comment">Kommentar</label>
<%= page.text_field :comment, :maxlength => 74, :size => 50 %>

<label class="block" for="page_description">Sidbeskrivning</label>
<%= page.text_area :description, :cols => 50, :rows => 3 %>

<label class="block" for="page_markup">Formatering</label>
<%= page.select :markup, markups_available %>

<% end -%>
<% @page_title = 'Skapar ny sida' -%>
<h1 class="title">Skapa ny sida</h1>

<% form_for :page do |page| -%>

<label class="block" for="page_title">Titel</label>
<%= page.text_field :title, :maxlength => 35, :size => 35  %>
<%= error_message_on @page, :title %>

<label class="block" for="page_content">Innehåll</label>
<%= page.text_area :content, :cols => 84, :rows => 20  %>

<p style="margin-top: 1em;">
  <%= submit_tag 'Skapa sida' %>
	eller
  <%= link_to 'Avbryt', :action => 'list' %>
</p>

<label class="block" for="page_comment">Kommentar</label>
<%= page.text_field :comment, :maxlength => 74, :size => 50 %>

<hr />

<label class="block" for="page_description">Sidbeskrivning</label>
<%= page.text_area :description, :cols => 50, :rows => 3 %>

<label class="block" for="page_markup">Formatering</label>
<%= page.select :markup, markups_available %>

<% end -%>
Move the comment box for the create page too
Move the comment box for the create page too
