{% for section in sections %}

{{ section.contact|upper }}

{{ section.contactTitle|upper }}

{% endfor %}
{% for company in companies %}

Horaires :

De {{company.startDate|format_datetime(pattern="LLLL", locale='fr') }} à {{company.endDate|format_datetime(pattern="LLLL", locale='fr') }}

Adresse :

{{company.address}}

{% endfor %}
{{ form_start(formContact, {'attr': {'novalidate': 'novalidate', 'id':"contact_form" , 'class':"email-form"} }) }} {% block flash %} {% include 'base/flash.html.twig' %} {% endblock %}

Tous les champs sont requis. Merci !

{{ form_row(formContact.firstname, {'attr': {'placeholder': "Prénom", 'class':"form-control", 'id':"firstname"}})}}
{{ form_row(formContact.lastname, {'attr': {'placeholder': "Nom", 'class':"form-control", 'id':"lastname"}})}}
{{ form_row(formContact.email, {'attr': {'placeholder': "Adresse mail", 'class':"form-control", 'id':"email"}})}}
{{ form_row(formContact.phone, {'attr': {'placeholder': "Numéro de téléphone", 'class':"form-control", 'id':"phone"}})}}
{{ form_row(formContact.message, {'attr': {'placeholder': "Message", 'class':"form-control", 'id':"message"}})}}

{{ form_widget(formContact.terms, {'attr': {'class': 'float-right'}}) }}
{{ form_label(formContact.terms, 'En soumettant ce formulaire, j\'accepte que les informations saisies soient stockées et utilisées pour permettre une bonne prise en charge de ma demande.', {'label_attr': {'class': 'terms'}}) }}
{{ form_rest(formContact) }} {{ form_errors(formContact) }}
{{ form_end(formContact) }}
{% block javascripts %} {{ encore_entry_script_tags('contact_phone') }} {{ encore_entry_script_tags('form_validation') }} {% endblock %}