diff --git a/templates/registration/loginform.html b/templates/registration/loginform.html index 45bfe5f1..01c0b900 100644 --- a/templates/registration/loginform.html +++ b/templates/registration/loginform.html @@ -1,22 +1,20 @@ {% load url from future %} {% load widget_tweaks %} -{% if form.errors %} -
Your username or password was incorrect
-{% endif %} +{% include 'form_errors.html' %}
-
{% csrf_token %} -
- - {% render_field form.username class+="form-control" placeholder=form.username.label %} -
-
- - {% render_field form.password class+="form-control" placeholder=form.password.label %} -
- Register - Forgotten Password - - -
+
{% csrf_token %} +
+ + {% render_field form.username class+="form-control" placeholder=form.username.label %} +
+
+ + {% render_field form.password class+="form-control" placeholder=form.password.label %} +
+ Register + Forgotten Password + + +
\ No newline at end of file