mirror of https://github.com/zulip/zulip.git
Use a Bootstrap alert class on failed login
(imported from commit d0e0048e4f3b99f9e2512c8b7f7249b6fa5201a3)
This commit is contained in:
parent
3ef5334d9b
commit
3e45bd2ccc
|
@ -9,7 +9,9 @@ autofocus('#id_username');
|
||||||
<h1>Log in</h1>
|
<h1>Log in</h1>
|
||||||
|
|
||||||
{% if form.errors %}
|
{% if form.errors %}
|
||||||
<p>Your username and password didn't match. Please try again.</p>
|
<div class="alert alert-error">
|
||||||
|
Your username and password didn't match. Please try again.
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form method="post" action="{% url django.contrib.auth.views.login %}?next={{ request.get_full_path }}">
|
<form method="post" action="{% url django.contrib.auth.views.login %}?next={{ request.get_full_path }}">
|
||||||
|
|
Loading…
Reference in New Issue