summaryrefslogtreecommitdiffstats
path: root/patchwork/templates/patchwork/mail-form.html
blob: d71b2fb291e087aabec0375966a2b2a902467bd2 (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
{% extends "base.html" %}

{% block title %}mail settings{% endblock %}
{% block heading %}mail settings{% endblock %}

{% block body %}

<p>You can configure patchwork to send you mail on certain events,
or block automated mail altogether. Enter your email address to
view or change your email settings.</p>

<form method="post">
{% csrf_token %}
<table class="form registerform">
{% if form.errors %}
 <tr>
  <td colspan="2" class="error">
   There was an error accessing your mail settings:
  </td>
 </tr>
{% endif %}
 <tr>
  <th>{{ form.email.label_tag }}</th>
  <td>
   {{form.email}}
   {{form.email.errors}}
  </td>
 </tr>
 <tr>
  <td colspan="2" class="submitrow">
   <input type="submit" value="Access mail settings"/>
  </td>
 </tr>
</table>
</form>


{% endblock %}