diff --git a/app/views/documents/index.html.erb b/app/views/documents/index.html.erb index 8a00f61b5..fc4090f55 100644 --- a/app/views/documents/index.html.erb +++ b/app/views/documents/index.html.erb @@ -25,10 +25,16 @@ <% content_for :sidebar do %>

<%= l(:label_sort_by, '') %>

- <%= link_to l(:field_category), {:sort_by => 'category'}, :class => (@sort_by == 'category' ? 'selected' :nil) %>
- <%= link_to l(:label_date), {:sort_by => 'date'}, :class => (@sort_by == 'date' ? 'selected' :nil) %>
- <%= link_to l(:field_title), {:sort_by => 'title'}, :class => (@sort_by == 'title' ? 'selected' :nil) %>
- <%= link_to l(:field_author), {:sort_by => 'author'}, :class => (@sort_by == 'author' ? 'selected' :nil) %> + <% end %> <% html_title(l(:label_document_plural)) -%>