This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-04-13 10:19:51 +00:00
|
|
|
<% content_for :secondary do %>
|
|
|
|
<ul class="list">
|
|
|
|
<li><%= link_to t(:new_layout, :scope => :admin), new_admin_layout_path, :class => 'button positive' %></li>
|
|
|
|
</ul>
|
|
|
|
<% end -%>
|
|
|
|
|
2011-02-08 02:07:40 +00:00
|
|
|
<%= flash_messages %>
|
|
|
|
|
2011-04-13 10:19:51 +00:00
|
|
|
<h1><%= t('admin.list_layouts') %></h1>
|
2009-05-07 17:54:33 +00:00
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
2011-04-13 10:19:51 +00:00
|
|
|
<th><%= t('admin.name') %></th>
|
|
|
|
<th><%= t('admin.description') %></th>
|
|
|
|
<th><%= t('admin.action') %></th>
|
2009-05-07 17:54:33 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% @layouts.each do |layout| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= layout.name %></td>
|
2010-01-28 09:42:55 +00:00
|
|
|
<td><%= layout.description %></td>
|
2011-04-13 10:19:51 +00:00
|
|
|
<td>
|
|
|
|
<%= link_to t(:edit), edit_admin_layout_path(layout) %> |
|
|
|
|
<%= link_to t(:delete), admin_layout_path(layout), :confirm => t('sure?'), :method => :delete %>
|
|
|
|
</td>
|
2009-05-07 17:54:33 +00:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|