Permalink
Browse files

Login didn't display errors

  • Loading branch information...
1 parent b2490c5 commit 28870382fa12d5a39cee0ffc0268c37c31705593 @edorian committed Aug 15, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 templates/registration/login.html
@@ -4,6 +4,7 @@
{% block content %}
<h1>Login</h1>
<form action="" method="post">{% csrf_token %}
+ {{ form.non_field_errors }}
<div class="label">{{ form.username.label_tag }}:</div>
{{ form.username.errors }}
<div class="input">{{ form.username }}</div>

0 comments on commit 2887038

Please sign in to comment.