{% block form_row %}
{{ form_label(form) }} {{ form_widget(form) }} {{ form_help(form) }} {{ form_errors(form) }}
{% endblock %} {% block form_help %} {% if help is not empty %}

{{ help|trans(help_translation_parameters, translation_domain) }}

{% endif %} {% endblock %} {% block form_label %} {% if label is not same as(false) -%} {% if required -%} {% set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' required')|trim}) %} {%- endif %} {% if label is empty -%} {% set label = name|humanize %} {%- endif -%} {{ label|trans(label_translation_parameters, translation_domain) }} {%- endif %} {% endblock %} {% block checkbox_label %} {{ label|trans(label_translation_parameters, translation_domain) }} {% endblock %} {% block form_widget_simple %} {% set type = type|default('text') %} {% if type == 'file' %} {% else %} {% endif %} {% endblock %} {% block textarea_widget %} {% endblock %} {% block choice_widget_expanded %}
{%- for child in form %}
{{- form_widget(child) -}} {{- form_label(child) -}}
{% endfor -%}
{% endblock %} {% block choice_widget_collapsed %} {% endblock %} {% block checkbox_widget %} {% endblock %} {% block radio_widget %} {% endblock %} {% block form_errors %} {% if errors|length > 0 %} {% endif %} {% endblock %}