templates/front/Contact/bloc.html.twig line 1

Open in your IDE?
  1. {#
  2. {% if slug == "CeCollectivites" %}
  3.     <img src="{{ asset('build/images/front/ce3.jpg')}}" alt="Conditions spécial CE" class="img-responsive margin-bottom-20">
  4. {% endif %}
  5. #}
  6. {% form_theme formcontact with 'bootstrap_4_layout.html.twig' %}
  7. <h2>
  8.     <div class="petit">{{ 'contact.formulaire.surtitre' |trans({}, 'app') |raw }}</div>
  9.     {{ 'contact.formulaire.titre' |trans({}, 'app') |raw }}
  10. </h2>
  11. <div class="margin-top-30 margin-bottom-30">
  12.     <div class="panel panel-default margin-bottom-20">
  13.         <div class="panel-heading">
  14.             <h3 class="panel-title presta-section">
  15.                 <i class="fiche-picto-plus"></i> {{ 'contact.formulaire.telephone.titre' |trans({}, 'app') |raw }}
  16.             </h3>
  17.         </div>
  18.         <div class="panel-body margin-top-10 in" >
  19.             <div class="txt-bleu">
  20.                 <div>
  21.                     <i class="glyphicon glyphicon-phone-alt"></i> {{ 'contact.formulaire.telephone.numero' |trans({}, 'app') |raw }}
  22.                 </div>
  23.                 <span class="duree">{{ 'contact.formulaire.telephone.planning' |trans({}, 'app') |raw }}</span>
  24.             </div>
  25.         </div>
  26.     </div>
  27. </div>
  28. <div class="panel panel-default margin-bottom-20">
  29.     <div class="panel-heading">
  30.         <h3 class="panel-title presta-section">
  31.             <div class="fiche-picto-plus"></div> {{ 'contact.formulaire.email.titre' |trans({}, 'app') |raw }}
  32.         </h3>
  33.     </div>
  34.     <div class="panel-body margin-top-10 in" >
  35.         {{ form_start(formcontact, {'method': 'POST' }) }}
  36.         {{ form_errors(formcontact) }}
  37.         <div class="col-md-6 col-sm-12 col-xs-12">
  38.             <div class="input-contact">
  39.                 <label>{{ 'contact.nom.label' |trans({}, 'form') |raw }}<sup>*</sup></label>
  40.                 {{ form_widget(formcontact.nom) }}
  41.             </div>
  42.         </div>
  43.         <div class="col-md-6 col-sm-12 col-xs-12">
  44.             <div class="input-contact">
  45.                 <label>{{ 'contact.prenom.label' |trans({}, 'form') |raw }}<sup>*</sup></label>
  46.                 {{ form_widget(formcontact.prenom) }}
  47.             </div>
  48.         </div>
  49.         <div class="col-md-6 col-sm-12 col-xs-12">
  50.             <div class="input-contact">
  51.                 <label>{{ 'contact.email.label' |trans({}, 'form') |raw }}<sup>*</sup></label>
  52.                 {{ form_widget(formcontact.email) }}
  53.             </div>
  54.         </div>
  55.         <div class="col-md-6 col-sm-12 col-xs-12">
  56.             <div class="input-contact ">
  57.                 {% if options is defined and options.societe.required %}
  58.                     <label>{{ 'contact.societe.label' |trans({}, 'form') |raw }}<sup>*</sup></label>
  59.                     {{ form_widget(formcontact.societe, {'required': true}) }}
  60.                 {% else %}
  61.                     <label>{{ 'contact.societe.label' |trans({}, 'form') |raw }}</label>
  62.                     {{ form_widget(formcontact.societe) }}
  63.                 {% endif %}
  64.             </div>
  65.         </div>
  66.         <div class="col-md-6 col-sm-12 col-xs-12">
  67.             <div class="input-contact">
  68.                 <label>{{ 'contact.pays.label' |trans({}, 'form') |raw }}<sup>*</sup></label>
  69.                 {{ form_widget(formcontact.pays) }}
  70.             </div>
  71.         </div>
  72.         <div class="col-md-6 col-sm-12 col-xs-12">
  73.             <div class="input-contact">
  74.                 <label>{{ 'contact.telephone.label' |trans({}, 'form') |raw }}</label>
  75.                 {{ form_widget(formcontact.telephone) }}
  76.             </div>
  77.         </div>
  78.         <div class="col-md-6 col-sm-12 col-xs-12">
  79.             <div class="input-contact">
  80.                 <label>{{ 'contact.objet.label' |trans({}, 'form') |raw }}<sup>*</sup></label>
  81.                 {{ form_widget(formcontact.objet) }}
  82.             </div>
  83.         </div>
  84.     {% if slug == "groupe-seminaire" %}
  85.         <div class="col-md-6 col-sm-12 col-xs-12">
  86.             <div class="input-contact">
  87.                 <label>{{ 'contact.occasion.label' |trans({}, 'form') |raw }}</label>
  88.                 {{ form_widget(formcontact.occasion ) }}
  89.             </div>
  90.         </div>
  91.         <div class="col-md-6 col-sm-12 col-xs-12">
  92.             <div class="input-contact">
  93.                 <label>{{ 'contact.nb_participants.label' |trans({}, 'form') |raw }}</label>
  94.                 {{ form_widget(formcontact.nbparticipants ) }}
  95.             </div>
  96.         </div>
  97.         <div class="col-md-6 col-sm-12 col-xs-12">
  98.             <div class="input-contact">
  99.                 <label>{{ 'contact.date_arrivee.label' |trans({}, 'form') |raw }}</label>
  100.                 {{ form_widget(formcontact.datearrivee ) }}
  101.             </div>
  102.         </div>
  103.         <div class="col-md-6 col-sm-12 col-xs-12">
  104.             <div class="input-contact">
  105.                 <label>{{ 'contact.nb_nuits.label' |trans({}, 'form') |raw }}</label>
  106.                 {{ form_widget(formcontact.nbnuits ) }}
  107.             </div>
  108.         </div>
  109.     {% endif %}
  110.         {#
  111.         <div class="col-md-6 col-sm-12 col-xs-12">
  112.             <div class="input-contact">
  113.                 <label>{{ 'contact.destination.label' |trans({}, 'form') |raw }}</label>
  114.                 {{ form_widget(formcontact.residence ) }}
  115.             </div>
  116.         </div>
  117.         #}
  118.         <div class="col-md-12 col-sm-12 col-xs-12">
  119.             <div class="input-contact">
  120.                 <label for="comment">{{ 'contact.votre_message.label' |trans({}, 'form') |raw }}<sup>*</sup></label>
  121.                 {{ form_widget(formcontact.message) }}
  122.             </div>
  123.         </div>
  124.         <div class="col-md-12 col-sm-12 col-xs-12 mention">{{ 'champs_obligatoires' |trans({}, 'global') |raw }}</div>
  125.         <div class="col-md-12 col-sm-12 col-xs-12 margin-top-30">
  126.             <!-- adresse d'envoi contact@ateya.fr -->
  127.             <button type="submit" class="btn-ateya pull-right">{{ 'ancre.envoyer' |trans({}, 'app') |raw }}</button>
  128.         </div>
  129.         {{ form_row(formcontact.recaptcha) }}
  130.     {{ form_end(formcontact) }}
  131.     </div>
  132. </div>