diff options
-rw-r--r-- | templates/web/fixmystreet/report/new/fill_in_details_form.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/web/fixmystreet/report/new/fill_in_details_form.html b/templates/web/fixmystreet/report/new/fill_in_details_form.html index 032fbaf3e..3e7ef0a76 100644 --- a/templates/web/fixmystreet/report/new/fill_in_details_form.html +++ b/templates/web/fixmystreet/report/new/fill_in_details_form.html @@ -129,7 +129,11 @@ <div class="checkbox-group"> <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" [% IF c.cobrand.moniker == 'fixmybarangay' && c.user.from_council %] - [% 'checked' IF report.anonymous==0 %] + [%# + FMB staff reports are anonymous by default; so may_show_name is checked only if explicitly set to 0. + If the user has not set it (that is, it is null) TemplateToolkit sees an empty string. + %] + [% 'checked' IF report.anonymous==0 %] [% ELSE %] [% 'checked' IF !report.anonymous %] [% END %] |