评论上传附件换行

This commit is contained in:
sw 2015-04-28 15:02:10 +08:00
parent e6a724d439
commit 90c143f047
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div class="attachments" style="font-weight:normal;">
<div style="font-weight:normal;">
<% for attachment in attachments %>
<div title="<%= attachment.filename%>" id = "attachment_" style="max-width: 300px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;float: left;">
<%= link_to_short_attachment attachment, :class => 'link_file', :download => true, :length => 100 -%>
@ -13,5 +13,6 @@
:target => "_blank"%>
</div>
<% end %>
<br>
<% end %>
</div>