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

10 lines
213 B
Plaintext
Raw Normal View History

<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 %>