aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-08-25 15:51:28 +0100
committerDave Arter <davea@mysociety.org>2016-08-25 15:51:28 +0100
commit0e2e741fc8380fbd1d0b7b5ed16050d6f4dc27e2 (patch)
tree3f9e88a5be2a12870e4e4cb3291923edfc6e5877
parent2c15366893abcabc09b5b743199525412e5a2940 (diff)
Fix inverted logic on report anonymity when moderating
-rw-r--r--templates/web/base/report/_main.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/report/_main.html b/templates/web/base/report/_main.html
index ffda48074..585200ac3 100644
--- a/templates/web/base/report/_main.html
+++ b/templates/web/base/report/_main.html
@@ -47,8 +47,8 @@
<div class="moderate-edit">
<label>
- <input type="checkbox" name="problem_show_name" [% problem.anonymous ? 'checked' : '' %]>
- Hide reporter&rsquo;s name
+ <input type="checkbox" name="problem_show_name" [% 'checked' UNLESS problem.anonymous %]>
+ Show reporter&rsquo;s name
</label>
</div>
<p class="report_meta_info">