{% macro badge(text, use_raw, class) %} {{ use_raw|default(false) ? text|raw : text }} {% endmacro %} {% macro label(text, type, use_raw, block) %} {% set tag = block|default(false) ? 'div' : 'span' %} <{{ tag }} class="label {{ type|default(false) ? 'label-'~type: 'label-default' }}">{{ use_raw|default(false) ? text|raw : text }}{{ tag }}> {% endmacro %} {% macro progressBar(class, width) %}