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 %} +
+
+
+ {% if form.errors %} +
{% trans "Your username and password didn't match. Please try again." %}
+ {% endif %} +
+
+ +
+
+ +
+
+ +
+ + +
+ {% csrf_token %}
+
+
+ {% endif %} +
+{% endblock %}