Bootstrapify alerts in login page

This commit is contained in:
Kumi 2019-01-17 09:23:13 +01:00
parent c5f539e5e8
commit bef927d2ae

View file

@ -16,10 +16,13 @@
{% if next %}
{% if user.is_authenticated %}
<p>Your account doesn't have access to this page. To proceed,
please login with an account that has access.</p>
<div class="alert alert-warning">
Your account doesn't have access to this page. To proceed, please login with an account that has access.
</div>
{% else %}
<p>Please login to see this page.</p>
<div class="alert alert-info">
Please login to see this page.
</div>
{% endif %}
{% endif %}