diff options
Diffstat (limited to 'app/views/nodes/index.html.erb')
| -rw-r--r-- | app/views/nodes/index.html.erb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb new file mode 100644 index 0000000..2a14880 --- /dev/null +++ b/app/views/nodes/index.html.erb @@ -0,0 +1,15 @@ +<h1> suh </h1> + +<% @rootnodes.each do |rootnode| %> + <tr> + <td>PARENT: <%= rootnode.title %></td> + </tr><br> + <em> + <% rootnode.children.each do |node| %> + <tr> + <td>CHILD: <%= node[:title] %></td> + </tr><br> + <% end %> + </em> +<% end %> + |
