From b85b1165c0ef9875bc6ffb1f55502c50299e4828 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 23 Oct 2017 13:45:10 +0200 Subject: UI: work on bootstrap layout --- ishtar_common/templates/registration/login.html | 52 +++++++++++++++++++------ 1 file changed, 40 insertions(+), 12 deletions(-) (limited to 'ishtar_common/templates/registration') diff --git a/ishtar_common/templates/registration/login.html b/ishtar_common/templates/registration/login.html index e8122f150..1b6062e53 100644 --- a/ishtar_common/templates/registration/login.html +++ b/ishtar_common/templates/registration/login.html @@ -2,18 +2,46 @@ {% load i18n %} {% block content %} -
-
{% csrf_token %} - - -{{ form.as_table }} - - -
{%trans "Log in"%}
-
+
+
+

{%trans "Log in"%}

+
{% csrf_token %} + + {% if form.non_field_errors %} +
+ {% for error in form.non_field_errors %} +
+ {{error}} +
+ {% endfor %} +
+ {% endif %} + + {% for field in form %} + {% if field.errors %} +
+ {{field.errors}} +
+ {% endif %} +
+ +
{{field}}
+
+ {% endfor %} + +
+
+ +
+
+
+
-
-

{% trans "Forgot password?" %} {% trans "Reset it" %}

-

{% trans "Not member?" %} {% trans "Register" %}

+
+
+
+ {% trans "Forgot password?" %} {% trans "Reset it" %} – + {% trans "Not member?" %} {% trans "Register" %} +
{% endblock %} -- cgit v1.2.3