summaryrefslogtreecommitdiffstats
path: root/app/views/documents/_document.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/documents/_document.html.erb')
-rw-r--r--app/views/documents/_document.html.erb12
1 files changed, 7 insertions, 5 deletions
diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb
index 9a96d5d32..9e0c57d78 100644
--- a/app/views/documents/_document.html.erb
+++ b/app/views/documents/_document.html.erb
@@ -1,6 +1,8 @@
-<h4><%= link_to document.title, document_path(document) %></h4>
-<p><em><%= format_time(document.updated_on) %></em></p>
+<div class="document-item document-<%= document.id %>">
+ <h4 class="title"><%= link_to document.title, document_path(document) %></h4>
+ <div class="updated_on"><em><%= format_time(document.updated_on) %></em></div>
-<div class="wiki">
- <%= textilizable(truncate_lines(document.description), :object => document) %>
-</div>
+ <div class="wiki description">
+ <%= textilizable(truncate_lines(document.description), :object => document) %>
+ </div>
+</div> \ No newline at end of file