2009-05-07 17:54:33 +00:00
|
|
|
<h1>Listing layouts</h1>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% @layouts.each do |layout| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= layout.name %></td>
|
2010-01-14 10:30:53 +00:00
|
|
|
<td><%= link_to t(:edit), edit_admin_layout_path(layout) %></td>
|
|
|
|
<td><%= link_to t(:delete), admin_layout_path(layout), :confirm => 'Are you sure?', :method => :delete %></td>
|
2009-05-07 17:54:33 +00:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
2010-01-14 10:30:53 +00:00
|
|
|
<%= link_to t(:new_layout, :scope => :admin), new_admin_layout_path, :class => 'button positive' %>
|