{# was wtf.html in Flask-Bootstrap #} {% macro form_errors(form, hiddens=True) %} {%- if form.errors %} {%- for fieldname, errors in form.errors.items() %} {%- if is_hidden_field(form[fieldname]) and hiddens or not is_hidden_field(form[fieldname]) and hiddens != 'only' %} {%- for error in errors %}
{{error}}
{%- endfor %} {%- endif %} {%- endfor %} {%- endif %} {%- endmacro %} {% macro _hz_form_wrap(horizontal_columns, form_type, add_group=False, required=False) %} {% if form_type == "horizontal" %} {% if add_group %}