From 37fe637422464452c06e670d11120b937e8628a2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 30 Jun 2020 18:50:24 +0200 Subject: [PATCH] stages/password: make template inherit form_with_user --- .../templates/stages/password/backend.html | 43 +++---------------- 1 file changed, 7 insertions(+), 36 deletions(-) diff --git a/passbook/stages/password/templates/stages/password/backend.html b/passbook/stages/password/templates/stages/password/backend.html index 74547608d..fc313d520 100644 --- a/passbook/stages/password/templates/stages/password/backend.html +++ b/passbook/stages/password/templates/stages/password/backend.html @@ -1,39 +1,10 @@ +{% extends 'login/form_with_user.html' %} + {% load i18n %} {% load passbook_utils %} -
-

- {% block card_title %} - {% trans title %} - {% endblock %} -

-
-
- {% block card %} -
-
- -
-
- - {{ user.username }} -
- -
-
- - {% include 'partials/form.html' %} - - {% if recovery_flow %} - {% trans 'Forgot password?' %} - {% endif %} -
- -
-
- {% endblock %} -
+{% block beneath_form %} +{% if recovery_flow %} +{% trans 'Forgot password?' %} +{% endif %} +{% endblock %}