18 lines
389 B
Plaintext
18 lines
389 B
Plaintext
|
<h1>Listing layouts</h1>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
</tr>
|
||
|
|
||
|
<% @layouts.each do |layout| %>
|
||
|
<tr>
|
||
|
<td><%= layout.name %></td>
|
||
|
<td><%= link_to 'Edit', edit_admin_layout_path(layout) %></td>
|
||
|
<td><%= link_to 'Destroy', admin_layout_path(layout), :confirm => 'Are you sure?', :method => :delete %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</table>
|
||
|
|
||
|
<br />
|
||
|
|
||
|
<%= link_to 'New layouts', new_admin_layout_path %>
|