Change _messages fragment to have default of alert-info instead of bg-base-100

This commit is contained in:
badblocks 2025-03-17 15:22:46 -07:00
parent 86c7eba10a
commit c77e32a82d
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{% if messages %}
<div class="flex flex-col gap-2">
{% for message in messages %}
<div class="alert alert-{{ message.tags }} bg-base-100 mb-4 flex justify-between items-center">
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% else %}alert-info{% endif %} mb-4 flex justify-between items-center">
<span>{{ message }}</span>
<button class="btn btn-xs btn-circle" onclick="this.parentElement.remove();" aria-label="Dismiss"></button>
</div>