FreedomBox/plinth/templates/messages.html
Sunil Mohan Adapa 5b299068a8
views: Fix alignment of close button in error messages
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-03-19 11:46:13 -04:00

16 lines
396 B
HTML

{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% for message in messages %}
<div class='alert alert-{{ message.tags }} alert-dismissible'>
{{ message }}
<button type="button" class="close" data-dismiss="alert"
aria-label="{% trans "Close" %}">
<span aria-hidden="true">&times;</span>
</button>
</div>
{% endfor %}