diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-20 19:45:05 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-20 19:45:05 +0100 |
commit | 4af1e3d75ae247fd7d6a9910087fc36e1a9659f5 (patch) | |
tree | 78dc8de855bdb34ff16fe13cd3d6c912d0ff36d7 /perllib/FixMyStreet/App/Controller/Report/New.pm | |
parent | e7fd95f6ca3f21aff54bdbb6aeaabf0476d62e24 (diff) |
Move some of map_start to templates.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index 18d1efed5..5a33718da 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -621,7 +621,7 @@ sub process_report : Private { $report->latitude( $c->stash->{latitude} ); $report->longitude( $c->stash->{longitude} ); - # Capture wether the may was used + # Capture whether the may was used $report->used_map( $params{skipped} ? 0 : 1 ); # Short circuit unless the form has been submitted @@ -918,7 +918,7 @@ sub generate_map : Private { <input type="hidden" name="pc" value="$pc"> <input type="hidden" name="skipped" value="1"> $cobrand_form_elements -<div id="skipped-map"> +<div> END_MAP_HTML } |