Files
growstuff/app/views/posts/_comments.html.haml
2019-05-19 11:50:28 +12:00

13 lines
257 B
Plaintext

%a{ name: "comments" }
- if post.comments
%hr/
%h2
= comment_icon
= localize_plural(post.comments, Comment)
- post.comments.post_order.each do |comment|
= render "comments/single", comment: comment
- else
%h2 There are no comments yet