src/Resources/views/Frontend/landing/contact.html.twig line 1

Open in your IDE?
  1. {% extends 'frontend/frontend.html.twig' %}
  2. {% block meta_robot %}
  3.     {{ parent() }}
  4.     <link rel="canonical" href="{{ url('frontend_contact') }}"/>
  5.     {{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
  6. {% endblock %}
  7. {% block meta_title %}{{ 'seo.landing.contact.title'|trans({}, "seo") }}{% endblock %}
  8. {% block meta_desc %}{{ 'seo.landing.contact.desc'|trans({}, "seo") }}{% endblock %}
  9. {% block tag_manager %}
  10.     <script>
  11.         dataLayer = [{
  12.         'rubrique': 'Contact',
  13.         }];
  14.     </script>
  15. {% endblock %}
  16. {% block body_content %}
  17. <div class="avis-client contact">
  18.     <div class="landing-header">
  19.         <h1 class="titre05">
  20.             {{ 'frontend.landing.contact.header.title'|trans({}, 'landing') }}
  21.             <span>{{ 'frontend.landing.contact.header.subtitle'|trans({}, 'landing') }}</span>
  22.         </h1>
  23.     </div>
  24.     <div class="landing-content">
  25.         <div class="txtcenter">
  26.             <p class="marginT20">{{ 'frontend.landing.contact.content.text01'|trans({}, 'landing')|raw }}</p>
  27.             <h2 class="titre01 marginT20">{% include '/Frontend/user/_tel_customer_service.html.twig' %}</h2>
  28.             <p class="marginT20">
  29.                 {{ 'frontend.landing.contact.content.text02'|trans({}, 'landing') }} :
  30.                 {% include '/Frontend/user/_email_contact.html.twig' %}
  31.             </p>
  32.             <p>{{ 'frontend.landing.contact.content.text03'|trans({}, 'landing') }} :</p>
  33.         </div>
  34.         <div class="form">
  35.             <form action="{{ path('frontend_contact') }}" method="post">
  36.                 <div class="grid-container">
  37.                     <div class="grid-45 grid-mgright-5 m-100 m-margin">
  38.                         <p>
  39.                             {{ form_errors(form.lastname) }}
  40.                             {{ form_label(form.lastname) }}
  41.                             {{ form_widget(form.lastname) }}
  42.                         </p>
  43.                     </div>
  44.                     <div class="grid-45 grid-mgleft-5 m-100 m-margin">
  45.                         <p>
  46.                             {{ form_errors(form.firstname) }}
  47.                             {{ form_label(form.firstname) }}
  48.                             {{ form_widget(form.firstname) }}
  49.                         </p>
  50.                     </div>
  51.                 </div>
  52.                 <p>
  53.                     {{ form_errors(form.email) }}
  54.                     {{ form_label(form.email) }}
  55.                     {{ form_widget(form.email) }}
  56.                 </p>
  57.                 <p>
  58.                     {{ form_label(form.message) }}
  59.                     {{ form_errors(form.message) }}
  60.                     {{ form_widget(form.message) }}
  61.                 </p>
  62.                 {{ form_widget(form.recaptcha) }}
  63.                 <div class="captcha-error">{{ form_errors(form.recaptcha) }}</div>
  64.                 <p class="txtcenter">
  65.                      {{ form_widget(form.send) }}
  66.                 </p>
  67.                 {{ form_rest(form) }}
  68.             </form>
  69.         </div>
  70.     </div>
  71. </div>
  72. <!--Footer -->
  73. {% include 'frontend/footer.html.twig' %}
  74. <!-- FIN Footer -->
  75. {% endblock body_content %}