X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a6db1ef5159ff618a9d1a78ff14fd705a106c130..8139f82c719f4a041b18fd445026b8cf78aca4a6:/wolnelektury/templates/account/password_reset_from_key.html diff --git a/wolnelektury/templates/account/password_reset_from_key.html b/wolnelektury/templates/account/password_reset_from_key.html new file mode 100644 index 000000000..5cdd68e3a --- /dev/null +++ b/wolnelektury/templates/account/password_reset_from_key.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} +{% load i18n %} +{% load ajaxable_tags %} + +{% block titleextra %}{% trans "Change Password" %}{% endblock %} + +{% block body %} +

{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}

+ + {% if token_fail %} + {% 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 new password reset.{% endblocktrans %}

+ {% else %} + {% if form %} +
+ {% csrf_token %} + +
+ {% else %} +

{% trans 'Your password is now changed.' %}

+ {% endif %} + {% endif %} +{% endblock %}