Retrospring/app/views/answerbox/_comments.html.haml

7 lines
186 B
Plaintext

- if comments.all.count.zero?
= t(".none")
- else
%ul.comment__container
- comments.order(:created_at).each do |comment|
= render CommentComponent.new(comment:, answer: a)