From 78368a851231507557c4d524707da7ff5197509c Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 28 Feb 2020 15:25:03 +0530 Subject: Fix UI in forgot and change password --- .../registration/password_change_form.html | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'yaksh/templates/registration/password_change_form.html') diff --git a/yaksh/templates/registration/password_change_form.html b/yaksh/templates/registration/password_change_form.html index 8d8424e..37f6e93 100644 --- a/yaksh/templates/registration/password_change_form.html +++ b/yaksh/templates/registration/password_change_form.html @@ -58,8 +58,17 @@ Change Password
{% if form.errors %} - {% for field in form %} - {% for error in field.errors %} + {% for field in form %} + {% for error in field.errors %} +
+ + {{ error|escape }} +
+ {% endfor %} + {% endfor %} + {% for error in form.non_field_errors %}
{% endfor %} + {% endif %} + {% for field in form %} + + + + {% endfor %} - {% for error in qform.non_field_errors %} -
- - {{ error|escape }} -
- {% endfor %} - {% endif %} - {% for field in form %} - - - - - {% endfor %}
{{ field.label }}{{ field }} {{ field.help_text }}
{{ field.label }}{{ field }} {{ field.help_text }}
-- cgit