templates/default/contact.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Hello DefaultController!{% endblock %}
  3. {% block body %}
  4. <div class="page-title-area">
  5.         <div class="d-table">
  6.             <div class="d-table-cell">
  7.                 <div class="container">
  8.                     <div class="page-title-content">
  9.                         <h2>Nous contacter</h2>
  10.                         <ul>
  11.                             <li><a href="{{path('app_default')}}">Accueil</a>
  12.                             </li>
  13.                             <li>Contact</li>
  14.                         </ul>
  15.                     </div>
  16.                 </div>
  17.             </div>
  18.         </div>
  19.     </div>
  20.     <!-- End Page Title Area -->
  21.     
  22.     <!-- Start Contact Section -->
  23.     <div class="contact-section section-padding">
  24.         <div class="container">
  25.             <div class="row">
  26.                 <div class="col-lg-4 col-md-12">
  27.                     <div class="contact-information-box-3">
  28.                         <div class="row">
  29.                             <div class="col-lg-12 col-md-12 col-sm-12">
  30.                                 <div class="single-contact-info-box">
  31.                                     <div class="contact-info">
  32.                                         <h6 style="font-weight:bold">Adresse:</h6>
  33.                                         <p>2 rue de Montvaux,</p>
  34.                                         <p>57865, AMANVILLERS</p>
  35.                                     </div>
  36.                                     <div class="contact-info-bg-icon">
  37.                                         <i class="pe-7s-map-marker"></i>
  38.                                     </div>
  39.                                 </div>
  40.                             </div>
  41.                             <div class="col-lg-12 col-md-12 col-sm-12">
  42.                                 <div class="single-contact-info-box">
  43.                                     <div class="contact-info">
  44.                                         <h6 style="font-weight:bold">Téléphone :</h6>
  45.                                         <p><a href="tel:0033387645258">03 87 64 52 58</a></p>
  46.                                         <p><a href="tel:0033785864783">07 85 86 47 83</a></p>
  47.                                     </div>
  48.                                     <div class="contact-info-bg-icon">
  49.                                         <i class="pe-7s-call"></i>
  50.                                     </div>
  51.                                 </div>
  52.                             </div>
  53.                             <div class="col-lg-12 col-md-12 col-sm-12">
  54.                                 <div class="single-contact-info-box">
  55.                                     <div class="contact-info">
  56.                                         <h6 style="font-weight:bold">Email:</h6>
  57.                                         <p><a href="mailto:jkcformations@gmail.com ">jkcformations@gmail.com </a></p>
  58.                                     </div>
  59.                                     <div class="contact-info-bg-icon">
  60.                                         <i class="pe-7s-mail"></i>
  61.                                     </div>
  62.                                 </div>
  63.                             </div>
  64.                         </div>
  65.                     </div>
  66.                 </div>
  67.                 <div class="col-lg-8 col-md-12">
  68.                     <div class="contact-form contact-form-3">
  69.                         
  70.                         {% if app.request.get('message') %}
  71.                         {% if app.request.get('message') == 'success' %}
  72.                         <div class="alert alert-success" role="alert">
  73.                             Votre message a bien été envoyé, vous serez recontacté dans les 24h.
  74.                             </div>
  75.                         {% else %}
  76.                         <div class="alert alert-danger" role="alert">
  77.                             Une erreur s'est produite lors de l'envoi du message. Merci de nous contacter par téléphone.
  78.                             </div>
  79.                         {% endif %}
  80. {% endif %}
  81.                         <form id="contact-form" class="form" action="{{path('envoiMail')}}" method="POST">
  82.                             <div class="row">
  83.                                 <div class="col-lg-6 col-md-12">
  84.                                     <div class="form-group">
  85.                                         <input type="text" name="nom" id="name" class="form-control" required placeholder="Votre Nom"> </div>
  86.                                 </div>
  87.                                 <div class="col-lg-6 col-md-12">
  88.                                     <div class="form-group">
  89.                                         <input type="text" name="prenom" id="subject" class="form-control" required placeholder="Votre Prénom"> </div>
  90.                                 </div>
  91.                                 <div class="col-lg-6 col-md-12">
  92.                                     <div class="form-group">
  93.                                         <input type="text" name="tel" id="phone" required class="form-control" placeholder="Votre Téléphone"> </div>
  94.                                 </div>
  95.                                 <div class="col-lg-6 col-md-12">
  96.                                     <div class="form-group">
  97.                                         <input type="email" name="email" id="email" class="form-control" required placeholder="Votre Mail"> </div>
  98.                                 </div>
  99.                                 <div class="col-lg-12 col-md-12">
  100.                                     <div class="form-group">
  101.                                         <textarea name="commentaire" class="form-control" id="message" cols="30" rows="6" required placeholder="Votre Message"></textarea>
  102.                                     </div>
  103.                                 </div>
  104.                                 
  105. <div class="col-lg-6 col-md-6">
  106.                                 <script src="https://www.google.com/recaptcha/api.js" async defer></script>
  107. <div class="g-recaptcha" data-sitekey="6Lct2FsiAAAAAB7spcA4hA64ov4DOxD7qYEr5FQo"></div>
  108. </div>
  109.                                 <div class="col-lg-6 col-md-6">
  110.                                     <button type="submit" class="btn-style-three-js">Envoyer<span></span></button>
  111.                                 </div>
  112.                             </div>
  113.                         </form>
  114.                     </div>
  115.                 </div>
  116.             </div>
  117.         </div>
  118.     </div>
  119.     <!-- End Contact Section -->
  120.     <script src="{{asset('assets/js/owl.carousel.min.js')}}"></script>
  121.     <!-- Gmap3 Min JS -->
  122.     <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDJ_mGhah8EApmFiXYYBsdBuygviP2M2EE"></script>
  123.     <script src="{{asset('assets/js/gmap3.min.js')}}"></script>
  124.     <!-- Google Map JS -->
  125.     <script src="{{asset('assets/js/wow.min.js')}}"></script>
  126.     <!-- Ajax Mail JS -->
  127.     
  128.         
  129.     </div>
  130.     <!-- End Page Title Area -->
  131.     
  132.     
  133.     
  134.     
  135.     <!-- End Counter Section -->
  136.     <!-- Start Tabs Solutions Section -->
  137.     <section class="tab-section home-2-tab section-padding">
  138.         <div class="container">
  139.             <div class="tab solutions-list-tab">
  140.               
  141.                
  142.             </div>
  143.         </div>
  144.     </section>
  145. {% endblock %}