This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2007-10-04 00:54:54 -04:00
|
|
|
<h1>New page</h1>
|
|
|
|
|
|
|
|
<%= error_messages_for :page %>
|
|
|
|
|
|
|
|
<% form_for(:page, :url => pages_path) do |f| %>
|
2007-11-15 19:57:44 -05:00
|
|
|
<p>
|
|
|
|
<label for="page_title">Title</label> <%= text_field 'page', 'title' %>
|
|
|
|
</p>
|
|
|
|
<%= render :partial => 'page_form' %>
|
|
|
|
<p>
|
|
|
|
<%= submit_tag "Create" %>
|
|
|
|
</p>
|
2007-10-04 00:54:54 -04:00
|
|
|
<% end %>
|
|
|
|
|
2007-11-15 19:57:44 -05:00
|
|
|
<% content_for :sidebar do -%>
|
|
|
|
<%= link_to 'Browse Pages', pages_path %><br />
|
|
|
|
<% end -%>
|