{% if messages %}
    {% for message in messages %}
        <div class="alert {{ message.extra_tags }} alert-dismissible fade show m-3" role="alert">
            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" style="padding-top: .60rem"></button>
            {{ message|safe }}
        </div>
    {% endfor %}
{% endif %}
