summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-17 12:49:28 +0100
committerhukl <contact@smyck.org>2009-02-17 12:49:28 +0100
commitb68af220a471912954f67fa004e2edfae0ddea94 (patch)
tree85fcd62e8b03e3010fb7a9a949bd91c667bf8e17 /app/views
parent21e86c947c704234fae2a918c73098e989116f18 (diff)
forgot the view
Diffstat (limited to 'app/views')
-rw-r--r--app/views/nodes/index.html.erb18
1 files changed, 15 insertions, 3 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb
index 6cbf76d..c6c2633 100644
--- a/app/views/nodes/index.html.erb
+++ b/app/views/nodes/index.html.erb
@@ -1,7 +1,19 @@
1<h1>Nodes</h1> 1<h1>Nodes</h1>
2 2
3<ul> 3<%= will_paginate @nodes %>
4
5<table id="node_table">
4 <% @nodes.each do |node| %> 6 <% @nodes.each do |node| %>
5 <li><%= link_to node.unique_name, node_path(node) %></li> 7 <tr>
8 <td><%= link_to node.unique_name, node_path(node) %></td>
9 <td><%= node.head.title if node.head %></td>
10 <td>
11 <%= link_to 'Show', node_path(node) %>
12 <%= link_to 'Edit', edit_node_path(node) %>
13 <%= link_to 'Destroy', node, :method => :delete %>
14 </td>
15 </tr>
6 <% end %> 16 <% end %>
7</ul> \ No newline at end of file 17</table>
18
19<%= will_paginate @nodes %>