templates/home/blocks/full_page.html.twig line 1

Open in your IDE?
  1. <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 %}">
  2.     <div class="{% if page.hasFormApplication %}col-md-8{% else %}col-md-12{% endif%} txt">
  3.         <div class="d-flex align-items-center">
  4.             <div class="txt-blc">
  5.                 {% if data.title is defined and data.title %}
  6.                     <h2 class="blue">{{ data.title }}</h2>
  7.                 {% endif %}
  8.             </div>
  9.         </div>
  10.         
  11.         {% if data.text_with_editor is defined and data.text_with_editor is not empty %}
  12.             <div class="blue-dark pb-3">
  13.                 {{ data.text_with_editor.0|raw }}
  14.             </div>
  15.         {% endif %}
  16.     </div>
  17.     {% if page.hasFormApplication %}
  18.         <div class="col-xl-4 col-lg-12 col-md-12">
  19.             <h3>{{ 'application.application'|trans }}</h3>
  20.             {{ form_start(formApplication, {'attr': {'class': 'bg-blue-very-light pt-4 pb-4 pl-3 pr-3', 'id': 'formApplication'}}) }}
  21.                 {% for message in app.flashes('success') %}
  22.                     <p class="blue">{{ message }}</p>
  23.                 {% endfor %}
  24.                 <div class="row">
  25.                     <div class="col-md-6">
  26.                         {{ form_widget(formApplication.lastname) }}
  27.                     </div>
  28.                     <div class="col-md-6">
  29.                         {{ form_widget(formApplication.firstname) }}
  30.                     </div>
  31.                 </div>
  32.                 <div class="row mt-3">
  33.                     <div class="col-md-6">
  34.                         {{ form_widget(formApplication.email) }}
  35.                     </div>
  36.                     <div class="col-md-6">
  37.                         {{ form_widget(formApplication.phone) }}
  38.                     </div>
  39.                 </div>
  40.                 <div class="col-md-12 mt-3">
  41.                     {{ form_label(formApplication.langs) }}
  42.                     <div class="row">
  43.                         {% for lang in formApplication.langs %}
  44.                             <div class="col-3 col-md-3">
  45.                                 {{ form_row(lang) }}
  46.                             </div>
  47.                         {% endfor %}
  48.                     </div>
  49.                 </div>
  50.                 <div class="col-md-12">
  51.                     {{ form_label(formApplication.xp) }}
  52.                     <div class="row">
  53.                         {% for xp in formApplication.xp %}
  54.                             <div class="col-3 col-md-3">
  55.                                 {{ form_row(xp) }}
  56.                             </div>
  57.                         {% endfor %}
  58.                     </div>
  59.                 </div>
  60.                 <div class="row mt-3">
  61.                     <div class="col-md-12">
  62.                         {{ form_widget(formApplication.lastJob) }}
  63.                     </div>
  64.                 </div>
  65.                 <div class="row mt-3">
  66.                     <div class="col-md-12">
  67.                         {{ form_widget(formApplication.availablity) }}
  68.                     </div>
  69.                 </div>
  70.                 <div class="col-md-12 mt-3">
  71.                     {{ form_label(formApplication.isDriverLisence) }}
  72.                     <div class="row">
  73.                         {% for driverLisence in formApplication.isDriverLisence %}
  74.                             <div class="col-md-3">
  75.                                 {{ form_row(driverLisence) }}
  76.                             </div>
  77.                         {% endfor %}
  78.                     </div>
  79.                 </div>
  80.                 <div class="row mt-3">
  81.                     <div class="col-md-12">
  82.                         {{ form_widget(formApplication.message) }}
  83.                     </div>
  84.                 </div>
  85.                 <div class="mt-3 col-md-12 justify-content-end d-flex pr-0">
  86.                     <button class="btn-section blue-dark" type="submit">{{ 'form.send'|trans }}</button>
  87.                 </div>
  88.             {{ form_end(formApplication) }}
  89.         </div>
  90.     {% endif %}
  91. </section>