mmsc_app/app/views/public/articles/_show.html.haml
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02:00

19 lines
593 B
Plaintext

=render :partial =>"public/blocks/block", :object => @article.blocks.find_by_lang_site_id(@lang.id)
-if @article.article_author
.center
.author
=@article.article_author.title if @article.article_author.title
=@article.article_author.name
-if @article.commentable and !@search
.article_comments
#comments
%h3 Commentaires
=#render :partial => "public/comments/comment", :collection => @article.comments.where(:enabled => true, :parent_id => nil).order("created_at DESC")
#comment_form
.form_place=render :partial => "public/comments/form"