{% set path = path ?? null %} {% set path_list = path_list ?? null %} {% set label_btn = label_btn ?? '' %} {% set title = title ?? '' %}

{{ title }}

{{ form_label(form.civility) }} {{ form_widget(form.civility, {'attr': {'data-class': 'civility', 'class': 'form-control'}}) }} {{ form_errors(form.civility) }}
{{ form_label(form.firstName) }} {{ form_widget(form.firstName, {'attr': {'data-class': 'firstName', 'class': 'form-control'}}) }} {{ form_errors(form.firstName) }}
{{ form_label(form.lastName) }} {{ form_widget(form.lastName, {'attr': {'data-class': 'lastName', 'class': 'form-control'}}) }} {{ form_errors(form.lastName) }}
{{ form_label(form.email) }} {{ form_widget(form.email, {'attr': {'data-class': 'email', 'class': 'form-control'}}) }} {{ form_errors(form.email) }}
{{ form_label(form.phone) }} {{ form_widget(form.phone, {'attr': {'data-class': 'phone', 'class': 'form-control'}}) }} {{ form_errors(form.phone) }}
{{ form_label(form.address) }} {{ form_widget(form.address, {'attr': {'data-class': 'address', 'class': 'form-control'}}) }} {{ form_errors(form.address) }}
{{ form_label(form.country) }} {{ form_widget(form.country, {'attr': {'data-class': 'country', 'class': 'form-control'}}) }} {{ form_errors(form.country) }}
{{ form_label(form.city) }} {{ form_widget(form.city, {'attr': {'data-class': 'city', 'class': 'form-control'}}) }} {{ form_errors(form.city) }}
{% for child in form.paymentType %} {% endfor %}
{% if form.agencyId is defined %} {% set first = true %} {{ form_label(form.agencyId) }}
{% for agency in form.agencyId %} {{ form_widget(agency, {attr: {checked: first ?? false}}) }} {{ agency.vars.label }}
{% set first = false %} {% endfor %} {% endif %}