Mercurial > public > sg101
annotate gpp/templates/accounts/password_reset_confirm.html @ 557:7247a406f92b
Merging change to requirements.txt made on production server.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 29 Jan 2012 14:45:09 -0600 |
parents | daa2916f5b34 |
children |
rev | line source |
---|---|
bgneal@79 | 1 {% extends 'base.html' %} |
bgneal@310 | 2 {% load url from future %} |
bgneal@79 | 3 {% block title %}Reset Password{% endblock %} |
bgneal@79 | 4 {% block content %} |
bgneal@79 | 5 <h2>Reset Password</h2> |
bgneal@79 | 6 {% if validlink %} |
bgneal@79 | 7 <p> |
bgneal@79 | 8 Please use the following form to reset your password. |
bgneal@79 | 9 </p> |
bgneal@194 | 10 <form method="post" action=".">{% csrf_token %} |
bgneal@79 | 11 <table> |
bgneal@79 | 12 {{ form.as_table }} |
bgneal@79 | 13 <tr><td> </td><td><input type="submit" value="Reset Password" /> |
bgneal@79 | 14 </td></tr> |
bgneal@79 | 15 </table> |
bgneal@79 | 16 </form> |
bgneal@79 | 17 {% else %} |
bgneal@79 | 18 <p> |
bgneal@79 | 19 We're sorry, the link you provided is invalid or has expired. If you are trying to |
bgneal@310 | 20 reset your password, please <a href="{% url 'accounts-password_reset' %}">try again</a>. |
bgneal@310 | 21 If you have questions or problems, please <a href="{% url 'contact-form' %}">contact us</a>. |
bgneal@79 | 22 </p> |
bgneal@79 | 23 {% endif %} |
bgneal@79 | 24 {% endblock %} |