templates/component/form/submit.html.twig line 1

Open in your IDE?
  1. {#
  2.     component: footer
  3.     title {string}: Titre
  4.     titleAnnex {string|null}: Sur titre au dessus du titre (Default: null, pas de sur titre)
  5.   background {image}: image de fond
  6.   breadcrumb {array|null}: tableau des liens du fil d'ariane (chacun contenant title, to, et text) (Default: null, pas de breadcrumb)
  7. #}
  8. {% set props = {
  9.     text: null,
  10.     name: null,
  11.     id: null,
  12.     class: "",
  13.     contactButton:false
  14. }|merge(props|default({})) %}
  15. <div data-component="submit" class="Submit-component">
  16.     {% if props.contactButton %}
  17.         {% set schemeAndHttpHost = app.request.getSchemeAndHttpHost %}
  18.         {# {% if 'miramar-lacigale.com' in schemeAndHttpHost %}
  19.             <!--
  20.             Event snippet for [MIRAMAR] - CONTACT on : Please do not remove.
  21.             Place this snippet on pages with events you’re tracking. 
  22.             Creation date: 07/15/2020
  23.             -->
  24.             <script>
  25.                 gtag('event', 'conversion', {
  26.                 'allow_custom_scripts': true,
  27.                 'send_to': 'DC-10209412/invmedia/miram000+standard'
  28.                 });
  29.             </script>
  30.             <noscript>
  31.                 <img src="https://ad.doubleclick.net/ddm/activity/src=10209412;type=invmedia;cat=miram000;dc_lat=;dc_rdid=;tag_for
  32.                     _child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" alt=""/>
  33.             </noscript>
  34.             <!-- End of event snippet: Please do not remove -->
  35.         {% endif %} #}
  36.     {% endif %}
  37.     {# Submit #}
  38.     <input class="Submit-input {{props.class}}" {% if props.name != null %} id="{{props.name}}" {% endif %} {% if props.id != null %} id="{{props.id}}" {% endif %} type="submit" value="{{ props.text }}">
  39. </div>