This commit is contained in:
parent
a1a0781cc9
commit
667bb155c9
|
@ -2,7 +2,7 @@
|
|||
There are no comments yet.
|
||||
- else
|
||||
%ul.comments
|
||||
- report.moderation_comments.all.each do |comment|
|
||||
- report.moderation_comments.order(:created_at).each do |comment|
|
||||
%li{data: { comment_id: comment.id }}
|
||||
.media.comments--media
|
||||
.pull-left
|
||||
|
@ -22,4 +22,4 @@
|
|||
%p.comments--content= comment.content
|
||||
.form-group.has-feedback{name: 'mod-comment-new-group', data: { id: report.id }}
|
||||
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'mod-comment-new', data: { id: report.id }}
|
||||
%span.text-muted.form-control-feedback.comments--count{id: "mod-comment-charcount-#{report.id}"} 160
|
||||
%span.text-muted.form-control-feedback.comments--count{id: "mod-comment-charcount-#{report.id}"} 160
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
There are no comments yet.
|
||||
- else
|
||||
%ul.comments
|
||||
- a.comments.all.each do |comment|
|
||||
- a.comments.order(:created_at).each do |comment|
|
||||
%li{data: { comment_id: comment.id }}
|
||||
.media.comments--media
|
||||
.pull-left
|
||||
|
@ -30,4 +30,4 @@
|
|||
- if user_signed_in?
|
||||
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}
|
||||
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'ab-comment-new', data: {a_id: a.id }}
|
||||
%span.text-muted.form-control-feedback.comments--count{id: "ab-comment-charcount-#{a.id}"} 160
|
||||
%span.text-muted.form-control-feedback.comments--count{id: "ab-comment-charcount-#{a.id}"} 160
|
||||
|
|
Loading…
Reference in New Issue