{# macros to create form fields #} {% macro field(type, name, label="", value=none, class='', help="", required=false, icon_left=none, icon_right=none, attrs=none) %} {# generic field "class" keyword can be used to add classes additional kwargs will be passed as attributes #}
{{help}}
{% endif %} {% if caller %} {{ caller() }} {% endif %}