From 5c7b4b7c8dd0b161a92b9127234b8f89c95aa42a Mon Sep 17 00:00:00 2001 From: Akshen Date: Fri, 17 May 2019 16:47:18 +0530 Subject: Forgot Password templates fixed --- fossee_manim/templates/registration/base.html | 2 +- .../templates/registration/password_change_done.html | 5 +++-- .../templates/registration/password_change_form.html | 6 ++++-- .../templates/registration/password_reset_complete.html | 5 +++-- .../templates/registration/password_reset_confirm.html | 8 ++++++-- .../templates/registration/password_reset_done.html | 11 ++++++++--- .../templates/registration/password_reset_form.html | 17 ++++++++++++----- 7 files changed, 37 insertions(+), 17 deletions(-) (limited to 'fossee_manim') diff --git a/fossee_manim/templates/registration/base.html b/fossee_manim/templates/registration/base.html index 1a4945d..495831d 100644 --- a/fossee_manim/templates/registration/base.html +++ b/fossee_manim/templates/registration/base.html @@ -68,7 +68,7 @@ {% else %} diff --git a/fossee_manim/templates/registration/password_change_done.html b/fossee_manim/templates/registration/password_change_done.html index 93b93cb..d72f7f5 100644 --- a/fossee_manim/templates/registration/password_change_done.html +++ b/fossee_manim/templates/registration/password_change_done.html @@ -1,6 +1,6 @@ -{% extends "base.html" %} +{% extends "registration/base.html" %} -{% block pagetitle %} +{% block title %} Password change successful {% endblock %} @@ -14,6 +14,7 @@ {% endblock %} {% block content %} +

Your password has been changed successfully.

Redirecting ...

{% endblock %} \ No newline at end of file diff --git a/fossee_manim/templates/registration/password_change_form.html b/fossee_manim/templates/registration/password_change_form.html index 918f820..5b09d89 100644 --- a/fossee_manim/templates/registration/password_change_form.html +++ b/fossee_manim/templates/registration/password_change_form.html @@ -1,8 +1,9 @@ -{% extends "base.html" %} +{% extends "registration/base.html" %} -{% block pagetitle %} Change Password {% endblock %} +{% block title %} Change Password {% endblock %} {% block content %} +
{% csrf_token %}
@@ -13,4 +14,5 @@
+
{% endblock content %} \ No newline at end of file diff --git a/fossee_manim/templates/registration/password_reset_complete.html b/fossee_manim/templates/registration/password_reset_complete.html index 1ff3f76..1da9b4a 100644 --- a/fossee_manim/templates/registration/password_reset_complete.html +++ b/fossee_manim/templates/registration/password_reset_complete.html @@ -1,7 +1,8 @@ -{% extends "base.html" %} +{% extends "registration/base.html" %} -{% block pagetitle %}Password reset complete{% endblock %} +{% block title %}Password reset complete{% endblock %} {% block content %} +

Your password has been reset.

{% endblock %} \ No newline at end of file diff --git a/fossee_manim/templates/registration/password_reset_confirm.html b/fossee_manim/templates/registration/password_reset_confirm.html index 9f5b47a..ce84fda 100644 --- a/fossee_manim/templates/registration/password_reset_confirm.html +++ b/fossee_manim/templates/registration/password_reset_confirm.html @@ -1,8 +1,11 @@ -{% extends "base.html" %} -{% block pagetitle %}Reset Password{% endblock %} +{% extends "registration/base.html" %} +{% block title %}Reset Password{% endblock %} {% block content %} +
+
{% if validlink %} +

Please enter your new password twice so we can verify you typed it in correctly

.
{% csrf_token %} @@ -12,4 +15,5 @@ {% else %}

This reset link is no longer valid!

{% endif %} +
{% endblock %} \ No newline at end of file diff --git a/fossee_manim/templates/registration/password_reset_done.html b/fossee_manim/templates/registration/password_reset_done.html index 0d335b8..e91ff73 100644 --- a/fossee_manim/templates/registration/password_reset_done.html +++ b/fossee_manim/templates/registration/password_reset_done.html @@ -1,9 +1,14 @@ -{% extends "base.html" %} +{% extends "registration/base.html" %} {% block title %} Password reset successful {% endblock %} -{% block pagetitle %} - Instruction for setting new password has been mailed to your registered email address +{% block content %} +
+
+

Instruction for setting new password has been mailed + to your registered email address +

+
{% endblock %} \ No newline at end of file diff --git a/fossee_manim/templates/registration/password_reset_form.html b/fossee_manim/templates/registration/password_reset_form.html index c67fdfc..5bf049f 100644 --- a/fossee_manim/templates/registration/password_reset_form.html +++ b/fossee_manim/templates/registration/password_reset_form.html @@ -1,14 +1,21 @@ -{% extends "base.html" %} +{% extends "registration/base.html" %} -{% block pagetitle %} - Email will be send to the registered email address +{% block title %} + Forgot Password {% endblock %} {% block content %} +
+
+
+

Email will be send to the registered email address

{% csrf_token %} - {{ form }} - + + {{ form }} +
+ Cancel +
{% endblock content %} \ No newline at end of file -- cgit