aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-02-29 17:28:33 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-02-29 17:28:33 +0000
commitce8b99ac973bc0bb11f49d3c1abc8bd5b2a112a0 (patch)
tree40ff078e581fff110646233c720b0f2303bdc851
parent9d26e831430b6ed5ec06574483bc2e4ed7dd2da2 (diff)
Fix map page if you skip
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rw-r--r--templates/web/fixmystreet/report/new/fill_in_details.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/web/fixmystreet/report/new/fill_in_details.html b/templates/web/fixmystreet/report/new/fill_in_details.html
index 0c293d744..d4351143c 100644
--- a/templates/web/fixmystreet/report/new/fill_in_details.html
+++ b/templates/web/fixmystreet/report/new/fill_in_details.html
@@ -1,6 +1,8 @@
[%
+ SET c = '';
+ SET c = 'mappage' IF report.used_map;
PROCESS "maps/${map.type}.html" IF report.used_map;
- INCLUDE 'header.html', title => loc('Reporting a problem'), bodyclass => 'mappage'
+ INCLUDE 'header.html', title => loc('Reporting a problem'), bodyclass => c
%]
[% IF report.used_map %]