added post flag test

This commit is contained in:
albert
2011-03-30 14:13:42 -04:00
parent 5856b105f5
commit a871b425f6
36 changed files with 214 additions and 128 deletions

View File

@@ -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) %>