diff --git a/myproject/accounts/templates/accounts/password_reset_confirm.html b/myproject/accounts/templates/accounts/password_reset_confirm.html index 18f5cc7..1af9244 100644 --- a/myproject/accounts/templates/accounts/password_reset_confirm.html +++ b/myproject/accounts/templates/accounts/password_reset_confirm.html @@ -3,24 +3,39 @@ {% block title %}Сброс пароля{% endblock %} {% block content %} -
-
-

Сброс пароля

+
+
+
+ +
+

Сброс пароля

+

Введите новый пароль

+
-
-
-
- {% csrf_token %} - {% include 'accounts/password_input.html' with field_name='password1' field_label='Новый пароль' required=True %} - {% include 'accounts/password_input.html' with field_name='password2' field_label='Подтверждение пароля' required=True %} - -
+ + {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} + + +
+ {% csrf_token %} + {% include 'accounts/password_input.html' with field_name='password1' field_label='Новый пароль' required=True %} + {% include 'accounts/password_input.html' with field_name='password2' field_label='Подтверждение пароля' required=True %} + - +