templates/contact/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Contact{% endblock %}
  3. {% block body %}
  4. <div class="container-fluid">
  5.         <div class="row d-flex justify-content-center align-items-center pb-3 pt-3">
  6.                 <h1>Contactez-nous</h1>
  7.                 <div class="col-sm-11 col-md-10 col-lg-8 col-xl-8 mb-8 ml-2 mt-md-3 noEffect">
  8.                         {{ form_start(form) }}
  9.                         <fieldset class="mb-3">
  10.                                 <legend class="h2">Vos coordonnées :</legend>
  11.                                 <hr class="mt-2">
  12.                                 <div class="row"><small>Tous les champs marqués d'une * sont obligatoires</small>
  13.                                         <div class="col-md-6 p-3">
  14.                                                 <div class="form-group">
  15.                                                         {{form_row(form.name)}}
  16.                                                 </div>
  17.                                         </div>
  18.                                         <div class="col-md-6 p-3">
  19.                                                 <div class="form-group">
  20.                                                         {{form_row(form.telephone)}}
  21.                                                 </div>
  22.                                         </div>
  23.                                 </div>
  24.                                 <div class="form-group">
  25.                                         {{form_row(form.email)}}
  26.                                 </div>
  27.                         </fieldset>
  28.         
  29.                         <fieldset>
  30.                                 <legend class="h2">Votre message :</legend>
  31.                                 <hr class="mt-2">
  32.                                 <div class="form-group">
  33.                                 {{form_row(form.message)}}
  34.                                 </div>
  35.                         </fieldset>
  36.                         <fieldset>
  37.                                 <hr class="mt-2">
  38.                                 <div class="form-group">
  39.                                 {{ form_widget(form.captcha) }}
  40.                                 </div>
  41.                         </fieldset>
  42.         
  43.                         <div class="d-flex flex-column flex-md-row justify-content-md-between">
  44.                                 <button type="submit" class="btn3 mb-3 mb-md-0">
  45.                                 <i class="fas fa-paper-plane mr-"></i>Envoyer<i class="fas fa-circle-notch fa-spin ml-2 d-none"></i>
  46.                                 </button>
  47.                         </div>
  48.                         {{ form_end(form) }}
  49.                 </div>
  50.         </div>
  51. </div>
  52. {% endblock %}