add text for no comments

This commit is contained in:
Andreas N 2014-12-27 16:38:07 +01:00
parent cd289a32c4
commit 2e048d9472
1 changed files with 21 additions and 19 deletions

View File

@ -1,4 +1,6 @@
There are no comments yet
- if report.moderation_comments.all.count == 0
There are no comments yet.
- else
%ul.comments
- report.moderation_comments.all.each do |comment|
%li{data: { comment_id: comment.id }}