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

18 lines
418 B
Plaintext
Raw Normal View History

2009-05-07 17:54:33 +00:00
<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 />
2009-05-15 06:37:03 +00:00
<%= link_to 'New layouts', new_admin_layout_path, :class => 'button positive' %>