<% content_for :subnavigation do %> <%= link_to 'Create', new_node_path %> <% end %>

Nodes

<%= will_paginate @nodes %>

<% @nodes.each do |node| %> "> <% end %>
ID Title Actions Locked by Rev.
<%= node.id %>

<%= link_to title_for_node(node), edit_node_path(node) %>

<%= link_to_path(node.unique_name, node.unique_path) %>

<%= link_to 'Preview', node_path(node) %> <%= link_to 'Revisions', :controller => :revisions, :action => :show, :id => node.id %> <%# 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.lock_owner.login if node.lock_owner %> <%= node.draft ? node.draft.revision : node.head.revision %>

<%= will_paginate @nodes %>