# HG changeset patch # User cavaliet # Date 1354625313 -3600 # Node ID 10389426d9c08ce30e9bc7108b830416f79cad2e # Parent 50a6ba97a22df3abc7c7aaaba842da6c2c37b46b update login template. diff -r 50a6ba97a22d -r 10389426d9c0 src/ldtplatform/templates/registration/login.html --- a/src/ldtplatform/templates/registration/login.html Fri Nov 30 14:06:04 2012 +0100 +++ b/src/ldtplatform/templates/registration/login.html Tue Dec 04 13:48:33 2012 +0100 @@ -1,32 +1,30 @@ {% extends "registration/base.html" %} {% load i18n %} -{% block js_declaration %} -{{ block.super }} -{% endblock %} +{% load absstatic %} +{% load static %} {% block css_import %} - {{ block.super }} - - + {{ block.super }} + + {% endblock %} - {% block login %} {% endblock %} {% block content_title %}{% trans 'Log in' %}{% endblock %} {% block iricontent %} {% if form.errors %} -

{% trans "Sorry, that's not a valid username or password." %}

+

{% trans "Sorry, that's not a valid username or password." %}

{% endif %} -
+
-
+
{% csrf_token %} -
    - {{form.as_ul}} -
+
    + {{form.as_ul}} +
@@ -34,21 +32,23 @@
-
+ -
+
{% endblock %}