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

12 lines
192 B
Plaintext

<h1>New pages</h1>
<% form_for :page, :url => admin_pages_path do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<p>
<%= f.submit 'Create' %>
</p>
<% end %>