templates/contact/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% set active = 'contact'%}
  3. {% block body %}
  4.     <section class="breadcrumbs" data-aos="fade-in">
  5.         <div class="container text-center">
  6.             <h2>Nous contacter</h2>
  7.         </div>
  8.     </section>
  9.     <section id="contact" class="contact">
  10.         <div class="container" data-aos="fade-up">
  11.             <header class="section-header">
  12.                 {% for message in app.flashes('msg') %}
  13.                     <div class="alert alert-success alert-dismissible fade show" role="alert">
  14.                         <strong>{{message}}</strong>
  15.                     </div>
  16.                 {% endfor %}
  17.                 {# <p>Contact</p> #}
  18.             </header>
  19.             <div class="row gy-4">
  20.                 <div class="col-lg-5">
  21.                     <div id="map" style="border:0; width: 100%; height: 450px;"></div>
  22.                 </div>
  23.                 <div class="col-lg-7">
  24.                     {{ form_start(form) }}
  25.                     <div class="row gy-4">
  26.                         <div class="col-md-6">
  27.                             <label>Civilité</label>
  28.                             {{ form_widget(form.civilite) }}
  29.                         </div>
  30.                         <div class="col-md-6 ">
  31.                             <label>Nom</label>
  32.                             {{ form_widget(form.nom) }}
  33.                         </div>
  34.                         <div class="col-md-6">
  35.                             <label>Email</label>
  36.                             {{ form_widget(form.email) }}
  37.                         </div>
  38.                         <div class="col-md-6 ">
  39.                             <label>Téléphone</label>
  40.                             {{ form_widget(form.telephone) }}
  41.                         </div>
  42.                         <div class="col-md-12">
  43.                             {{ form_widget(form.requete) }}
  44.                         </div>
  45.                         <div class="col-md-12">
  46.                             <label>Objet</label>
  47.                             {{ form_widget(form.objet) }}
  48.                         </div>
  49.                         <div class="col-md-12">
  50.                             <label>Message</label>
  51.                             {{ form_widget(form.message) }}
  52.                         </div>
  53.                         <div class="col-md-12 text-center">
  54.                             {{ form_start(form) }}
  55.                             <div class="php-email-form text-center">
  56.                                 <button type="submit">Envoyer Message</button>
  57.                             </div>
  58.                         </div>
  59.                     </div>
  60.                     {{ form_end(form) }}
  61.                 </div>
  62.             </div>
  63.         </section>
  64.     {% endblock %}