fe21f9c6af
- Update django-allauth-cas to the last version. - Add docs (README, example/README). - Add tests for Clipper provider. - Add tests to check templates do not contain syntax error. - Add the last missing templates to override all allauth's displayable templates. - Improve stylesheets.
28 lines
835 B
HTML
28 lines
835 B
HTML
{% extends "allauth_ens/base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% trans "Change Password" %}{% endblock %}
|
|
{% block header-title %}{% trans "Change Password" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<section>
|
|
{% if token_fail %}
|
|
<p>
|
|
{% url 'account_reset_password' as passwd_reset_url %}
|
|
{% blocktrans %}
|
|
The password reset link was invalid, possibly because it has already been used.
|
|
Please request a <a href="{{ passwd_reset_url }}">new password reset</a>.
|
|
{% endblocktrans %}
|
|
</p>
|
|
{% elif form %}
|
|
<form action="" method="post">
|
|
{% include "allauth_ens/block-form.html" with form=form %}
|
|
<input type="submit" value="{% trans "Reset Password" %}">
|
|
</form>
|
|
{% else %}
|
|
<p>{% trans "Your password is now changed." %}</p>
|
|
{% endif %}
|
|
</section>
|
|
|
|
{% endblock %}
|