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