blob: 7886c3a5df73e388b0c79d0be8f5b336eecc4b7f (
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
51
52
|
[%
url_skip = c.uri_for(
'/report/new',
{
pc => pc
latitude => latitude,
longitude => longitude,
skipped => 1,
}
);
PROCESS "maps/${map.type}.html";
sidebar_html = PROCESS 'report/new/sidebar.html', js = 1, report.used_map = 1;
INCLUDE 'header.html',
title => loc('Viewing a location')
bodyclass => 'mappage',
robots => 'noindex,nofollow';
%]
<form action="[% c.uri_for('/report/new') %]" method="post" name="mapForm" id="mapForm" enctype="multipart/form-data" class="validate" novalidate>
<input type="hidden" name="token" value="[% csrf_token %]">
[% IF c.req.params.map_override %]
<input type="hidden" name="map_override" value="[% c.req.params.map_override | html %]">
[% END %]
<input type="hidden" name="pc" value="[% pc | html %]">
<input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% latitude | html %]">
<input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% longitude | html %]">
[% map_html %]
</div>
<div id="map_sidebar">
<div id="side">
[% INCLUDE 'around/_report_banner.html' %]
</div>
<div style="display:none" id="side-form">
[% INCLUDE "report/new/fill_in_details_form.html"
js = 1,
report.used_map = 1
report.name = c.user.name
%]
</div>
</div>
</form>
[% INCLUDE 'footer.html' %]
|