mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-05 14:48:22 +00:00
Tidied the errors on the loginform
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
{% load url from future %}
|
{% load url from future %}
|
||||||
{% load widget_tweaks %}
|
{% load widget_tweaks %}
|
||||||
{% if form.errors %}
|
{% include 'form_errors.html' %}
|
||||||
<div class="error">Your username or password was incorrect</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class="col-md-4 col-md-offset-4">
|
<div class="col-md-4 col-md-offset-4">
|
||||||
|
|
||||||
<form action="{% url 'login' %}" method="post" role="form">{% csrf_token %}
|
<form action="{% url 'login' %}" method="post" role="form">{% csrf_token %}
|
||||||
|
|||||||
Reference in New Issue
Block a user