orbit-basic/app/views/admin/pages/edit.html.erb

13 lines
267 B
Plaintext

<h1>Editing pages</h1>
<% form_for @page, :url => admin_page_path(@page) do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<p>
<%= f.submit 'Update' %>
</p>
<% end %>
<%= link_to 'Back', admin_pages_path %>