{% load ext_theme_tags %} {% comment %} This template is used by the base template to provide a list of messages on the top of the page. Django default level notifications are treated as temporary messages, using SUI toast messages instead of block elements in the page content pane. {% endcomment %} {% if messages %} {% for message in messages %} {% comment %} This is a little bit of a hack, as toasts are purely JS and don't require an underlying element. Django messages uses "tags" to specify info/success/error classes on the messages, which just happen to align with SUI classes too. {% endcomment %} {# fmt:off #} {% spaceless %}
{% endspaceless %} {# fmt:on #} {% endfor %} {% endif %}