{% for section in sections %}

{{ section.econtact|upper }}

{{ section.econtactTitle|upper }}

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

Hours :

From {{company.startDate|format_datetime(pattern="LLLL", locale='en') }} to {{company.endDate|format_datetime(pattern="LLLL", locale='en') }}

Address:

{{company.eaddress}}

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

All fields are required. Thank you!!

{{ form_row(formContact.firstname, {'attr': {'placeholder': "First name", 'class':"form-control", 'id':"firstname"}})}}
{{ form_row(formContact.lastname, {'attr': {'placeholder': "Last Name", 'class':"form-control", 'id':"lastname"}})}}
{{ form_row(formContact.email, {'attr': {'placeholder': "Email address", 'class':"form-control", 'id':"email"}})}}
{{ form_row(formContact.phone, {'attr': {'placeholder': "Phone number", '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, 'By submitting this form, I agree that the information submitted will be stored and used only for handling my request.', {'label_attr': {'class': 'terms'}}) }}
{{ form_rest(formContact) }} {{ form_errors(formContact) }}
{{ form_end(formContact) }}
{% block javascripts %} {{ encore_entry_script_tags('econtact_phone') }} {{ encore_entry_script_tags('e_form_validation') }} {% endblock %}