mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-09 05:04:54 +00:00
Added a button to close the message pop-up (#2162)
Added a button to close the message pop-up
This commit is contained in:
commit
2e32f1ff67
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% endif %}">{{ message }}</div>
|
||||
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% endif %}">{{ message }}<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button></div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue