diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/nodes/index.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 1429d1a..833ffed 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb | |||
| @@ -23,7 +23,8 @@ | |||
| 23 | <td> | 23 | <td> |
| 24 | <%= link_to 'Show', node_path(node) %> | 24 | <%= link_to 'Show', node_path(node) %> |
| 25 | <%= link_to 'Edit', edit_node_path(node) %> | 25 | <%= link_to 'Edit', edit_node_path(node) %> |
| 26 | <%= link_to 'Destroy', node, :method => :delete %> | 26 | <%= link_to 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %> |
| 27 | <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %> | ||
| 27 | </td> | 28 | </td> |
| 28 | <td> | 29 | <td> |
| 29 | <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> | 30 | <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> |
