templates/pages/page.contactez-nous.html.twig line 1

  1. {% extends 'base.html.twig' %}
  2. {% block title %}{{ settings[0].siteName }} : {{ page.name }}{% endblock %}
  3. {% block body %}
  4.     {% include '_includes/_breadcrumbs.html.twig' %}
  5.     <div class="container pt-5">
  6.         <div class="row d-flex justify-content-center mb-4">
  7.             <div class="col-lg-6 col-sm-12 text-center">
  8.                 <h4 class="text-uppercase fw-bold color1">{{ page.title|raw }}</h4>
  9.                 <p class="small color2">{{ page.subtitle|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}
  10.                 </p>
  11.             </div>
  12.         </div>
  13.     </div>
  14.     <div class="container mb-3">
  15.         <div class="row d-flex justify-content-center">
  16.             <div class="col-lg-8 col-sm-12">
  17.                 {{ form_start(form) }}
  18.                     {% for message in app.flashes('success') %}
  19.                         <div class="alert alert-success alert-dismissible fade show" role="alert">
  20.                             {{ message }}
  21.                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  22.                         </div>
  23.                     {% endfor %}
  24.                     <div class="bg-danger">
  25.                         {{ form_errors(form) }}
  26.                     </div>
  27.                     <div class="row">
  28.                         <div class="col-lg-6 col-sm-12">
  29.                             {{ form_row(form.nom) }}
  30.                         </div>
  31.                         <div class="col-lg-6 col-sm-12">
  32.                             {{ form_row(form.prenom) }}
  33.                         </div>
  34.                     </div>
  35.                     <div class="row">
  36.                         <div class="col-lg-6 col-sm-12">
  37.                             {{ form_row(form.telephone) }}
  38.                         </div>
  39.                         <div class="col-lg-6 col-sm-12">
  40.                             {{ form_row(form.email) }}
  41.                         </div>
  42.                     </div>
  43.                     <div class="row">
  44.                         <div class="col">
  45.                             {{ form_row(form.sujet) }}
  46.                         </div>
  47.                     </div>
  48.                     <div class="row">
  49.                         <div class="col">
  50.                             {{ form_row(form.message) }}
  51.                         </div>
  52.                     </div>
  53.                     <div class="row">
  54.                         <div class="col text-small">
  55.                             Merci de recopier le code antispam :
  56.                             <span class="ms-2">{{ form_row(form.captcha) }}</span>
  57.                         </div>
  58.                     </div>
  59.                     <p style="font-size: 0.7rem;">*Champs obligatoires</p>
  60.                     <div class="mb-3 text-center">
  61.                         <button type="submit" class="button">Envoyer le message</button>
  62.                     </div>
  63.                 {{ form_end(form) }}
  64.             </div>
  65.         </div>
  66.     </div>
  67.     <div class="container py-4">
  68.         <div class="row g-5">
  69.             {% for cab in cabinets %}
  70.                 <div class="col-lg-6 col-sm-12 text-center">
  71.                     <img src="{{ asset('assets/img/cabinets/' ~ cab.map ) }}" alt="{{ cab.title }}" class="img-fluid" style="">
  72.                     <div class="bgcolor-1 d-flex flex-column justify-content-center align-items-center" style="height: 250px;">
  73.                         <h4 class="text-white text-uppercase fw-bold">{{ cab.title }}</h4>
  74.                         <p class="text-small color3 mt-3">
  75.                             {{ cab.adresse }}<br>
  76.                             {{ cab.cp }} {{ cab.ville }}<br>
  77.                             {{ cab.telephone }}<br>
  78.                             {{ cab.fax }}
  79.                         </p>
  80.                     </div>
  81.                 </div>
  82.             {% endfor %}
  83.         </div>
  84.     </div>
  85. {% endblock %}