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

12 lines
274 B
Plaintext

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