diff options
author | Dave Whiteland <dave@mysociety.org> | 2012-11-13 19:41:41 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2012-11-13 19:41:41 +0000 |
commit | a82dc396d424a33f112d54874c9c643a0d2fddcf (patch) | |
tree | d988c4d6431782738106341f1ab75d8fab299ec1 | |
parent | 30b99fef545c1453c62279cef475d13b9f5b908a (diff) | |
parent | ac36a1972d6968b7aceb72ae3316e5cf36e730c1 (diff) |
Merge branch 'fmb-anon-by-default'
-rw-r--r-- | templates/web/fixmystreet/report/new/fill_in_details_form.html | 12 |
1 files changed, 9 insertions, 3 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 9a3418351..032fbaf3e 100644 --- a/templates/web/fixmystreet/report/new/fill_in_details_form.html +++ b/templates/web/fixmystreet/report/new/fill_in_details_form.html @@ -127,11 +127,17 @@ [%# if there is nothing in the name field then set check box as default on form %] <div class="checkbox-group"> - <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1"[% ' checked' IF !report.anonymous %]> - <label class="inline" for="form_may_show_name">[% loc('Show my name publicly') %]</label> + <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 %] + [% ELSE %] + [% 'checked' IF !report.anonymous %] + [% END %] + > + <label class="inline" for="form_may_show_name">[% loc('Show my name publicly') %] </label> </div> - [% IF c.cobrand.moniker != 'fixmybarangay' || ( c.user && c.user.from_council ) %] + [% IF c.cobrand.moniker != 'fixmybarangay' || c.user.from_council %] <div class="general-sidebar-notes"> <p>[% loc('We never show your email address or phone number.') %]</p> </div> |