This commit is contained in:
Holger Sielaff
2024-09-21 12:33:00 +02:00
parent be447f4862
commit 5b1c2ce0c9
5 changed files with 15 additions and 4 deletions

View File

@@ -34,11 +34,18 @@
}
</style>
{% if messages %}
<ul class="messages">
<div class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
<div{% if message.tags %} class="alert alert-{{ message.tags }} alert-dismissible fade show"{% endif %} onclick="$(this).fadeOut('slow');">
{{ message }}
<!--
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
-->
</div>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="form_wrapper">
<form method="post" action="?">