var/cache/dev/twig/12/12b3144829a429f64ead305bf011eba36500e9be2d93d8331fa75ea8db4e9fc8.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* default/contact.html.twig */
  15. class __TwigTemplate_4c3a93b69454047b8e4f20a73e0c620fca7a3400802d1e125e4f26b01daf1e0e extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/contact.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/contact.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""default/contact.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         yield "Contact â€” Otropik";
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.         
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  60.         return; yield '';
  61.     }
  62.     // line 5
  63.     public function block_body($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         // line 7
  71.         yield "<section class=\"position-relative text-white\">
  72.   <div class=\"ratio ratio-21x9\">
  73.   ";
  74.         // line 9
  75.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'9$this->source); })()), "img", [], "any"falsefalsefalse9)) {
  76.             // line 10
  77.             yield "  <img src=\"";
  78.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/banner/"), "html"nulltrue);
  79.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'10$this->source); })()), "img", [], "any"falsefalsefalse10), "html"nulltrue);
  80.             yield "\" alt=\"Plage paradisiaque\" class=\"w-100 h-100 object-fit-cover\">
  81.   ";
  82.         } else {
  83.             // line 12
  84.             yield "    <img src=\"";
  85.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/cta-tourist.jpg"), "html"nulltrue);
  86.             yield "\" alt=\"Plage paradisiaque\" class=\"w-100 h-100 object-fit-cover\">
  87.   ";
  88.         }
  89.         // line 14
  90.         yield "  </div>
  91.   <div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center text-center bg-dark bg-opacity-50\">
  92.     <div class=\"p-3\">
  93.       <h1 class=\"display-4 fw-bold mb-3\">Restons en contact đźŚ´</h1>
  94.       <p class=\"lead\">Une question, une envie d’évasion ou besoin d’un devis sur mesure ?  
  95.         L’équipe <span class=\"fw-bold text-warning\">Otropik</span> est Ă  votre Ă©coute.</p>
  96.     </div>
  97.   </div>
  98. </section>
  99. ";
  100.         // line 25
  101.         yield "<section class=\"container py-5\">
  102.   <div class=\"row g-5\">
  103.     ";
  104.         // line 29
  105.         yield "    <div class=\"col-12 col-lg-5\">
  106.       <h2 class=\"h4 fw-bold mb-4\">Nos coordonnĂ©es</h2>
  107.       <p class=\"text-muted mb-4\">
  108.         Passez nous voir, appelez-nous ou envoyez un message : nous rĂ©pondons rapidement.
  109.       </p>
  110.       <ul class=\"list-unstyled\">
  111.         <li class=\"mb-3 d-flex align-items-start\">
  112.           <i class=\"bi bi-geo-alt txt-ot-green fs-4 me-3\"></i>
  113.           <div>
  114.             <strong>Adresse</strong><br>
  115.             ";
  116.         // line 40
  117.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'40$this->source); })()), "adress", [], "any"falsefalsefalse40), "html"nulltrue);
  118.         yield " <br> ";
  119.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'40$this->source); })()), "zip", [], "any"falsefalsefalse40), "html"nulltrue);
  120.         yield " ";
  121.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'40$this->source); })()), "city", [], "any"falsefalsefalse40), "html"nulltrue);
  122.         yield "
  123.           </div>
  124.         </li>
  125.         <li class=\"mb-3 d-flex align-items-start\">
  126.           <i class=\"bi bi-telephone txt-ot-green fs-4 me-3\"></i>
  127.           <div>
  128.             <strong>TĂ©lĂ©phone</strong><br>
  129.             ";
  130.         // line 47
  131.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'47$this->source); })()), "phone", [], "any"falsefalsefalse47)) {
  132.             yield 
  133.             Bureau : <a class=\"link-info\" href=\"tel:";
  134.             // line 48
  135.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'48$this->source); })()), "phone", [], "any"falsefalsefalse48), "html"nulltrue);
  136.             yield "\">";
  137.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'48$this->source); })()), "phone", [], "any"falsefalsefalse48), "html"nulltrue);
  138.             yield "</a> ";
  139.         }
  140.         // line 49
  141.         yield "            ";
  142.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'49$this->source); })()), "mobile", [], "any"falsefalsefalse49)) {
  143.             yield 
  144.             <br>Mobile : <a class=\"link-info\" href=\"tel:";
  145.             // line 50
  146.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'50$this->source); })()), "mobile", [], "any"falsefalsefalse50), "html"nulltrue);
  147.             yield "\">";
  148.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'50$this->source); })()), "mobile", [], "any"falsefalsefalse50), "html"nulltrue);
  149.             yield "</a> ";
  150.         }
  151.         // line 51
  152.         yield "            ";
  153.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'51$this->source); })()), "mobileTwo", [], "any"falsefalsefalse51)) {
  154.             yield 
  155.             <br>Mobile : <a class=\"link-info\" href=\"tel:";
  156.             // line 52
  157.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'52$this->source); })()), "mobileTwo", [], "any"falsefalsefalse52), "html"nulltrue);
  158.             yield "\">";
  159.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'52$this->source); })()), "mobileTwo", [], "any"falsefalsefalse52), "html"nulltrue);
  160.             yield "</a> ";
  161.         }
  162.         // line 53
  163.         yield "          </div>
  164.         </li>
  165.         <li class=\"mb-3 d-flex align-items-start\">
  166.           <i class=\"bi bi-envelope txt-ot-green fs-4 me-3\"></i>
  167.           <div>
  168.           ";
  169.         // line 58
  170.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'58$this->source); })()), "mail", [], "any"falsefalsefalse58)) {
  171.             yield 
  172.             <strong>Email</strong><br>
  173.             <a class=\"link-info\" href=\"mailto:";
  174.             // line 60
  175.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'60$this->source); })()), "mail", [], "any"falsefalsefalse60), "html"nulltrue);
  176.             yield "\">";
  177.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'60$this->source); })()), "mail", [], "any"falsefalsefalse60), "html"nulltrue);
  178.             yield "</a>
  179.           ";
  180.         }
  181.         // line 62
  182.         yield "          </div>
  183.         </li>
  184.       </ul>
  185.       <div class=\"map-container\" style=\"width: 100%; height: 400px; border-radius: 12px; overflow: hidden;\">
  186.   <iframe
  187.     width=\"100%\"
  188.     height=\"100%\"
  189.     frameborder=\"0\"
  190.     scrolling=\"no\"
  191.     marginheight=\"0\"
  192.     marginwidth=\"0\"
  193.     src=\"https://www.openstreetmap.org/export/embed.html?bbox=-61.5270%2C16.2570%2C-61.5070%2C16.2770&amp;layer=mapnik&amp;marker=16.2669%2C-61.5170\"
  194.     style=\"border:1px solid #ccc;\">
  195.   </iframe>
  196. </div>
  197. <p class=\"text-muted small text-center\">
  198.   <a href=\"https://www.openstreetmap.org/?mlat=16.2669&amp;mlon=-61.5170#map=15/16.2669/-61.5170\" target=\"_blank\">
  199.     Voir la carte agrandie
  200.   </a>
  201. </p>
  202.     </div>
  203.     ";
  204.         // line 86
  205.         yield "    <div class=\"col-12 col-lg-7\">
  206.       <div class=\"card border-0 shadow-lg rounded-4\">
  207.         <div class=\"card-body p-4\">
  208.           <h2 class=\"h5 fw-bold mb-4\">Envoyez-nous un message</h2>
  209.           <form method=\"post\" action=\"";
  210.         // line 90
  211.         yield "\">
  212.             <div class=\"row g-3\">
  213.               <div class=\"col-md-6\">
  214.                 <label class=\"form-label\">Nom</label>
  215.                 <input type=\"text\" name=\"name\" class=\"form-control rounded-pill\" placeholder=\"Votre nom complet\" required>
  216.               </div>
  217.               <div class=\"col-md-6\">
  218.                 <label class=\"form-label\">Email</label>
  219.                 <input type=\"email\" name=\"email\" class=\"form-control rounded-pill\" placeholder=\"vous@email.com\" required>
  220.               </div>
  221.               <div class=\"col-md-6\">
  222.                 <label class=\"form-label\">TĂ©lĂ©phone</label>
  223.                 <input type=\"tel\" name=\"phone\" class=\"form-control rounded-pill\" placeholder=\"+590 ...\" >
  224.               </div>
  225.               <div class=\"col-md-6\">
  226.                 <label class=\"form-label\">Sujet</label>
  227.                 <input type=\"text\" name=\"subject\" class=\"form-control rounded-pill\" placeholder=\"Ex: Demande de devis\">
  228.               </div>
  229.               <div class=\"col-12\">
  230.                 <label class=\"form-label\">Message</label>
  231.                 <textarea name=\"message\" rows=\"5\" class=\"form-control rounded-4\" placeholder=\"Votre message...\" required></textarea>
  232.               </div>
  233.             </div>
  234.             <div class=\"text-end mt-4\">
  235.               <button type=\"submit\" class=\"btn btn-primary rounded-pill px-4\">
  236.                 <i class=\"bi bi-send me-1\"></i> Envoyer
  237.               </button>
  238.             </div>
  239.           </form>
  240.         </div>
  241.       </div>
  242.     </div>
  243.   </div>
  244. </section>
  245. ";
  246.         
  247.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  248.         
  249.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  250.         return; yield '';
  251.     }
  252.     /**
  253.      * @codeCoverageIgnore
  254.      */
  255.     public function getTemplateName()
  256.     {
  257.         return "default/contact.html.twig";
  258.     }
  259.     /**
  260.      * @codeCoverageIgnore
  261.      */
  262.     public function isTraitable()
  263.     {
  264.         return false;
  265.     }
  266.     /**
  267.      * @codeCoverageIgnore
  268.      */
  269.     public function getDebugInfo()
  270.     {
  271.         return array (  235 => 90,  229 => 86,  204 => 62,  197 => 60,  192 => 58,  185 => 53,  179 => 52,  174 => 51,  168 => 50,  163 => 49,  157 => 48,  153 => 47,  139 => 40,  126 => 29,  121 => 25,  109 => 14,  103 => 12,  96 => 10,  94 => 9,  90 => 7,  80 => 5,  60 => 3,  37 => 1,);
  272.     }
  273.     public function getSourceContext()
  274.     {
  275.         return new Source("{% extends 'base.html.twig' %}
  276. {% block title %}Contact â€” Otropik{% endblock %}
  277. {% block body %}
  278. {# --- Hero Banner --- #}
  279. <section class=\"position-relative text-white\">
  280.   <div class=\"ratio ratio-21x9\">
  281.   {% if banner.img %}
  282.   <img src=\"{{ asset('img/banner/')}}{{banner.img}}\" alt=\"Plage paradisiaque\" class=\"w-100 h-100 object-fit-cover\">
  283.   {% else %}
  284.     <img src=\"{{ asset('img/cta-tourist.jpg')}}\" alt=\"Plage paradisiaque\" class=\"w-100 h-100 object-fit-cover\">
  285.   {% endif %}
  286.   </div>
  287.   <div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center text-center bg-dark bg-opacity-50\">
  288.     <div class=\"p-3\">
  289.       <h1 class=\"display-4 fw-bold mb-3\">Restons en contact đźŚ´</h1>
  290.       <p class=\"lead\">Une question, une envie d’évasion ou besoin d’un devis sur mesure ?  
  291.         L’équipe <span class=\"fw-bold text-warning\">Otropik</span> est Ă  votre Ă©coute.</p>
  292.     </div>
  293.   </div>
  294. </section>
  295. {# --- Section principale --- #}
  296. <section class=\"container py-5\">
  297.   <div class=\"row g-5\">
  298.     {# Infos de contact #}
  299.     <div class=\"col-12 col-lg-5\">
  300.       <h2 class=\"h4 fw-bold mb-4\">Nos coordonnĂ©es</h2>
  301.       <p class=\"text-muted mb-4\">
  302.         Passez nous voir, appelez-nous ou envoyez un message : nous rĂ©pondons rapidement.
  303.       </p>
  304.       <ul class=\"list-unstyled\">
  305.         <li class=\"mb-3 d-flex align-items-start\">
  306.           <i class=\"bi bi-geo-alt txt-ot-green fs-4 me-3\"></i>
  307.           <div>
  308.             <strong>Adresse</strong><br>
  309.             {{infos.adress}} <br> {{infos.zip}} {{infos.city}}
  310.           </div>
  311.         </li>
  312.         <li class=\"mb-3 d-flex align-items-start\">
  313.           <i class=\"bi bi-telephone txt-ot-green fs-4 me-3\"></i>
  314.           <div>
  315.             <strong>TĂ©lĂ©phone</strong><br>
  316.             {% if infos.phone %} 
  317.             Bureau : <a class=\"link-info\" href=\"tel:{{infos.phone}}\">{{infos.phone}}</a> {% endif %}
  318.             {% if infos.mobile %} 
  319.             <br>Mobile : <a class=\"link-info\" href=\"tel:{{infos.mobile}}\">{{infos.mobile}}</a> {% endif %}
  320.             {% if infos.mobileTwo %} 
  321.             <br>Mobile : <a class=\"link-info\" href=\"tel:{{infos.mobileTwo}}\">{{infos.mobileTwo}}</a> {% endif %}
  322.           </div>
  323.         </li>
  324.         <li class=\"mb-3 d-flex align-items-start\">
  325.           <i class=\"bi bi-envelope txt-ot-green fs-4 me-3\"></i>
  326.           <div>
  327.           {% if infos.mail %} 
  328.             <strong>Email</strong><br>
  329.             <a class=\"link-info\" href=\"mailto:{{infos.mail}}\">{{infos.mail}}</a>
  330.           {% endif %}
  331.           </div>
  332.         </li>
  333.       </ul>
  334.       <div class=\"map-container\" style=\"width: 100%; height: 400px; border-radius: 12px; overflow: hidden;\">
  335.   <iframe
  336.     width=\"100%\"
  337.     height=\"100%\"
  338.     frameborder=\"0\"
  339.     scrolling=\"no\"
  340.     marginheight=\"0\"
  341.     marginwidth=\"0\"
  342.     src=\"https://www.openstreetmap.org/export/embed.html?bbox=-61.5270%2C16.2570%2C-61.5070%2C16.2770&amp;layer=mapnik&amp;marker=16.2669%2C-61.5170\"
  343.     style=\"border:1px solid #ccc;\">
  344.   </iframe>
  345. </div>
  346. <p class=\"text-muted small text-center\">
  347.   <a href=\"https://www.openstreetmap.org/?mlat=16.2669&amp;mlon=-61.5170#map=15/16.2669/-61.5170\" target=\"_blank\">
  348.     Voir la carte agrandie
  349.   </a>
  350. </p>
  351.     </div>
  352.     {# Formulaire de contact #}
  353.     <div class=\"col-12 col-lg-7\">
  354.       <div class=\"card border-0 shadow-lg rounded-4\">
  355.         <div class=\"card-body p-4\">
  356.           <h2 class=\"h5 fw-bold mb-4\">Envoyez-nous un message</h2>
  357.           <form method=\"post\" action=\"{#{ path('contact.send') }#}\">
  358.             <div class=\"row g-3\">
  359.               <div class=\"col-md-6\">
  360.                 <label class=\"form-label\">Nom</label>
  361.                 <input type=\"text\" name=\"name\" class=\"form-control rounded-pill\" placeholder=\"Votre nom complet\" required>
  362.               </div>
  363.               <div class=\"col-md-6\">
  364.                 <label class=\"form-label\">Email</label>
  365.                 <input type=\"email\" name=\"email\" class=\"form-control rounded-pill\" placeholder=\"vous@email.com\" required>
  366.               </div>
  367.               <div class=\"col-md-6\">
  368.                 <label class=\"form-label\">TĂ©lĂ©phone</label>
  369.                 <input type=\"tel\" name=\"phone\" class=\"form-control rounded-pill\" placeholder=\"+590 ...\" >
  370.               </div>
  371.               <div class=\"col-md-6\">
  372.                 <label class=\"form-label\">Sujet</label>
  373.                 <input type=\"text\" name=\"subject\" class=\"form-control rounded-pill\" placeholder=\"Ex: Demande de devis\">
  374.               </div>
  375.               <div class=\"col-12\">
  376.                 <label class=\"form-label\">Message</label>
  377.                 <textarea name=\"message\" rows=\"5\" class=\"form-control rounded-4\" placeholder=\"Votre message...\" required></textarea>
  378.               </div>
  379.             </div>
  380.             <div class=\"text-end mt-4\">
  381.               <button type=\"submit\" class=\"btn btn-primary rounded-pill px-4\">
  382.                 <i class=\"bi bi-send me-1\"></i> Envoyer
  383.               </button>
  384.             </div>
  385.           </form>
  386.         </div>
  387.       </div>
  388.     </div>
  389.   </div>
  390. </section>
  391. {% endblock %}
  392. ""default/contact.html.twig""/home/ladomitiyc/otropik/templates/default/contact.html.twig");
  393.     }
  394. }