Renamed helpers to correspond to renamed Controller classes.
[merb_radiant.git] / app / views / admin / layout / .svn / text-base / index.html.erb.svn-base
blob50457608eb1889026717e655152c209868e9b688
1 <h1>Layouts</h1>
3 <p>Use layouts to apply a visual look to a  Web page. Layouts can contain special tags to include
4   page content and other elements such as the header or footer. Click on a layout name below to
5   edit it or click <code>Remove</code> to delete it.</p>
7 <table id="layouts" class="index" cellpadding="0" cellspacing="0" border="0">
8   <thead>
9     <tr>
10       <th class="layout">Layout</th>
11       <th class="modify">Modify</th>
12     </tr>
13   </thead>
14   <tbody>
15 <% unless @layouts.empty? -%>
16 <% for layout in @layouts -%>
17     <tr class="node level-1">
18       <td class="layout">
19         <%= image 'layout', :alt => 'layout-icon', :title => '' %>
20         <%= link_to layout.name, layout_edit_url(:id => layout) %>
21       </td>
22       <td class="remove"><%= link_to image('remove', :alt => 'Remove Layout'), layout_remove_url(:id => layout) %></td>
23     </tr>
24 <% end -%>
25 <% else -%>
26     <tr>
27       <td colspan="2" class="note">No Layouts</td>
28     </tr>
29 <% end -%>
30   </tbody>
31 </table>
32 <script type="text/javascript">
33 // <![CDATA[
34   new RuledTable('layouts');
35 // ]]>
36 </script>
38 <p><%= link_to image('new-layout', :alt => 'New Layout'), layout_new_url %></p>