{% extends app.request.isXmlHttpRequest ? 'ajax.html.twig' : 'frontend/frontend.html.twig' %}
{% block meta_robot %}
{{ parent() }}
<link rel="canonical" href="{{ url('frontend_recruitment_apply') }}"/>
{{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
{% endblock %}
{% block body_content %}
<div class="Recommandation">
<h2>{{ 'frontend.wiki.recruitment_apply.modal.title'|trans }}</h2>
<form action="{{ path('frontend_recruitment_apply')}}" enctype="multipart/form-data" method="POST">
<div class="infoForm">
<p class="global-errors-container">{{ form_errors(form) }}</p>
<p>
{{ form_errors(form.lastName) }}
{{ form_label(form.lastName) }}
{{ form_widget(form.lastName) }}
</p>
<p>
{{ form_errors(form.firstName) }}
{{ form_label(form.firstName) }}
{{ form_widget(form.firstName) }}
</p>
<p>
{{ form_errors(form.email) }}
{{ form_label(form.email) }}
{{ form_widget(form.email) }}
</p>
<p>
{% if wiki.subject is not defined %}
{% set value = '' %}
{% else %}
{% set value = wiki.subject %}
{% endif %}
{{ form_errors(form.job) }}
{{ form_label(form.job) }}
{{ form_widget(form.job, {'attr': {'value': value}}) }}
</p>
<p>
{{ form_errors(form.message) }}
{{ form_label(form.message) }}
{{ form_widget(form.message) }}
</p>
<p>
{{ form_errors(form.cv) }}
{{ form_label(form.cv) }}
{{ form_widget(form.cv) }}
</p>
<p>
{{ form_errors(form.coverLetter) }}
{{ form_label(form.coverLetter) }}
{{ form_widget(form.coverLetter) }}
</p>
<p>
{{ form_errors(form.recaptcha) }}
{{ form_widget(form.recaptcha) }}
</p>
{{ form_rest(form) }}
<p class="txtcenter"><input type="submit" value="{{ 'frontend.wiki.recruitment_apply.modal.submit'|trans }}" class="btn06" /></p>
</div>
</form>
</div>
{% endblock body_content %}