templates/front/contact/index.html.twig line 1

Open in your IDE?
  1. {% extends 'front/layouts/base.html.twig' %}
  2. {% block title %} 
  3.     {{ 'front.contact.title'|trans({}, 'front') }} 
  4. {% endblock %}
  5. {% block stylesheets %}
  6.     {{ parent() }}
  7.     {{ encore_entry_link_tags('app') }}
  8. {% endblock %}
  9. {% block body %}
  10. <body class='body-page-contact'>
  11.  <div class="container reveal">
  12.         <div class="section-contact-page">
  13.             <div class="content">
  14.                 <div class="container">
  15.                     <div class="row justify-content-center">
  16.                         <div class="col-md-8">
  17.                             <div class="row justify-content-center mb-5">
  18.                                 <div class="col-lg-9 col-md-12 col-12">
  19.                                     <h2 class="thin-heading mb-4 text-center">
  20.                                         <strong>{{ 'front.contact.header'|trans({}, 'front') }} </strong>
  21.                                     </h2>
  22.                                 </div>
  23.                             </div>
  24.                             <div class="row">
  25.                                     {% include 'front/layouts/flashes.html.twig' %}
  26.                                 <div class="col-md-12">
  27.                                 {{ form_start(form, {attr: {autocomplete: 'off', 'novalidate': 'novalidate', 'class': 'form-contact-content' } }) }}
  28.                                         <div class="row justify-content-md-center contact-box">
  29.                                             <div class="col-md-6">
  30.                                                {% if form.name is defined %}
  31.                                                     {{ form_widget(form.name, { 'attr': {'class': 'form-background-nom form-control'} })}}
  32.                                                     {{ form_errors(form.name ) }}
  33.                                             {% endif %} 
  34.                                               {% if form.entreprise is defined %}
  35.                                                     {{ form_widget(form.entreprise, { 'attr': {'class': 'form-background-entreprise form-control'} })}}
  36.                                                     {{ form_errors(form.entreprise ) }}
  37.                                             {% endif %}
  38.                                                
  39.                                             </div>
  40.                                             <div class="col-md-6">
  41.                                             {% if form.email is defined %}
  42.                                             {{ form_widget(form.email, { 'attr': {'class': 'form-background-email form-control'} })}}
  43.                                             {{ form_errors(form.email) }} 
  44.                                           {% endif %}
  45.                                            {% if form.phone is defined %}
  46.                                                 {{ form_widget(form.phone, { 'attr': {'class': 'form-background-tel form-control'} })}}
  47.                                                 {{ form_errors(form.phone) }}
  48.                                         {% endif %}
  49.                                             </div>
  50.                                             <div class="col-md-12">
  51.                                                 <div class="form-outline contactLangs">
  52.                                                 {{ form_widget(form.message, { 'attr': {'class': 'form-background-message form-control'} })}}
  53.                                                 {{ form_errors(form.message) }}
  54.                                                 </div>
  55.                                             </div>
  56.                                         </div>
  57.                                         <div class="row">
  58.                                             <div class="col-lg-8 col-md-12 col-12 form-check condition">
  59.                                                 {{ form_widget(form.isAccepted, ( {'attr':{'class': 'form-check-input check-bx-contact'} }) ) }}
  60.                                                 <span class="define-msg-cond"> {{ 'front.infos.msg_mentions'|trans({}, 'front') }}
  61.                                                     <span class="link_footer">{{ menuMainHeader('pagePopine', id_mention_legale_page, 'front.menu.mentions'|trans({}, 'front')) }}</span>
  62.                                                 </span>    
  63.                                                 {{ form_errors(form.isAccepted) }}
  64.                                                 <label class="form-check-label" for="flexCheckDefault"></label>
  65.                                             </div>
  66.                                            
  67.                                            
  68.                                         </div>
  69.                                         {# <div class="row">
  70.                                          
  71.                                             <div class="col-12 text-center  ">
  72.                                              <div id="recaptcha"  class="g-recaptcha"  data-sitekey="{{google_captcha_site_key}}"  style="text-align: -webkit-center;" ></div>
  73.                                             </div>
  74.                                            
  75.                                         </div> #}
  76.                                          <div class="col-md-12 text-center ">
  77.                                                 <button class="text-center btn-contact">{{ 'front.actions.send'|trans({}, 'front') }} </button>
  78.                                             </div> 
  79.                                 {{ form_end(form) }}
  80.                                 </div>
  81.                             </div>
  82.                         </div>
  83.                     </div>
  84.                 </div>
  85.             </div>
  86.         </div>
  87.         <!--section-info -->
  88.         <div class="section-info">
  89.             <div class="content">
  90.                 <div class="container">
  91.                     <div class="row justify-content-center">
  92.                         <div class="col-md-12 text-center mt-5">
  93.                             <div class="box-txt-info">
  94.                                 <p class="prg-info">{{ 'front.infos.tel'|trans({}, 'front') }} : +33 (0)1 56 53 56 38 ({{ 'front.infos.commercial'|trans({}, 'front') }})</p>
  95.                                 <p class="prg-info">{{ 'front.infos.tel'|trans({}, 'front') }} : +33 (0)1 89 97 25 00 ({{ 'front.infos.support'|trans({}, 'front') }})</p>
  96.                                 <p class="prg-info">{{ 'front.infos.address'|trans({}, 'front') }} : {{ 'front.infos.value_address'|trans({}, 'front') }}</p>
  97.                             </div>
  98.                         </div>
  99.                     </div>
  100.                 </div>
  101.             </div>
  102.         </div>
  103.       
  104.         
  105.     </div>
  106.  <body>   
  107. {% endblock %}
  108. {% block javascripts %}
  109.     {{ parent() }} 
  110.         <script src="https://www.google.com/recaptcha/api.js" async defer></script>
  111.     {{ encore_entry_script_tags('app') }}
  112. {% endblock %}