revert memo lz download <a>(has problems with delete.)
This commit is contained in:
parent
5914fb218c
commit
7085e502d6
|
@ -101,9 +101,8 @@
|
|||
<%= raw @memo.content %>
|
||||
<p>
|
||||
<% if @memo.attachments.any?%>
|
||||
<%# options = {:author => true} %>
|
||||
<%= link_to_memo_attachments @memo, :author => true %>
|
||||
<%#= render :partial => 'attachments/links', :locals => {:attachments => @memo.attachments, :options => options} %>
|
||||
<% options = {:author => true} %>
|
||||
<%= render :partial => 'attachments/links', :locals => {:attachments => @memo.attachments, :options => options} %>
|
||||
<% end %>
|
||||
</p>
|
||||
</div>
|
||||
|
@ -150,7 +149,7 @@
|
|||
<!-- <div class="wiki">< %=h reply.content.html_safe %></div> -->
|
||||
<p>
|
||||
<% if reply.attachments.any?%>
|
||||
<% options = {:author => true} %>
|
||||
<% options = {:author => true, :deletable => true} %>
|
||||
<%= render :partial => 'attachments/links', :locals => {:attachments => reply.attachments, :options => options} %>
|
||||
<% end %>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue