From 61421b6983580761793a7e08bc82583987d9d48b Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Fri, 13 Oct 2023 11:36:59 +0200 Subject: [PATCH] fix: local login template --- ricerca_app/templates/login.html | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 ricerca_app/templates/login.html diff --git a/ricerca_app/templates/login.html b/ricerca_app/templates/login.html new file mode 100644 index 00000000..62fd9783 --- /dev/null +++ b/ricerca_app/templates/login.html @@ -0,0 +1,41 @@ +{% extends "storage_crud_base.html" %} +{% load i18n %} + + +{% block centered_container %} +
+
+

+ {% trans "Effettua l'accesso" %} +

+
+ {% if request.user.is_authenticated %} + + {% else %} + + {% endif %} +
+{% endblock %}