little correction
authorcavaliet
Wed, 10 Jul 2013 19:06:54 +0200
changeset 233 8d47c7dbcd3b
parent 232 d15b26230d5c
child 234 886cbc53b854
little correction
src/egonomy/templates/registration/login.html
--- a/src/egonomy/templates/registration/login.html	Wed Jul 10 18:51:16 2013 +0200
+++ b/src/egonomy/templates/registration/login.html	Wed Jul 10 19:06:54 2013 +0200
@@ -5,10 +5,10 @@
 {% block title %}{% trans "Login" %}{% endblock %}
 
 {% block content %}
-    {% if form.errors %}
-    <p class="error">{% trans "Sorry, that's not a valid username or password." %}</p>
-    {% endif %}
     <div class="register">
+	    {% if form.errors %}
+	    <p class="error">{% trans "Sorry, that's not a valid username or password." %}</p>
+	    {% endif %}
         <form action="" method='post' id="login-form">
             {% csrf_token %}
             <input type="hidden" name="next" value="{% if next %}{{ next }}{% else %}{% url 'home' %}{% endif %}" />