{% import 'macros.html' as macros with context %} {% include "head.html" %}
{% with messages = get_flashed_messages(category_filter=['login_noerror']) %} {{ macros.render_notification('error-notifications', 'fa-info-circle', 'success', _('information'), messages) if messages }} {% endwith %} {% with messages = get_flashed_messages(category_filter=['login']) %} {{ macros.render_notification('error-notifications', 'fa-exclamation-triangle', 'error', _('error'), messages) if messages }} {% endwith %} {{ macros.render_notification('custom-notifications', 'fa-info-circle', 'success', _('notification'), [notification]) if notification }}