src/Resources/views/Frontend/wiki/recruitment_apply.html.twig line 1

Open in your IDE?
  1. {% extends app.request.isXmlHttpRequest ? 'ajax.html.twig' : 'frontend/frontend.html.twig' %}
  2. {% block meta_robot %}
  3.     {{ parent() }}
  4.     <link rel="canonical" href="{{ url('frontend_recruitment_apply') }}"/>
  5.     {{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
  6. {% endblock %}
  7. {% block body_content %}
  8. <div class="Recommandation">
  9.     <h2>{{ 'frontend.wiki.recruitment_apply.modal.title'|trans }}</h2>
  10.         <form action="{{ path('frontend_recruitment_apply')}}" enctype="multipart/form-data" method="POST">
  11.         <div class="infoForm">
  12.             <p class="global-errors-container">{{ form_errors(form) }}</p>
  13.             <p>
  14.                 {{ form_errors(form.lastName) }}
  15.                 {{ form_label(form.lastName) }}
  16.                 {{ form_widget(form.lastName) }}
  17.             </p>
  18.             <p>
  19.                 {{ form_errors(form.firstName) }}
  20.                 {{ form_label(form.firstName) }}
  21.                 {{ form_widget(form.firstName) }}
  22.             </p>
  23.             <p>
  24.                 {{ form_errors(form.email) }}
  25.                 {{ form_label(form.email) }}
  26.                 {{ form_widget(form.email) }}
  27.             </p>
  28.             <p>
  29.                 {% if wiki.subject is not defined %}
  30.                     {% set value = '' %}
  31.                 {% else %}
  32.                     {% set value = wiki.subject %}
  33.                 {% endif %}
  34.                 {{ form_errors(form.job) }}
  35.                 {{ form_label(form.job) }}
  36.                 {{ form_widget(form.job, {'attr': {'value': value}}) }}
  37.             </p>
  38.             <p>
  39.                 {{ form_errors(form.message) }}
  40.                 {{ form_label(form.message) }}
  41.                 {{ form_widget(form.message) }}
  42.             </p>
  43.             <p>
  44.                 {{ form_errors(form.cv) }}
  45.                 {{ form_label(form.cv) }}
  46.                 {{ form_widget(form.cv) }}
  47.             </p>
  48.             <p>
  49.                 {{ form_errors(form.coverLetter) }}
  50.                 {{ form_label(form.coverLetter) }}
  51.                 {{ form_widget(form.coverLetter) }}
  52.             </p>
  53.             <p>
  54.                 {{ form_errors(form.recaptcha) }}
  55.                 {{ form_widget(form.recaptcha) }}
  56.             </p>
  57.             {{ form_rest(form) }}
  58.             <p class="txtcenter"><input type="submit" value="{{ 'frontend.wiki.recruitment_apply.modal.submit'|trans }}" class="btn06" /></p>
  59.         </div>
  60.     </form>
  61. </div>
  62. {% endblock body_content %}