评论上传附件换行

memcached_alan
sw 10 years ago
parent e6a724d439
commit 90c143f047

@ -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>

Loading…
Cancel
Save