foodsoft/app/views/shared/_comments.haml

6 lines
209 B
Text
Raw Normal View History

- comments.each do |comment|
.comment[comment]
%strong= comment.user.try(:ordergroup_name)
2013-09-20 22:40:13 +02:00
%small (#{show_user comment.user} am #{format_time(comment.created_at)}):
= simple_format(comment.text)