Add login error message
This commit is contained in:
parent
c5750a5b44
commit
db86431b48
1 changed files with 9 additions and 1 deletions
|
@ -2,8 +2,16 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
<noscript>
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
Javascript is disabled or unavailable in your browser, but is needed for this application to work properly. Please enable Javascript in your browser or use a different browser.
|
||||||
|
</div>
|
||||||
|
</noscript>
|
||||||
|
|
||||||
{% if form.errors %}
|
{% if form.errors %}
|
||||||
<p>Your username and password didn't match. Please try again.</p>
|
<div class="alert alert-danger">
|
||||||
|
Your username and password didn't match. Please try again or click <a href="/accounts/password_reset">"Lost password?"</a> to reset your password.
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if next %}
|
{% if next %}
|
||||||
|
|
Loading…
Reference in a new issue