=link_to "ajouter une catégorie", new_forum_forum_category_path(:forum_id => @forum.id), :class => "btn", :style => "margin:1em 0em;float:right" if moderator?

%h1=@forum.title
.description
	=markdown @forum.description


%table
	%tr
		%th Titre
		%th Topics
		-if moderator?
			%th Actions

	=render @forum.forum_categories
