aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/App/Controller/Report.pm2
-rw-r--r--templates/web/bromley/report/display.html5
-rw-r--r--templates/web/fixmystreet/report/display.html5
3 files changed, 4 insertions, 8 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm
index cca625bd5..6f249b2fe 100644
--- a/perllib/FixMyStreet/App/Controller/Report.pm
+++ b/perllib/FixMyStreet/App/Controller/Report.pm
@@ -125,6 +125,8 @@ sub format_problem_for_display : Private {
$c->stash->{add_alert} = 1;
}
+ $c->stash->{extra_name_info} = $problem->council eq '2482' ? 1 : 0;
+
$c->forward('generate_map_tags');
return 1;
diff --git a/templates/web/bromley/report/display.html b/templates/web/bromley/report/display.html
index 071f9b3ca..89b74277f 100644
--- a/templates/web/bromley/report/display.html
+++ b/templates/web/bromley/report/display.html
@@ -186,10 +186,7 @@
[% INCLUDE 'footer.html' %]
[% BLOCK name %]
- [% IF problem.council == '2482' %]
- [% extra_name_info = 1 %]
- [% INCLUDE 'report/new/extra_name.html' %]
- [% END %]
+ [% INCLUDE 'report/new/extra_name.html' %]
[% IF c.user_exists %]
[% names = c.user.split_name %]
diff --git a/templates/web/fixmystreet/report/display.html b/templates/web/fixmystreet/report/display.html
index 84d46dc7c..c5cfc8915 100644
--- a/templates/web/fixmystreet/report/display.html
+++ b/templates/web/fixmystreet/report/display.html
@@ -179,10 +179,7 @@
[% INCLUDE 'footer.html' %]
[% BLOCK name %]
- [% IF problem.council == '2482' %]
- [% extra_name_info = 1 %]
- [% INCLUDE 'report/new/extra_name.html' %]
- [% END %]
+ [% INCLUDE 'report/new/extra_name.html' %]
<label for="form_name">[% loc('Name') %]</label>
[% IF field_errors.name %]
<p class='form-error'>[% field_errors.name %]</p>