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

10 lines
213 B
Plaintext

<h1>Editing pages</h1>
<% form_for @component, :url => admin_component_path(@component) do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<p>
<%= f.submit 'Update' %>
</p>
<% end %>