<%=_('Documents')%>

<% documents = @documents.group_by {|d| d.category } %> <% documents.each do |category, docs| %>

<%= category.name %>

<% end %>

<%= link_to_if_authorized '» ' + _('New'), :controller => 'projects', :action => 'add_document', :id => @project %>