From 0b8cfc272d883e7865461d8ce05cd5c6aabec90e Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 17 Feb 2009 21:56:20 +0100 Subject: a little style here and there --- app/views/nodes/index.html.erb | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) (limited to 'app') diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index c6c2633..5f913e9 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb @@ -1,19 +1,24 @@

Nodes

<%= will_paginate @nodes %> - - - <% @nodes.each do |node| %> - - - - - - <% end %> -
<%= link_to node.unique_name, node_path(node) %><%= node.head.title if node.head %> - <%= link_to 'Show', node_path(node) %> - <%= link_to 'Edit', edit_node_path(node) %> - <%= link_to 'Destroy', node, :method => :delete %> -
- -<%= will_paginate @nodes %> +

+ + + + + + + <% @nodes.each do |node| %> + "> + + + + + <% end %> +
TitlePathActions
<%= node.head.title if node.head %><%= node.unique_name %> + <%= link_to 'Show', node_path(node) %> + <%= link_to 'Edit', edit_node_path(node) %> + <%= link_to 'Destroy', node, :method => :delete %> +
+

+<%= will_paginate @nodes %> \ No newline at end of file -- cgit v1.3