Renamed helpers to correspond to renamed Controller classes.
[merb_radiant.git] / app / views / admin / page / .svn / text-base / index.html.erb.svn-base
blob89f8ea820a707bba67696875f4152fecdc6baaac
1 <% include_javascript 'sitemap' -%>
3 <h1>Pages</h1>
5 <table id="site-map" class="index" summary="Page hierarchy of the current site">
6   <thead>
7     <tr>
8       <th class="page">Page</th>
9       <th class="status">Status</th>
10       <th class="modify" colspan="2">Modify</th>
11     </tr>
12   </thead>
13   <tbody>
14 <% if @homepage -%>
15 <%= render_node @homepage -%>
16 <% else -%>
17   <tr>
18     <td colspan="4" class="note">No Pages</td>
19   </tr>
20 <% end -%>
21   </tbody>
22 </table>
24 <form action="<%= clear_cache_url %>" method="post">
25   <p>
26 <% unless @homepage -%>
27     <%= link_to image('new-homepage', :alt => 'New Homepage'), homepage_new_url %>
28 <% end -%>
29     <%= image_submit 'clear-page-cache' %>
30   </p>
31 </form>