Allows flagging comments as inappropriate

This commit is contained in:
kikito
2015-08-20 18:47:16 +02:00
parent e5f893c8d1
commit e7effbf77c
7 changed files with 68 additions and 2 deletions

View File

@@ -37,6 +37,11 @@
</span>
<% end %>
&nbsp;&bullet;&nbsp;<%= time_ago_in_words(comment.created_at) %>
<span class="right js-flag-as-inappropiate-actions">
<%= render 'comments/flag_as_inappropiate_actions', comment: comment %>
</span>
</div>
<% if comment.user.official? %>