diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-02-08 13:49:41 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-02-08 13:49:41 +0000 |
commit | d41b500e09fcc5ca348e9f4f6886bfc1b1e50d8b (patch) | |
tree | fe2a7713683d4ac387c17e8536e369052344a837 /templates | |
parent | e3bce6312ed59ccd462cae69d214efdb1c19cbbc (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.html | 2 | ||||
-rw-r--r-- | templates/web/zurich/admin/report_edit.html | 3 |
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: “%s”'), 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: “%s”'), safe ) |