Nodes

<%= will_paginate @nodes %>

<% @nodes.each do |node| %> "> <% end %>
Title Path Actions Locked by
<%= title_for_node node %> <%= node.unique_name %> <%= link_to 'Show', node_path(node) %> <%= link_to 'Edit', edit_node_path(node) %> <%= link_to 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %> <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %> <%= "#{node.draft.user.login}" if node.draft && node.draft.user %>

<%= will_paginate @nodes %> <% content_for :menu do %> <%= link_to 'Create', new_node_path %> <% end %>