Template source: base_message_layout.html

{% load static i18n alia_extras %} {% for message in messages %} <div class="alert {{ message.tags|django_message_tag_to_boostrap_class }} mb-2" role="alert"> {% trans message.message %} <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true"><i class="material-icons">close</i></span> </button> </div> {% endfor %}