+ {% if type == 'error' %}
+
+ {% endif %}
+ {% if status_headings[type] %}
+
{{ status_headings[type] }}
+ {% endif %}
+ {% if messages|length > 1 %}
+
+ {% for message in messages %}
+ - {{ message }}
+ {% endfor %}
+
+ {% else %}
+
{{ messages|first }}
+ {% endif %}
+ {% if type == 'error' %}
+
+ {% endif %}
+