summaryrefslogtreecommitdiff
path: root/app/views/pages/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/pages/index.html.erb')
-rw-r--r--app/views/pages/index.html.erb24
1 files changed, 0 insertions, 24 deletions
diff --git a/app/views/pages/index.html.erb b/app/views/pages/index.html.erb
deleted file mode 100644
index da67871c..00000000
--- a/app/views/pages/index.html.erb
+++ /dev/null
@@ -1,24 +0,0 @@
1<h1>Pages</h1>
2
3<table>
4 <tr>
5 <th>Node</th>
6 <th>Title</th>
7 </tr>
8
9<% for page in @pages %>
10 <tr>
11 <td><%=h page.node_id %></td>
12 <td><%=h page.title %></td>
13 <td><%= link_to 'Show', content_path(:page_path => page.node.unique_path) %></td>
14 <td><%= link_to 'Edit', edit_page_path(page) %></td>
15 <td><%= button_to page, method: :delete, form: { data: { confirm: 'Are you sure?' }, class: 'button_to destructive' } do %>
16 <%= icon("trash", library: "tabler", "aria-hidden": true) %> Destroy
17 <% end %></td>
18 </tr>
19<% end %>
20</table>
21
22<br />
23
24<%= link_to 'New page', new_page_path %>