templates/contact.html.twig line 1

Open in your IDE?
  1. {% extends "base.html.twig" %}
  2. {% block body %}
  3.     <!-- Page Title -->
  4.     <section class="page-title" style="background-size: cover;background-image: url(/frontend/images/services/home-testi-bg.jpg);" data-bs-theme="dark">
  5.         <div class="container">
  6.             <div class="page-title-row">
  7.                 <div class="page-title-content">
  8.                     <h1>Contact</h1>
  9.                     <span>Contactez nous</span>
  10.                 </div>
  11.                 <nav aria-label="breadcrumb">
  12.                     <ol class="breadcrumb">
  13.                         <li class="breadcrumb-item">
  14.                             <a href="{{ path('frontend_index') }}">Acceuil</a>
  15.                         </li>
  16.                         <li class="breadcrumb-item active" aria-current="page">Contact</li>
  17.                     </ol>
  18.                 </nav>
  19.             </div>
  20.         </div>
  21.     </section>
  22.     <!-- .page-title end -->
  23.     <!-- Content -->
  24.     <section id="content">
  25.         <div class="content-wrap">
  26.             <div class="container">
  27.                 <div
  28.                     class="row align-items-stretch col-mb-50 mb-0">
  29.                     <!-- Contact Form -->
  30.                     <div class="col-lg-6">
  31.                         <div class="fancy-title title-border">
  32.                             <h3>Envoyez-nous un courriel</h3>
  33.                         </div>
  34.                         <div class="form-widget">
  35.                             <div class="form-result"></div>
  36.                             <form class="mb-0" id="template-contactform" name="template-contactform" action="{{ path('frontend_contact_add')}}" method="post">
  37.                                 <div class="form-process">
  38.                                     <div class="css3-spinner">
  39.                                         <div class="css3-spinner-scaler"></div>
  40.                                     </div>
  41.                                 </div>
  42.                                 {{form_start(form)}}
  43.                                 <div class="row">
  44.                                     <div class="col-md-4 form-group">
  45.                                         <label for="template-contactform-name">Nom
  46.                                             <small>*</small>
  47.                                         </label>
  48.                                         {{ form_row(form.name) }}
  49.                                     </div>
  50.                                     <div class="col-md-4 form-group">
  51.                                         <label for="template-contactform-email">E-mail
  52.                                             <small>*</small>
  53.                                         </label>
  54.                                         {{ form_row(form.email) }}
  55.                                     </div>
  56.                                     <div class="col-md-4 form-group">
  57.                                         <label for="template-contactform-phone">Téléphone</label>
  58.                                         {{ form_row(form.phone) }}
  59.                                     </div>
  60.                                     <div class="w-100"></div>
  61.                                     <div class="col-md-12 form-group">
  62.                                         <label for="template-contactform-subject">Sujet
  63.                                             <small>*</small>
  64.                                         </label>
  65.                                         {{ form_row(form.subject) }}
  66.                                     </div>
  67.                                     <div class="w-100"></div>
  68.                                     <div class="col-12 form-group">
  69.                                         <label for="template-contactform-message">Message
  70.                                             <small>*</small>
  71.                                         </label>
  72.                                         {{ form_row(form.message) }}
  73.                                     </div>
  74.                                     {{form_end(form)}}
  75.                                     <div class="col-12 form-group">
  76.                                         <button name="submit" type="submit" id="submit-button" tabindex="5" value="Submit" class="button button-3d m-0">Envoyer</button>
  77.                                     </div>
  78.                                 </div>
  79.                                 <input type="hidden" name="prefix" value="template-contactform-">
  80.                             </form>
  81.                         </div>
  82.                     </div>
  83.                     <!-- Contact Form End -->
  84.                     <!-- Google Map -->
  85.                     <div class="col-lg-6 min-vh-80">
  86.                         <section class="gmap slider-parallax vh-70" data-zoom="11" data-address="Solibikes Parc vélo solidaire, Djerba" data-markers='[
  87. {title:"Solibikes Parc vélo solidaire",address: "Solibikes Parc vélo solidaire, Djerba HoumtSouk", html: jQuery("#map-marker-1").html(), icon:{ image: "/frontend/images/icons/map-icon-red.png", iconsize: [32, 39], iconanchor: [32,39] } },{address: "Association Mezraya, Djerba HoumtSouk", html: jQuery("#map-marker-1").html(), icon:{ image: "/frontend/images/icons/map-icon-red.png", iconsize: [32, 39], iconanchor: [32,39] } },{address: "  Bureau Srandi association Djerba,   Srandi association", html: jQuery("#map-marker-1").html(), icon:{ image: "/frontend/images/icons/map-icon-red.png", iconsize: [32, 39], iconanchor: [32,39] } },{address: "  Jardin Toumana Djerba, Jardin Toumana Djerba", html: jQuery("#map-marker-1").html(), icon:{ image: "/frontend/images/icons/map-icon-red.png", iconsize: [32, 39], iconanchor: [32,39] } },]'></section>
  88.                     </div>
  89.                     <!-- Google Map End -->
  90.                 </div>
  91. <div class="fancy-title title-border title-center mb-5">
  92.                         <h4 id="explore-more-elements" class="h3" data-onepage-settings="{&quot;offset&quot;:60,&quot;speed&quot;:1250,&quot;easing&quot;:false}">
  93.                             <a href="icons.html" class="btn btn-warning btn-lg ">Nos points de relais<i class="bi-arrow-right ms-2" style="position: relative; top: 1px;"></i>
  94.                             </a>
  95.                         </h4>
  96.                     </div>
  97.                 <!-- Contact Info -->
  98.                 <div class="row col-mb-50">
  99.                     {% for agency in agencies %}
  100.                         <div class="col-sm-6 col-lg-3">
  101.                             <div class="feature-box fbox-center fbox-bg fbox-plain" style="padding: 0 0rem 2rem;">
  102.                                 <div class="fbox-icon">
  103.                                     <img src="{{ asset('uploads/') ~ agency.logo }}" alt="{{ agency.title }}" class="rounded-2 h-100 object-cover">
  104.                                 </div>
  105.                                 <div class="fbox-content">
  106.                                     <h3>{{agency.title}}<span class="subtitle">{{agency.address}}</span>
  107.                                         <span class="subtitle">{{agency.email}}</span>
  108.                                         <span class="subtitle">{{agency.phone}}</span>
  109.                                     </h3>
  110.                                 </div>
  111.                             </div>
  112.                         </div>
  113.                     {% endfor %}
  114.                 </div>
  115.                 <!-- Contact Info End -->
  116.             </div>
  117.         </div>
  118.     </section>
  119.     <!-- #content end -->
  120. {% endblock %}
  121. {% block javascripts %}
  122.     <script src="{{ asset('frontend/js/plugins.flexslider.js') }}"></script>
  123.     <script src="{{ asset('frontend/js/plugins.form.js') }}"></script>
  124. {% endblock %}