aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/contact/index.html
blob: e76724d1b165374453fb7230ba2f30f510561b66 (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
[% INCLUDE 'header.html', title => loc('Contact Us') %]

<h1>[% loc('Contact the team') %]</h1>
 
<form method="post" action="/contact/submit">

<input type="hidden" name="submit_form" value="1">


[% INCLUDE 'errors.html' %]

[% IF update %]
    <p>
    [% loc('You are reporting the following update for being abusive, containing personal information, or similar:') %]
    </p>

    [% IF update.title %]
    <blockquote>
        <h2>[% update.title | html %]</h2>

        <p>
            [% IF update.anonymous %]
                [% tprintf( loc('Update below added anonymously at %s'), prettify_epoch( update.confirmed ) ) %]
            [% ELSE %]
                [% tprintf( loc('Update below added by %s at %s'), update.name, prettify_epoch( update.confirmed ) ) | html %]
            [% END %]
        </p>

        <p>
            [% update.text | html %]
        </p>

    </blockquote>
    [% END %]
    <input type="hidden" name="update_id" value="[% update.id %]">
    <input type="hidden" name="id" value="[% problem.id %]">
[% ELSIF problem %]
    <p>
    [% loc('You are reporting the following problem report for being abusive, containing personal information, or similar:') %]
    </p>
    
    [% IF problem.title %]
    <blockquote>
        <h2>[% problem.title | html %]</h2>

        <p>
            [% IF problem.anonymous %]
                [% tprintf( loc('Reported anonymously at %s'), prettify_epoch( problem.confirmed ) ) %]
            [% ELSE %]
                [% tprintf( loc('Reported by %s at %s'), problem.user.name, prettify_epoch( problem.confirmed ) ) | html %]
            [% END %]
        </p>

        <p>
            [% problem.detail | html %]
        </p>

    </blockquote>
    <input type="hidden" name="id" value="[% problem.id %]">
    [% END %]
[% ELSE %]
[% IF id %]
<input type="hidden" name="id" value="[% id %]">
[% END %]
<p>
[% loc('Please do <strong>not</strong> report problems through this form; messages go to
the team behind FixMyStreet, not a council. To report a problem,
please <a href="/">go to the front page</a> and follow the instructions.') %]
</p>
[% END %]

<p>
[% tprintf( loc("We'd love to hear what you think about this site. Just fill in the form, or send an email to <a href='mailto:%s'>%s</a>:"), contact_email, contact_email) %]
</p> 


[% IF field_errors.name %]
   <div class="form-error">[% field_errors.name %]</div>
[% END %]
<div class="form-field">
<label for="form_name">Your name:</label>
<input type="text" name="name" id="form_name" value="[% form_name %]" size="30"></div>


[% IF field_errors.em %]
   <div class="form-error">[% field_errors.em %]</div>
[% END %]
<div class="form-field">
<label for="form_email">Your&nbsp;email:</label>
<input type="text" name="em" id="form_email" value="[% em %]" size="30"></div>

[% IF field_errors.subject %]
   <div class="form-error">[% field_errors.subject %]</div>
[% END %]
<div class="form-field">
<label for="form_subject">Subject:</label>
<input type="text" name="subject" id="form_subject" value="[% subject %]" size="30"></div>

[% IF field_errors.message %]
   <div class="form-error">[% field_errors.message %]</div>
[% END %]
<div class="form-field">
<label for="form_message">Message:</label>

<textarea name="message" id="form_message" rows="7" cols="50">[% message %]</textarea></div>
<div class="checkbox"><input type="submit" value="Post"></div>

</form>

<div class="contact-details">
<p>FixMyStreet is a service provided by mySociety, which is the project of a 
registered charity. The charity is called UK Citizens Online Democracy and is charity number 1076346.</p>
<p>mySociety can be contacted by email at <a href="mailto:hello&#64;mysociety.org">hello&#64;mysociety.org</a>,
or by post at:</p>
<p>mySociety<br>
483 Green Lanes<br>

London<br>
N13 4BS<br>
UK</p>
</div>


[% INCLUDE 'footer.html' %]