From 7854bffd9b9ec69f47b28a0ebe8aab8c6fc2eb7d Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 2 Mar 2009 08:55:04 +0100 Subject: template changes. now lets link that stuff together --- app/views/nodes/index.html.erb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views/nodes') diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 3b0dde8..5d59f5d 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb @@ -10,6 +10,7 @@ Title Path Actions + Locked by <% @nodes.each do |node| %> "> @@ -24,6 +25,9 @@ <%= link_to 'Edit', edit_node_path(node) %> <%= link_to 'Destroy', node, :method => :delete %> + + <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> + <% end %> -- cgit v1.3