From f5fba13f2bb66b448667106c7dfb6ac792fcf731 Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Thu, 28 Nov 2024 02:13:24 -0300 Subject: [PATCH] login screen minor improvements --- login/templates/login.html | 52 ++++++++++++++++++--------------- login/templates/login_base.html | 42 +++++++++----------------- 2 files changed, 42 insertions(+), 52 deletions(-) diff --git a/login/templates/login.html b/login/templates/login.html index 4825f7d..e92aeb6 100644 --- a/login/templates/login.html +++ b/login/templates/login.html @@ -1,48 +1,52 @@ {% extends "login_base.html" %} -{% load i18n static language_code%} +{% load i18n static language_code %} {% block login_content %} + +
+
{% trans "Sign in" %}
+
+
{% csrf_token %} -
+
-
{%trans 'Please enter your email.' %}
{% if form.username.errors %} -

- {{ form.username.errors|striptags }} -

+
+ {{ form.username.errors|striptags }} +
{% endif %}
-
+
- + + +
{% if form.password.errors %} -

- {{ form.password.errors|striptags }} -

- {% endif %} - - +
+ {{ form.password.errors|striptags }}
-
{% trans 'Please enter your password!'%}
+ {% endif %}
-
- +
+
-