{% macro alert(content, type=None, alert_header=None, close_button=True) -%} {# type can be success, error (or danger), info. Defaults to a warning style. #}
{% if close_button -%} × {%- endif %} {% if alert_header -%}

{{ alert_header|safe }}

{%- endif %} {{ content|safe }}
{%- endmacro %} {% macro label(content, type='warning') -%} {{ content|safe }} {%- endmacro %} {# Inserts ".min" into css and javascript files if not in debug mode or if force_min is true #} {%- macro debugmin(force_min=False) -%}{% if not DEBUG or force_min %}.min{% endif %}{%- endmacro -%}