app/views/_common/_components/flash.volt: update to bootstrap 5.2.0 syntax.
This commit is contained in:
parent
b50e95231c
commit
1329bf82ed
1 changed files with 3 additions and 6 deletions
|
|
@ -10,12 +10,9 @@
|
|||
{% for type, messages in flash.getMessages() %}
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-{{ types[type] }} alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
|
||||
<strong>{{ type|capitalize }}</strong>
|
||||
<p>
|
||||
{{ message }}
|
||||
</p>
|
||||
<h5 class="alert-heading">{{ type|capitalize }}</h5>
|
||||
<p class="mb-0">{{ message }}</p>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
||||
</div>
|
||||
{% endfor%}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Reference in a new issue