附件与内容距离太大

guange_homework
lizanle 10 years ago
parent f2dd69f9b6
commit 0b5b643a8e

@ -60,7 +60,7 @@
<%= @memo.content.html_safe%>
</div>
<div class="cl"></div>
<div class="mt10 fl">
<div class=" fl">
<% if @memo.attachments.any?%>
<% options = {:author => true, :deletable => @memo.deleted_attach_able_by?(User.current) } %>
<%= render :partial => 'attachments_links', :locals => {:attachments => @memo.attachments, :options => options, :is_float => true} %>

Loading…
Cancel
Save