<%=link_to @memo.author.show_name, user_path(@memo.author) %>
<%= link_to_attachments @memo, :author => false %>
<%= reply_count += 1 %>楼 :
<%= link_to image_tag(url_to_avatar(reply.author), :class => "avatar"), user_path(reply.author) %> |
<%=h reply.content.html_safe %>
<% if reply.attachments.any?%> <% options = {:author => true} %> <%= render :partial => 'attachments/links', :locals => {:attachments => reply.attachments, :options => options} %> <% end %> |
<%= authoring reply.created_at, reply.author.show_name %> |