{% macro _render_errors(errors) -%} {%- endmacro %} {% macro form_header(method='post', action='', orientation='horizontal', id=none, classes='', multipart=False) -%}
{%- endmacro %} {% macro form_row_static(label='', content=none, single_row=true) -%}
{% if label %} {% endif %}
{{ content or caller() }}
{%- endmacro %} {% macro form_field(field, field_classes, widget_attrs={}) -%}
{{ _render_field(field, widget_attrs) }} {% if field.widget.input_type == 'checkbox' %}
{{ field.label() }}
{% endif %} {% if field.description %}

{{ field.description | safe }}

{% endif %}
{%- endmacro %} {% macro form_row(field, widget_attrs={}, orientation='') %}
{%- if field.widget.input_type != 'checkbox' -%} {{ field.label() }} {%- endif -%} {%- if field.flags.required %}*{% endif -%}
{{ form_field(field, "form-field form-block", widget_attrs) }}
{%- endmacro %} {% macro form_rows(form, fields=none, skip=(), orientation='', widget_attrs={}) %} {% for field in form.visible_fields %} {% if (fields is none or field.short_name in fields) and field.short_name not in skip %} {{ form_row(field, widget_attrs.get(field.short_name, {}), orientation) }} {% endif %} {% endfor %} {% endmacro %} {% macro form_footer() -%} {% if caller %} {% endif %}
{% endmacro %} {% macro form_fieldset(legend, description=none, disabled=false) %} {{ legend }} {% if description %}

{{ description }}

{% endif %} {{ caller() }} {% endmacro %}