summaryrefslogtreecommitdiffstats
path: root/app/views/projects/list_documents.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/list_documents.rhtml')
-rw-r--r--app/views/projects/list_documents.rhtml24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/views/projects/list_documents.rhtml b/app/views/projects/list_documents.rhtml
index ab48badae..b692808b7 100644
--- a/app/views/projects/list_documents.rhtml
+++ b/app/views/projects/list_documents.rhtml
@@ -1,13 +1,13 @@
-<div class="contextual">
-<%= link_to_if_authorized l(:label_document_new), {:controller => 'projects', :action => 'add_document', :id => @project}, :class => 'icon icon-add' %>
-</div>
-
-<h2><%=l(:label_document_plural)%></h2>
-
-<% if @documents.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
-
-<% documents = @documents.group_by {|d| d.category } %>
-<% documents.each do |category, docs| %>
- <h3><%= category.name %></h3>
- <%= render :partial => 'documents/document', :collection => docs %>
+<div class="contextual">
+<%= link_to_if_authorized l(:label_document_new), {:controller => 'projects', :action => 'add_document', :id => @project}, :class => 'icon icon-add' %>
+</div>
+
+<h2><%=l(:label_document_plural)%></h2>
+
+<% if @documents.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
+
+<% documents = @documents.group_by {|d| d.category } %>
+<% documents.each do |category, docs| %>
+ <h3><%= category.name %></h3>
+ <%= render :partial => 'documents/document', :collection => docs %>
<% end %> \ No newline at end of file