From cb328a9c819bee7758132b252c05086918ec982b Mon Sep 17 00:00:00 2001 From: BrilliantPhoenix2024 Date: Wed, 27 Jul 2022 22:23:10 +0330 Subject: [PATCH] EDIT _base.html & login.html --- templates/_base.html | 3 +++ templates/registration/login.html | 43 +++++++++++++++++++++++++------ 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/templates/_base.html b/templates/_base.html index e11ed62..be036c5 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -12,6 +12,9 @@ integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> + {% block style %} + + {% endblock %} {% block page_title %}{% endblock %} diff --git a/templates/registration/login.html b/templates/registration/login.html index 5076bcc..59337e1 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -1,16 +1,43 @@ {% extends '_base.html' %} +{% load static %} + {% load crispy_forms_tags %} {% block page_title %}Login{% endblock %} +{% block style %} + +{% endblock %} + {% block content %} -

Login

-
- {% csrf_token %} - {{ form|crispy }} - -
-
-

Forgot password? | Create an account?

+
+
+
+

ورود

+ {% csrf_token %} + {{ form|crispy }} + {#
#} + {# #} + {# #} + {#
#} + {#
#} + {# #} + {# #} + {#
#} + + +
+ + یا + +
+ ثبت نام +
+
+
{% endblock %} \ No newline at end of file