]> git.ozlabs.org Git - patchwork/blob - patchwork/templates/patchwork/mail-form.html
Move to a more recent django project structure
[patchwork] / patchwork / templates / patchwork / mail-form.html
1 {% extends "base.html" %}
2
3 {% block title %}mail settings{% endblock %}
4 {% block heading %}mail settings{% endblock %}
5
6 {% block body %}
7
8 <p>You can configure patchwork to send you mail on certain events,
9 or block automated mail altogether. Enter your email address to
10 view or change your email settings.</p>
11
12 <form method="post">
13 {% csrf_token %}
14 <table class="form registerform">
15 {% if form.errors %}
16  <tr>
17   <td colspan="2" class="error">
18    There was an error accessing your mail settings:
19   </td>
20  </tr>
21 {% endif %}
22  <tr>
23   <th>{{ form.email.label_tag }}</th>
24   <td>
25    {{form.email}}
26    {{form.email.errors}}
27   </td>
28  </tr>
29  <tr>
30   <td colspan="2" class="submitrow">
31    <input type="submit" value="Access mail settings"/>
32   </td>
33  </tr>
34 </table>
35 </form>
36
37
38 {% endblock %}