blob: 8c144e46962dbcb49041ed852aac4c7162b9e2c5 (
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
46
47
48
49
50
|
[% 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()
|| loc("Enter a nearby GB postcode, or street name and area");
%]
<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">
[% c.cobrand.form_elements('postcodeForm') %]
[% IF partial_token %]
<input type="hidden" name="partial" value="[% partial_token.token %]">
[% END %]
</form>
[% IF location_offshore %]
<p class="error">[% loc('That spot does not appear to be covered by a council. If you have tried to report an issue past the shoreline, for example, please specify the closest point on land.') %]</p>
[% ELSIF 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?pc=[% match | uri %]">[% match | html %]</a></li>
[% END %]
</ul>
[% END %]
[% IF partial_token %]
<p style="margin-top: 0; color: #cc0000;">
<img align="right" src="/photo?id=[% report.id %]" 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' %]
|