diff options
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports/New.pm | 4 | ||||
-rw-r--r-- | templates/web/default/reports/new/fill_in_details.html | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports/New.pm b/perllib/FixMyStreet/App/Controller/Reports/New.pm index 4c16916ea..cd2c78bca 100644 --- a/perllib/FixMyStreet/App/Controller/Reports/New.pm +++ b/perllib/FixMyStreet/App/Controller/Reports/New.pm @@ -387,6 +387,10 @@ sub prepare_report : Private { } ); + # set some simple values + $report->used_map( $c->req->param('skipped') ? 0 : 1 ); + + $c->stash->{report} = $report; return 1; } diff --git a/templates/web/default/reports/new/fill_in_details.html b/templates/web/default/reports/new/fill_in_details.html index 8ad2f587d..ca49571b8 100644 --- a/templates/web/default/reports/new/fill_in_details.html +++ b/templates/web/default/reports/new/fill_in_details.html @@ -4,10 +4,8 @@ <h1>[% loc('Reporting a problem') %]</h1> -<!-- {{ $text_located }} --> - [% - IF ! skipped; + IF report.used_map; loc('You have located the problem at the point marked with a purple pin on the map. If this is not the correct location, simply click on the map again. '); END; %] |