From 27aab48326fe628ced4f03502973b2d008645ed6 Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Tue, 17 Apr 2018 10:33:49 +0300 Subject: [PATCH] Fix reset password template --- .../auth/password_reset_confirm.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/auth/templates/auth/password_reset_confirm.html b/apps/auth/templates/auth/password_reset_confirm.html index 4c61eece..f9e7282a 100644 --- a/apps/auth/templates/auth/password_reset_confirm.html +++ b/apps/auth/templates/auth/password_reset_confirm.html @@ -1,8 +1,4 @@ -{% extends "templates/lilcity/index.html" %} -{% load static %} - -{% block content %} -{% if validlink %} +{% extends "templates/lilcity/index.html" %} {% load static %} {% block content %}
@@ -12,19 +8,26 @@
+ {% if validlink %}
{% csrf_token %} -
+
Новый пароль
+ {% for error in form.new_password1.errors %} +
{{ error }}
+ {% endfor %}
-
+
Повторите пароль
+ {% for error in form.new_password2.errors %} +
{{ error }}
+ {% endfor %}
@@ -35,4 +38,4 @@ {% endif %}
-{% endblock content %} \ No newline at end of file +{% endblock content %}