Files
later42/later42/templates/registration/password_reset_confirm.html

32 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "base.html" %}
{% block content %}
{% if validlink %}
<p>Введите новый пароль.</p>
<form action="" method="post">
<div style="display:none">
<input type="hidden" value="{{ csrf_token }}" name="csrfmiddlewaretoken">
</div>
<table>
<tr>
<td>{{ form.new_password1.errors }}
<label for="id_new_password1">Новый пароль:</label></td>
<td>{{ form.new_password1 }}</td>
</tr>
<tr>
<td>{{ form.new_password2.errors }}
<label for="id_new_password2">Подтверждение:</label></td>
<td>{{ form.new_password2 }}</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Сменить" /></td>
</tr>
</table>
</form>
{% else %}
<h1>Сброс пароля прошел неудачно</h1>
<p>Ссылка неверная или уже была использована.<br />
Попробуйте сбросить пароль еще раз.</p>
{% endif %}
{% endblock %}