<p><em><%=h @document.category.name %><br />
<%= format_date @document.created_on %></em></p>
+<div class="wiki">
<%= textilizable @document.description, :attachments => @document.attachments %>
+</div>
<br />
<h3><%= l(:label_attachment_plural) %></h3>
<% end %>
<p><strong><%=l(:field_description)%></strong></p>
+<div class="wiki">
<%= textilizable @issue, :description, :attachments => @issue.attachments %>
+</div>
<% if @issue.attachments.any? %>
<%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %>