aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-08 13:49:41 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-08 13:49:41 +0000
commitd41b500e09fcc5ca348e9f4f6886bfc1b1e50d8b (patch)
treefe2a7713683d4ac387c17e8536e369052344a837 /templates
parente3bce6312ed59ccd462cae69d214efdb1c19cbbc (diff)
Allow Zurich admin to change location of pin, with confirmation (fixes a1).
Diffstat (limited to 'templates')
-rw-r--r--templates/web/zurich/admin/report_edit-sdm.html2
-rw-r--r--templates/web/zurich/admin/report_edit.html3
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/report_edit-sdm.html b/templates/web/zurich/admin/report_edit-sdm.html
index afa6a206e..2d375a92a 100644
--- a/templates/web/zurich/admin/report_edit-sdm.html
+++ b/templates/web/zurich/admin/report_edit-sdm.html
@@ -28,6 +28,8 @@
[% END %]
</li>
<li>[% loc('Co-ordinates:') %] [% problem.local_coords.join(',') %]
+ <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% problem.latitude %]">
+ <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% problem.longitude %]">
([%
SET safe = problem.postcode | html;
tprintf( loc('originally entered: &ldquo;%s&rdquo;'), safe )
diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html
index e2e67e9e6..b48d315f1 100644
--- a/templates/web/zurich/admin/report_edit.html
+++ b/templates/web/zurich/admin/report_edit.html
@@ -41,6 +41,9 @@
[% END %]
<li><span class="mock-label">[% loc('Co-ordinates:') %]</span> [% problem.local_coords.join(',') %]
+ <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% problem.latitude %]">
+ <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% problem.longitude %]">
+
([%
SET safe = problem.postcode | html;
tprintf( loc('originally entered: &ldquo;%s&rdquo;'), safe )