bigdir/app/views/documents/_document.html.erb

19 lines
712 B
Plaintext

<!-- <h4><%= link_to h(document.title), document_path(document) %></h4>
<p><em><%= format_time(document.updated_on) %></em></p>
<div class="wiki">
<%= textilizable(truncate_lines(document.description), :object => document) %>
</div> -->
<!--add by huang-->
<table width="660px" align="center">
<tr><td class="font_title_document"><%= link_to h(document.title), document_path(document) %></td></tr>
<tr><td colspan="2">
<div class="font_description">
<%= textilizable(truncate_lines(document.description), :object => document) %>
</div>
</td></tr>
<tr><td align="right"><p class="font_lighter"><%= format_time(document.updated_on) %></p></td></tr>
<tr><td class="line_under"></td></tr>
</table>