{% load i18n adminlte %} {# Django messages framework -> dismissible AdminLTE/Bootstrap alerts. Level→class mapping is done in the filter, so it works regardless of the project's MESSAGE_TAGS (error is mapped to Bootstrap's "danger"). #} {% if messages %}
{% endif %}