Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8cbc2b7f80
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (39 sloc) 0.973 kB
<%= form_for(@page) do |f| %>
<% if @page.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@page.errors.count, "error") %> prohibited this page from being saved:</h2>
<ul>
<% @page.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
<div class="field">
<%= f.label :slug %><br />
<%= f.text_field :slug %>
</div>
<div class="field">
<%= f.label :title %><br />
<%= f.text_field :title %>
</div>
<div class="field">
<%= f.label :body %><br />
<%= f.text_field :body %>
</div>
<div class="field">
<%= f.label :body_html %><br />
<%= f.text_field :body_html %>
</div>
<div class="field">
<%= f.label :editors %><br />
<%= f.text_field :editors %>
</div>
<div class="field">
<%= f.label :locked %><br />
<%= f.check_box :locked %>
</div>
<div class="actions">
<%= f.submit %>
</div>
<% end %>
Jump to Line
Something went wrong with that request. Please try again.