{% with messages = get_flashed_messages(with_categories=True) %} {% if messages %} {% for category, message in messages %} {%if category == 'error'%} {%set alert_class = 'bg-danger'%} {%elif category == 'warning'%} {%set alert_class = 'bg-warning'%} {%elif category in ['warning']%} {%set alert_class = 'bg-warning'%} {%else%} {%set alert_class = 'bg-primary'%} {%endif%} {% endfor %} {% endif %} {% endwith %} {% if get_setting('ACTIVE_ICONSET') == 'fa'%} {%else%} {%endif%} {%include 'sneat/sections/resource_head.html'%} {%block head%}{%endblock%}
{%block content%} {%endblock%}
{%include 'sneat/sections/resource_end_body.html' %}