{# Forms macros for rendering forms and fields and stuff in templates. #} {% macro hidden_fields(form) -%} {% for field in form.hidden_fields() %} {% endfor %} {%- endmacro %} {% macro row(_field, label=None, help_text=None, width=9, attrs=None) -%}
{{ error }}
{% endfor %} {% if 'inline' in attrs or _field.field.widget.__class__.__name__ != 'CheckboxInput' %} {% if help_text %}{{ help_text }}
{% elif _field.help_text %}{{ _field.help_text }}
{% endif %} {% endif %}