From 4326d12b5c03c6c91076dd8214b723853f043ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=83=D0=BB=D0=B0=D0=BA=D0=BE=D0=B2=20=D0=AE=D1=80?= =?UTF-8?q?=D0=B8=D0=B9?= Date: Tue, 9 Feb 2021 23:42:23 +0300 Subject: [PATCH] Login template now extends base/base.html --- main/templates/base/base.html | 2 +- main/templates/base/menu.html | 6 +++--- main/templates/registration/login.html | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/main/templates/base/base.html b/main/templates/base/base.html index e41acf5..737fa73 100644 --- a/main/templates/base/base.html +++ b/main/templates/base/base.html @@ -31,7 +31,7 @@
-

+

{% block heading %} {% endblock %}

diff --git a/main/templates/base/menu.html b/main/templates/base/menu.html index ca31bd0..a7c0c3f 100644 --- a/main/templates/base/menu.html +++ b/main/templates/base/menu.html @@ -10,15 +10,15 @@ {% if request.user.is_authenticated %} {% else %} {% endif %} diff --git a/main/templates/registration/login.html b/main/templates/registration/login.html index fc930f2..0917b0c 100644 --- a/main/templates/registration/login.html +++ b/main/templates/registration/login.html @@ -2,6 +2,9 @@ {% block title %} Авторизация {% endblock %} +{% block heading %} + Авторизация +{% endblock %} {% block content %}