ual_app/app/views/student/forums/show.html.haml
2014-08-24 00:18:02 +02:00

16 lines
326 B
Plaintext

=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