blob: aca7b3f4b2e926c272bcbd8d4f6ad3a9816d5a77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
[% INCLUDE 'header.html', title => loc('Reporting a problem') %]
[%
# NOTE ON PARTIAL REPORTS:
#
# partial reports get a bit of extra text added, the form goes to
# '/report/new' and the partial hidden field is added to the form.
%]
[%
question = c.cobrand.enter_postcode_text();
%]
<form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm">
<label for="pc">[% question %]:</label> <input type="text" name="pc" value="[% pc | html %]" id="pc" size="10" maxlength="200"> <input type="submit" value="[% loc('Go') %]" id="submit">
[% IF partial_token %]
<input type="hidden" name="partial" value="[% partial_token.token %]">
[% END %]
</form>
[% 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 %]
[% IF partial_token %]
<p style="margin-top: 0; color: #cc0000;">
<img align="right" src="/photo/[% report.id %].jpeg" hspace="5">
[% loc("Thanks for uploading your photo. We now need to locate your problem, so please enter a nearby street name or postcode in the box below :") %]
</p>
[% END %]
[% INCLUDE 'footer.html' %]
|