[% IF location_error %]
    [% INCLUDE 'around/location_error.html' %]
[% 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/[% partial_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 above&nbsp;:") %]
    </p>
[% END %]

[% IF location_error %]
    [% INCLUDE 'around/location_error.html' %]
[% 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="[% partial_report.photos.first.url_temp %]" 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 above&nbsp;:") %]
    </p>
[% END %]

Use correct URL for partial report photo.
Use correct URL for partial report photo.

Since multiple photo support, partial photos can only be looked at via
their temporary URL, not their confirmed one.
