{% macro subfields(hidden_fields, fields, error_class, show_labels=True) -%}
{% for field in hidden_fields -%}
{% set ctx=widget.context_for(field) -%}
{{field.display(**ctx)}}
{%- endfor %}
{% for field in fields -%}
{% set ctx=widget.context_for(field) -%}
{% if show_labels and field.show_label -%}
{%- endif %}
{% if ctx.errors and field.show_errors -%}
{{ctx.errors}}
{%- endif %}
{{field.display(**ctx)}}
{%- endfor %}
{%- endmacro %}
{% macro table(field, repetitions, attrs=None) -%}
{% if col.show_label %}{{col.label}}{% endif %} | {%- endfor %}
---|