{% block form_row %} {% spaceless %}
{% if attr.class is not defined or ('cf-title' not in attr.class and 'cf-fields' not in attr.class ) %} {{ form_label(form) }} {% endif %}
{{ form_widget(form) }} {{ form_errors(form) }}
{% endspaceless %} {% endblock form_row %} {% block choice_widget_expanded %} {% spaceless %}
{% for child in form %} {{ form_widget(child) }} {{ form_label(child, '', {'label_attr': { 'class' : 'inline'} }) }} {% endfor %}
{% endspaceless %} {% endblock choice_widget_expanded %} {% block choice_with_other_widget %} {% spaceless %} {% for child in form._choices %}
{{ form_widget(child) }} {{ form_label(child, '', {'label_attr': { 'class' : 'inline'} }) }}
{% endfor %} {{ form_widget(form._other, {'attr': {'class': 'input-text-other-value'} }) }} {% endspaceless %} {% endblock choice_with_other_widget %} {% block date_widget %} {% spaceless %} {% if widget == 'single_text' %} {% set attr = {'class' : 'input datepicker'} %} {{ block('form_widget_simple') }} {% else %}
{{ date_pattern|replace({ '{{ year }}': form_widget(form.year ), '{{ month }}': form_widget(form.month ), '{{ day }}': form_widget(form.day ), })|raw }}
{% endif %} {% endspaceless %} {% endblock date_widget %} {% block form_errors %} {% spaceless %} {% if errors|length > 0 %} {% endif %} {% endspaceless %} {% endblock form_errors %}