2011-09-04 04:21:51 +00:00
|
|
|
{% extends "registration/registration_base.html" %}
|
|
|
|
{% block title %}Reset password{% endblock %}
|
2011-11-19 00:50:47 +00:00
|
|
|
{% block doccontent %}
|
|
|
|
{% if request.user.is_authenticated and request.user.password == '!' %}
|
|
|
|
<p>
|
|
|
|
Sorry for the extra step, but just click and we'll email you
|
|
|
|
instructions for creating your new password.
|
|
|
|
</p>
|
|
|
|
<form method='post' action=''>{% csrf_token %}
|
|
|
|
<p>
|
2012-04-05 15:53:58 +00:00
|
|
|
<input id="id_email" type="hidden" name="email" maxlength="75" value="{{request.user.email}}" />
|
2011-11-19 00:50:47 +00:00
|
|
|
<input type='submit' value="Reset password" /></td></tr>
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
{% else %}
|
2011-09-04 04:21:51 +00:00
|
|
|
<p>
|
|
|
|
Forgot your password? Enter your email in the form below and we'll send you
|
|
|
|
instructions for creating a new one.
|
|
|
|
</p>
|
|
|
|
<form method='post' action=''>{% csrf_token %}
|
|
|
|
{{ form }}
|
2012-01-13 21:24:34 +00:00
|
|
|
<input type='submit' value="Reset password" />
|
2011-09-04 04:21:51 +00:00
|
|
|
</form>
|
2011-11-19 00:50:47 +00:00
|
|
|
{% endif %}
|
2011-09-04 04:21:51 +00:00
|
|
|
{% endblock %}
|