共有 <%=link_to @forum.memos.count %> 个贴子
<% if memos.any? %> <% memos.each do |topic| %>
<%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) if topic.author%>
<%= link_to h(topic.subject), forum_memo_path(topic.forum, topic) %>
<%= link_to (topic.replies_count), forum_memo_path(topic.forum, topic) %>
回答
<%= authoring topic.created_at, topic.author %> 最后回复:<%=link_to_user topic.last_reply.try(:author) %>
<% end %> <% else %>

<%= l(:label_no_data) %>

<% end %>