blob: d9947cbec2e94c0f3925611d8b640a6f9f8f05bd (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
[% INCLUDE 'header.html',
title = loc('Contact Us')
robots = 'noindex,nofollow'
bodyclass = 'twothirdswidthpage'
%]
[% INCLUDE 'about/_sidebar.html' %]
[% IF c.cobrand.moniker == 'fixmystreet' %]
<h1>FixMyStreet technical support</h1>
[% ELSIF rejecting_report %]
<h1>[% loc('Reject report') %]</h1>
[% ELSE %]
<h1>[% loc('Contact the team') %]</h1>
[% END %]
<form method="post" action="/contact/submit" class="validate">
<fieldset>
[% INCLUDE 'errors.html' %]
[% IF update %]
<p>
[% loc('You are reporting the following update for being abusive, containing personal information, or similar:') %]
</p>
<blockquote>
<p>
[% IF update.anonymous %]
[% tprintf( loc('Update below added anonymously at %s'), prettify_dt( update.confirmed ) ) %]
[% ELSE %]
[% tprintf( loc('Update below added by %s at %s'), update.name, prettify_dt( update.confirmed ) ) | html %]
[% END %]
</p>
<p>
[% update.text | html %]
</p>
</blockquote>
<input type="hidden" name="update_id" value="[% update.id %]">
<input type="hidden" name="id" value="[% update.problem_id %]">
[% ELSIF problem %]
[% IF moderation_complaint %]
<input type="hidden" name="m" value="[% moderation_complaint %]">
<p>[% loc('You are complaining that this problem report was unnecessarily moderated:') %]</p>
[% ELSIF rejecting_report %]
[% INCLUDE 'contact/rejecting-text.html' %]
[% ELSE %]
[% INCLUDE 'contact/unsuitable-text.html' %]
[% END %]
<blockquote>
<h2>[% problem.title_safe | html %]</h2>
<p>
[% IF problem.anonymous %]
[% tprintf( loc('Reported anonymously at %s'), prettify_dt( problem.confirmed ) ) %]
[% ELSE %]
[% tprintf( loc('Reported by %s at %s'), problem.user.name, prettify_dt( problem.confirmed ) ) | html %]
[% END %]
</p>
<p>
[% problem.detail | html %]
</p>
</blockquote>
<input type="hidden" name="id" value="[% problem.id %]">
[% ELSE %]
[% INCLUDE 'contact/blurb.html' %]
[% END %]
[% IF NOT rejecting_report %]
<label for="form_name">[% loc('Your name') %]</label>
[% IF field_errors.name %]
<div class="form-error">[% field_errors.name %]</div>
[% END %]
<input type="text" class="form-control required" name="name" id="form_name" value="[% form_name | html %]" size="30">
<label for="form_email">[% loc('Your email') %]</label>
[% IF field_errors.em %]
<div class="form-error">[% field_errors.em %]</div>
[% END %]
<input type="text" class="form-control required email" name="em" id="form_email" value="[% em | html %]" size="30">
<div class="form-group">
<label for="form_phone">[% loc('Your phone number') %]</label>
<span class="required-text required-text--optional">optional</span>
<input type="text" class="form-control extra.phone" name="extra.phone" id="form_phone" value="" size="30">
</div>
<label for="form_subject">[% loc('Subject') %]</label>
[% IF field_errors.subject %]
<div class="form-error">[% field_errors.subject %]</div>
[% END %]
<input type="text" class="form-control required" name="subject" id="form_subject" value="[% subject | html %]" size="30">
[% ELSE %]
<input type="hidden" name="name" value="[% c.user.name | html %]" />
<input type="hidden" name="em" value="[% c.user.email | html %]" />
<input type="hidden" name="subject" value="[% loc("Report rejected") %]" />
<input type="hidden" name="reject" value="1" />
[% END %]
[% INCLUDE 'contact/who.html' %]
[% IF rejecting_report %]
<label for="form_message">[% loc('Rejection reason') %]</label>
[% ELSE %]
<label for="form_message">[% loc('Message') %]</label>
[% END %]
[% IF field_errors.message %]
<div class="form-error">[% field_errors.message %]</div>
[% END %]
<textarea class="form-control required" name="message" id="form_message" rows="7" cols="50">[% message | html %]</textarea>
[% IF rejecting_report %]
<div class="form-group">
<label for="form_service_area">[% loc('Service area for re-allocation') %]</label>
<input type="text" class="form-control extra.service_area" name="extra.service_area" id="form_service_area" value="" size="30">
</div>
[% END %]
<input class="final-submit green-btn" type="submit" value="[% loc('Send') %]">
</fieldset>
</form>
[% TRY %][% INCLUDE 'contact/address.html' %][% CATCH file %][% END %]
[% INCLUDE 'footer.html' pagefooter = 'yes' %]
|