foodsoft/app/views/shared/_comments.haml

9 lines
306 B
Plaintext

- unless comments.empty?
- comments.each do |comment|
.comment[comment]
.timestamp
%b=h "#{comment.user.try(:ordergroup_name)}"
= "(#{comment.user.try(:nick)} am #{format_time(comment.created_at)}):"
= simple_format(comment.text)
- else
es gibt derzeit keine Kommentare.