% content_for :thredded_page_title, 'Topic Categories' %>
<% content_for :thredded_page_id, 'thredded_topic_categories' %>
<% content_for :breadcrumbs do %>
- <%= link_to 'Forums', thredded.root_path %>
- <%= link_to messageboard.title, messageboard_topics_path(messageboard) %>
- Category
<% end %>
<% content_for :actions do %>
<%= render 'thredded/search/form' %>
<% if can? :create, Thredded::Topic %>
-
<%= link_to 'new topic', new_messageboard_topic_path(messageboard) %>
-
<%= link_to 'private topic', new_messageboard_private_topic_path(messageboard) %>
<% end %>
<% end %>
<%= render 'thredded/shared/currently_online' %>
<% if @sticky.any? %>
<%= render partial: 'thredded/topics/topic_condensed', collection: @sticky, as: :t %>
<% end %>
<%= render partial: 'thredded/topics/topic_condensed', collection: @topics, as: :t %>