aboutsummaryrefslogtreecommitdiff
path: root/templates/blog/resetpass.html
blob: 81c68c56bd3d36e87e26f3f54f75ba740a3685c5 (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
{% extends 'blog/partials/base.html' %} {% block content %}
<h1 style="margin-top: 30px">Reset your Password</h1>
<p>
  Forgot your password? No problem! Just enter your email address below, (the
  email you registered with) and I will send you a link to reset your password.
</p>
<hr />
<form method="post">
  <input
    type="hidden"
    name="csrfmiddlewaretoken"
    value="{{ csrf_token }}"
    style="display: none"
  />
  <table id="resetpass_form">
    {{ form.as_table }}
  </table>
  <br />
  <input type="submit" value="Reset password" class="button button-special" />
</form>
<br /><br />
<p><i>Anonymous users cannot reset their password.</i></p>
{% for message in messages %} {% if 'passwordReset' in message.tags %}
<p><small class="success">{{ message.message }}</small></p>
{% endif %} {% endfor %} {% endblock content %}