<%= link_to @forum.group, forumgroup_path(@forum.group) %> → <%= link_to @forum %>

<%= @forum %>

<% @threads.each do |thread| %>
<%= link_to(image_tag(thread.author.avatar_url(64), class: "avatar"), thread.author, title: thread.author.ign) %>
<%= render partial: "users/username", locals: { user: thread.author } %> <%= link_to pluralize(thread.replies.count, "Reply"), thread %>
<%= link_to thread.title, forumthread_path(thread), class: "item#{" locked" if thread.locked}#{" sticky" if thread.sticky}" %>
<% end %>

<%= link_to "New thread", new_forumthread_path(forum_id: @forum), class: "btn blue" %>