<section class="container block text-left-img-right mb-5 mt-5 {% if even == 1 %}first-section{% endif %} {% if page.hasFormApplication %}row align-items-center{% endif %}">
<div class="{% if page.hasFormApplication %}col-md-8{% else %}col-md-12{% endif%} txt">
<div class="d-flex align-items-center">
<div class="txt-blc">
{% if data.title is defined and data.title %}
<h2 class="blue">{{ data.title }}</h2>
{% endif %}
</div>
</div>
{% if data.text_with_editor is defined and data.text_with_editor is not empty %}
<div class="blue-dark pb-3">
{{ data.text_with_editor.0|raw }}
</div>
{% endif %}
</div>
{% if page.hasFormApplication %}
<div class="col-xl-4 col-lg-12 col-md-12">
<h3>{{ 'application.application'|trans }}</h3>
{{ form_start(formApplication, {'attr': {'class': 'bg-blue-very-light pt-4 pb-4 pl-3 pr-3', 'id': 'formApplication'}}) }}
{% for message in app.flashes('success') %}
<p class="blue">{{ message }}</p>
{% endfor %}
<div class="row">
<div class="col-md-6">
{{ form_widget(formApplication.lastname) }}
</div>
<div class="col-md-6">
{{ form_widget(formApplication.firstname) }}
</div>
</div>
<div class="row mt-3">
<div class="col-md-6">
{{ form_widget(formApplication.email) }}
</div>
<div class="col-md-6">
{{ form_widget(formApplication.phone) }}
</div>
</div>
<div class="col-md-12 mt-3">
{{ form_label(formApplication.langs) }}
<div class="row">
{% for lang in formApplication.langs %}
<div class="col-3 col-md-3">
{{ form_row(lang) }}
</div>
{% endfor %}
</div>
</div>
<div class="col-md-12">
{{ form_label(formApplication.xp) }}
<div class="row">
{% for xp in formApplication.xp %}
<div class="col-3 col-md-3">
{{ form_row(xp) }}
</div>
{% endfor %}
</div>
</div>
<div class="row mt-3">
<div class="col-md-12">
{{ form_widget(formApplication.lastJob) }}
</div>
</div>
<div class="row mt-3">
<div class="col-md-12">
{{ form_widget(formApplication.availablity) }}
</div>
</div>
<div class="col-md-12 mt-3">
{{ form_label(formApplication.isDriverLisence) }}
<div class="row">
{% for driverLisence in formApplication.isDriverLisence %}
<div class="col-md-3">
{{ form_row(driverLisence) }}
</div>
{% endfor %}
</div>
</div>
<div class="row mt-3">
<div class="col-md-12">
{{ form_widget(formApplication.message) }}
</div>
</div>
<div class="mt-3 col-md-12 justify-content-end d-flex pr-0">
<button class="btn-section blue-dark" type="submit">{{ 'form.send'|trans }}</button>
</div>
{{ form_end(formApplication) }}
</div>
{% endif %}
</section>