summaryrefslogtreecommitdiffstats
path: root/app/views/documents/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/documents/show.html.erb')
-rw-r--r--app/views/documents/show.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb
index a8aea63da..8b1f0067b 100644
--- a/app/views/documents/show.html.erb
+++ b/app/views/documents/show.html.erb
@@ -11,6 +11,15 @@
<p><em><%=h @document.category.name %><br />
<%= format_date @document.created_on %></em></p>
+
+<% if @document.custom_field_values.any? %>
+<ul>
+ <% render_custom_field_values(@document) do |custom_field, formatted| %>
+ <li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
+ <% end %>
+</ul>
+<% end %>
+
<div class="wiki">
<%= textilizable @document, :description, :attachments => @document.attachments %>
</div>