added post flag test
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<% if post.is_flagged? %>
|
||||
<% if (post.is_flagged? || post.is_deleted?) && post.flags.any? %>
|
||||
<div class="ui-corner-all ui-state-error notice">
|
||||
<span class="ui-icon ui-icon-alert"></span>
|
||||
This post has been flagged for deletion: <%= post_flag_reasons(post) %>
|
||||
|
||||
Reference in New Issue
Block a user