{# functions #} {% macro left_arrow(target,label) %} {{label}} {% endmacro %} {% macro right_arrow(target,label) %} {{label}} {% endmacro %} {% macro colorize(fgcolor=None, bgcolor=None, tag='span') -%} {% if not fgcolor and not bgcolor %} {{ caller() }} {% else %} {% set style = "" %} {% if fgcolor: %}{% set style = style ~ " color: " ~ fgcolor %}{% endif %} {% if bgcolor: %}{% set style = style ~ " background: " ~ bgcolor %}{% endif %} <{{tag}} style="{{style}}">{{caller()}}{{tag}}> {% endif %} {% endmacro %} {% macro render_form(form) %}