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