templates/main/contact.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block metadata %}
  3.         {% set title = 'Ilex formation & consulting : Contactez-nous !' %}
  4.         {% set description = 'Contactez-nous ! Des questions, un devis ?' %}
  5.         {% set image = 'https://ilexfc.com/picture/background-img/contact.jpg' %}
  6.         <title>{{title}}</title>
  7.         <meta name="description" content="{{description}}">
  8.         <meta property="og:title" content="{{title}}">
  9.         <meta property="og:description" content="{{description}}">
  10.         <meta property="og:image" content="{{image}}">
  11.         <meta property="og:type" content="article" />
  12.         <meta property="og:site_name" content="ILEX FC" />
  13.         <meta name= "twitter:card " content= "summary_large_image">
  14.         <meta name= "twitter:site " content= "@DelphineDUPRE">
  15.         <meta name= "twitter:title " content= "{{title}}">
  16.         <meta name= "twitter:description " content= "{{description}}">
  17.         <meta name= "twitter:creator " content= "@DelphineDUPRE">
  18.         <meta name= "twitter:image:src " content= "{{image}}">
  19. {% endblock %}
  20. {% block stylesheets %}
  21.     <link rel="stylesheet" href="/style/contact.css">
  22.      <script src="https://www.google.com/recaptcha/api.js"></script>
  23. {% endblock %}
  24. {% block body %}
  25.     <section class="section-intro-page">
  26.         <img src="/picture/background-img/contact.jpg">
  27.         <div class="filterIMG"></div>
  28.         <div class="intro-container-text">
  29.             <h1 class="titre1-g">Contactez-nous !</h1>
  30.             <p>Un devis, des questions, une formation sur mesure, une réclamation ? N’hésitez pas à nous contacter, nous vous répondons sous 24-48h.</p>
  31.         </div>
  32.     </section>
  33.     <section class="section-page">
  34.         <div class="container-contact">
  35.             <div class="form-contact" action="/email" method="post">
  36.                 {{ form(form) }}
  37.             </div>
  38.         {#
  39.             <form class="form-contact" action="/email" method="post">
  40.                 <div>
  41.                     <p>Nom Prénom:</p>
  42.                     <input type="text" name="nomprenom" >
  43.                 </div>
  44.                 <div>
  45.                     <p>Établissement / Société :</p>
  46.                     <input type="text" name="societe">
  47.                 </div>
  48.                 <div>
  49.                     <p>Adresse :</p>
  50.                     <input type="text" name="adresse">
  51.                 </div>
  52.                 <div>
  53.                     <p>Email :</p>
  54.                     <input type="text" name="mail">
  55.                 </div>
  56.                 <div>
  57.                     <p>Numéro de téléphone :</p>
  58.                     <input type="text" name="num">
  59.                 </div>
  60.                 <div>
  61.                     <p>Formation :</p>
  62.                     <textarea name="formation">
  63.                     </textarea>
  64.                 </div>
  65.                 <div>
  66.                     <p>Message :</p>
  67.                     <textarea name="message">
  68.                     </textarea>
  69.                 </div>
  70.                 <div>
  71.                     <input type="submit">
  72.                     <button class="g-recaptcha" 
  73.                         data-sitekey="reCAPTCHA_site_key" 
  74.                         data-callback='onSubmit' 
  75.                         data-action='submit'>Submit</button>
  76.                 </div>
  77.             </form>
  78.         #}
  79.             <div class="info-contact">
  80.                 <img src="/picture/background-img/delphine.JPG">
  81.                 <p class="contact-nom-prenom">Delphine Dupré-Lévêque</p>
  82.                 <p class="contact-tel"><i class="fas fa-phone-alt"></i> (+33) 06 75 17 47 84</p>
  83.                 <p class="contact-mail"><i class="fas fa-envelope"></i> contact@ilexfc.com</p>
  84.             
  85.             </div>
  86.         
  87.         </div>
  88.     
  89.     
  90.     </section>
  91.     <script>
  92.    function onSubmit(token) {
  93.      document.getElementById("demo-form").submit();
  94.    }
  95.  </script>
  96. {% endblock %}