diff options
author | Struan Donald <struan@exo.org.uk> | 2012-12-20 13:21:59 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-12-20 13:21:59 +0000 |
commit | 23ffee79fc79d01aec7ac2633a3835dbed419570 (patch) | |
tree | 183e1cf581fd56aca135c56f787cedf08d62ea6c | |
parent | 49f95c42d3320835d2f6fe9f8227186e52f20112 (diff) |
add design to around index page
-rw-r--r-- | templates/web/seesomething/around/around_index.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/web/seesomething/around/around_index.html b/templates/web/seesomething/around/around_index.html new file mode 100644 index 000000000..a143e90a2 --- /dev/null +++ b/templates/web/seesomething/around/around_index.html @@ -0,0 +1,24 @@ +[% INCLUDE 'header.html', title => loc('Reporting a problem'), bodyclass = 'mappage' %] + +<form action="[% c.uri_for('/around') %]" method="get" name="mapForm" id="mapForm"> + <div id="side-form"> + <div id="report-a-problem-main"> + [% INCLUDE 'around/postcode_form.html' %] + + [% IF location_error %] + <p class="error">[% location_error %]</p> + [% END %] + + [% IF possible_location_matches %] + <p>[% loc('We found more than one match for that location. We show up to ten matches, please try a different search if yours is not here.') %]</p> + <ul class="pc_alternatives"> + [% FOREACH match IN possible_location_matches %] + <li><a href="/around?latitude=[% match.latitude | uri %];longitude=[% match.longitude | uri %]">[% match.address | html %]</a></li> + [% END %] + </ul> + [% END %] + </div> + </div> +</form> + +[% INCLUDE 'footer.html' %] |