Bootstrapify alerts in login page
This commit is contained in:
parent
c5f539e5e8
commit
bef927d2ae
1 changed files with 6 additions and 3 deletions
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue