app/views/admin/pages/index.html.erb in shakespeare-0.3.1 vs app/views/admin/pages/index.html.erb in shakespeare-0.3.2
- old
+ new
@@ -1,24 +1,24 @@
-<h2>Pages</h2>
-
-<ul>
- <li><%= link_to "Add a New Page", new_admin_page_path %></li>
-</ul>
-
-<%- if @pages.empty? -%>
- <p>No pages have been added yet.</p>
-<%- else -%>
- <table>
- <tr>
- <th>Title</th>
- <th> </th>
- </tr>
-
- <%- @pages.each do |page| -%>
- <tr>
- <td><%= page.title %> (<%= link_to "Edit", edit_admin_page_path(page) %>)</td>
- <td><%= link_to "Delete", admin_page_path(page), :method => :delete %></td>
- </tr>
- <%- end -%>
-
- </table>
+<h2>Pages</h2>
+
+<ul>
+ <li><%= link_to "Add a New Page", new_admin_page_path %></li>
+</ul>
+
+<%- if @pages.empty? -%>
+ <p>No pages have been added yet.</p>
+<%- else -%>
+ <table>
+ <tr>
+ <th>Title</th>
+ <th> </th>
+ </tr>
+
+ <%- @pages.each do |page| -%>
+ <tr>
+ <td><%= page.title %> (<%= link_to "Edit", edit_admin_page_path(page) %>)</td>
+ <td><%= link_to "Delete", admin_page_path(page), :method => :delete %></td>
+ </tr>
+ <%- end -%>
+
+ </table>
<%- end -%>
\ No newline at end of file