diff options
Diffstat (limited to 'app/views/nodes/show.html.erb')
| -rw-r--r-- | app/views/nodes/show.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb new file mode 100644 index 00000000..bbf11c03 --- /dev/null +++ b/app/views/nodes/show.html.erb | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | <h1>Nodes</h1> | ||
| 2 | |||
| 3 | <table> | ||
| 4 | <% @nodes.each do |node| %> | ||
| 5 | <tr> | ||
| 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 | ||
