summaryrefslogtreecommitdiff
path: root/app/views/nodes
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-21 14:55:39 +0100
committerhukl <contact@smyck.org>2009-02-21 14:55:39 +0100
commit55800bf0565f392a48b6d3a673da60525aad423b (patch)
tree0f7ae35bf76e34a35b74ab4ee1dfc3242d127e27 /app/views/nodes
parent4c3d622b3795836e1e7be4df303ee256a88b2812 (diff)
wiring together some views to make basic navigation
in the admin interface possible
Diffstat (limited to 'app/views/nodes')
-rw-r--r--app/views/nodes/show.html.erb13
1 files changed, 4 insertions, 9 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb
index bbf11c0..dd37c28 100644
--- a/app/views/nodes/show.html.erb
+++ b/app/views/nodes/show.html.erb
@@ -1,10 +1,5 @@
1<h1>Nodes</h1> 1<h1>Node</h1>
2 2
3<table> 3<%= @node.unique_name %>
4 <% @nodes.each do |node| %> 4
5 <tr> 5<%= link_to 'Edit', edit_node_path %> \ No newline at end of file
6 <td><%= link_to node.unique_name, node_path(node) %></td>
7 <td><%= link_to 'Edit', edit_node_path(node) %></td>
8 </tr>
9 <% end %>
10</table> \ No newline at end of file