summaryrefslogtreecommitdiff
path: root/templates/registration/password_reset_form.html
blob: 4718f4360311ef032ddec3e9d37220ff24c5e670 (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
{% extends "base.html" %}

{% block title %}Password reset{% endblock %}
{% block heading %}Password reset{% endblock %}

{% block body %}

<p>Forgotten your password? Enter your email address below, and we will
email instructions for setting a new one.</p>

<form method="post">
{% csrf_token %}

<table class="form passwordform">

{% if form.errors %}
 <tr>
  <td colspan="2" class="error">Please correct the errors below.</p>
 </tr>
{% endif %}


{% for field in form %}
  <tr>
   <td>{{ field.label_tag }}</td>
   <td>
    {{ field.errors }}
    {{ field }}
{% if field.help_text %}
    <div class="help_text"/>{{ field.help_text }}</div>
{% endif %}
   </td>
  </tr>
{% endfor %}

 <tr>
  <td colspan="2">
   <input type="submit" value="Reset my password" class="default" />
  </td>
 </tr>

</table>

</form>
{% endblock %}