This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/pages/new.rhtml

14 lines
270 B
Plaintext
Raw Normal View History

<h1>New page</h1>
<%= error_messages_for :page %>
<% form_for(:page, :url => pages_path) do |f| %>
<p>
<label for="page_title">Title</label> <%= text_field 'page', 'title' %>
</p>
<%= render :partial => 'page_form' %>
<p>
<%= submit_tag "Create" %>
</p>
<% end %>