--- 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 %}" />