Add login error message

This commit is contained in:
Kumi 2019-01-13 11:24:35 +01:00
parent c5750a5b44
commit db86431b48

View file

@ -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 %}