mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +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