diff options
Diffstat (limited to 'app/views/documents')
-rw-r--r-- | app/views/documents/show.rhtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index 779315b22..8f53f1abe 100644 --- a/app/views/documents/show.rhtml +++ b/app/views/documents/show.rhtml @@ -3,9 +3,9 @@ <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy', :id => @document}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> </div> -<h2><%= @document.title %></h2> +<h2><%=h @document.title %></h2> -<p><em><%= @document.category.name %><br /> +<p><em><%=h @document.category.name %><br /> <%= format_date @document.created_on %></em></p> <%= textilizable @document.description, :attachments => @document.attachments %> <br /> @@ -34,3 +34,5 @@ <%= submit_tag l(:button_add) %> <% end %> <% end %> + +<% set_html_title h(@document.title) -%> |