{% macro form_help(field) %} {% if field.description %}
{{ field.description }}
{% endif %} {% endmacro %} {% macro form_label(field) %} {% endmacro %} {% macro form_errors(field) %} {% endmacro %} {% macro form_input(field) %} {{ field }} {% endmacro %} {% macro form_field(field) %}
{{ form_label(field) }} {{ form_input(field) }} {{ form_help(field) if field.description else '' }} {{ form_errors(field) if field.errors else '' }}
{% endmacro %} {% macro checkbox_input(field) %}
{{ form_input(field) }} {{ form_label(field) }}
{% endmacro %} {% macro checkbox_field(field) %}
{{ checkbox_input(field) }} {{ form_help(field) if field.description else '' }} {{ form_errors(field) if field.errors else '' }}
{% endmacro %} {% macro radio_input(field) %}
{% for element in field %} {% endfor %}
{% endmacro %} {% macro radio_field(field) %}
{{ form_label(field) }} {{ radio_input(field) }} {{ form_help(field) if field.description else '' }} {{ form_errors(field) if field.errors else '' }}
{% endmacro %} {% macro list_field_item(form) %}
{{ form }}
{% endmacro %} {% macro list_field(field) %}
{{ form_label(field) }}
{% for form in field %} {% endfor %}
{% endmacro %} {% macro embed_field(field) %}
{{ form_label(field) }}
{% for form in field %} {{ form.render() }} {% endfor %}
{% endmacro %} {% macro embed_many_field_item(form) %}
{% for form_field in form %} {{ form_field.render() }} {% endfor %}
{% endmacro %} {% macro embed_many_field(field) %}
{{ form_label(field) }}
{% for form in field %} {% endfor %}
{% endmacro %}