mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 18:31:10 +01:00
Show error message if login fails. Thanks to nakagumahissao for the patch which closes Google Code #151 and Github #10.
This commit is contained in:
parent
2d7d3c489d
commit
341871d963
@ -7,7 +7,7 @@
|
||||
<p>{% trans "To log in and begin responding to cases, simply enter your username and password below." %}</p>
|
||||
|
||||
<form method='post' action='./'>
|
||||
{% if form.has_errors %}<p>{% trans "Your username and password didn't match. Please try again." %}</p>{% endif %}
|
||||
{% if form.errors %}<p>{% trans "Your username and password didn't match. Please try again." %}</p>{% endif %}
|
||||
<dl>
|
||||
<dt><label>{% trans "Username" %}</label></dt>
|
||||
<dd>{{ form.username }}</dd>
|
||||
|
Loading…
Reference in New Issue
Block a user