var/cache/dev/twig/16/1654f2f5ef6124f244bd86f58a13a4887222a5b725344517e8914b2d2b106894.php line 91

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* vendre.html.twig */
  14. class __TwigTemplate_996fe107767ef86c459284f27eab724d52a890a329bfe41a90dd8a095de04927 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""vendre.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""vendre.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""vendre.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Vendre";
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "
  70.     ";
  71.         // line 7
  72.         $context["headerContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Contact""Header");
  73.         // line 8
  74.         echo "
  75.     ";
  76.         // line 9
  77.         if ((twig_get_attribute($this->env$this->source, ($context["headerContent"] ?? null), "picture", [], "any"truetruefalse9) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["headerContent"]) || array_key_exists("headerContent"$context) ? $context["headerContent"] : (function () { throw new RuntimeError('Variable "headerContent" does not exist.'9$this->source); })()), "picture", [], "any"falsefalsefalse9)))) {
  78.             // line 10
  79.             echo "        ";
  80.             $context["backgroundImage"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["headerContent"]) || array_key_exists("headerContent"$context) ? $context["headerContent"] : (function () { throw new RuntimeError('Variable "headerContent" does not exist.'10$this->source); })()), "picture", [], "any"falsefalsefalse10), 0, [], "array"falsefalsefalse10), "path", [], "any"falsefalsefalse10);
  81.             // line 11
  82.             echo "    ";
  83.         } else {
  84.             // line 12
  85.             echo "        ";
  86.             $context["backgroundImage"] = "empty";
  87.             // line 13
  88.             echo "    ";
  89.         }
  90.         // line 14
  91.         echo "    <header class=\"header-habiter col-lg-8 mx-auto\" style=\"background-image: url(";
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/vente.png"), "html"nulltrue);
  93.         echo "); height: 480px\">
  94.         <div class=\"container-fluid\">
  95.             <div class=\"col-lg-8 mx-auto div-svg-header\">
  96.                 <div class=\"header-habiter-div\">
  97.                 </div>
  98.             </div>
  99.         </div>
  100.     </header>
  101.     <div class=\"container-fluid\" style=\"margin-top: 60px; margin-bottom: 80px\">
  102.         ";
  103.         // line 24
  104.         $context["contactContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Contact""Section-1");
  105.         // line 25
  106.         echo "        <div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
  107.             <div class=\"col-lg-4\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
  108.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  109.                     <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
  110.                 </svg>
  111.                 <h1 class=\"project-title contact\">VENDEZ AVEC NOUS</h1>
  112.             </div>
  113.             <div class=\"separator\"></div>
  114.             <div class=\"col-lg-6 pre-section-content\">
  115.                 Que vous souhaitiez vendre, acheter ou louer, n’hésitez pas à nous contacter pour toute information.
  116.             </div>
  117.         </div>
  118.         ";
  119.         // line 39
  120.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'39$this->source); })()), 'form_start');
  121.         echo "
  122.         <div id=\"div-form-contact\" class=\"form-group col-lg-8 mx-auto\" style=\"display: flex;\">
  123.             <div class=\"col-lg-4\" style=\"display: flex; flex-direction: column; margin-right: 50px\">
  124.                 <div class=\"form-material floating contact\">
  125.                     ";
  126.         // line 43
  127.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "name", [], "any"falsefalsefalse43), 'widget', ["attr" => ["class" => "form-control""placeholder" => "Nom*"]]);
  128.         echo "
  129.                     ";
  130.         // line 44
  131.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'44$this->source); })()), "name", [], "any"falsefalsefalse44), 'errors');
  132.         echo "
  133.                 </div>
  134.                 <div class=\"form-material floating contact\">
  135.                     ";
  136.         // line 47
  137.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'47$this->source); })()), "firstname", [], "any"falsefalsefalse47), 'widget', ["attr" => ["class" => "form-control""placeholder" => "Prénom"]]);
  138.         echo "
  139.                     ";
  140.         // line 48
  141.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'48$this->source); })()), "firstname", [], "any"falsefalsefalse48), 'errors');
  142.         echo "
  143.                 </div>
  144.                 <div class=\"form-material floating contact\">
  145.                     ";
  146.         // line 51
  147.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'51$this->source); })()), "mail", [], "any"falsefalsefalse51), 'widget', ["attr" => ["class" => "form-control""placeholder" => "Mail*"]]);
  148.         echo "
  149.                     ";
  150.         // line 52
  151.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'52$this->source); })()), "mail", [], "any"falsefalsefalse52), 'errors');
  152.         echo "
  153.                 </div>
  154.                 <div class=\"form-material floating contact\">
  155.                     ";
  156.         // line 55
  157.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'55$this->source); })()), "phone", [], "any"falsefalsefalse55), 'widget', ["attr" => ["class" => "form-control""placeholder" => "Téléphone"]]);
  158.         echo "
  159.                     ";
  160.         // line 56
  161.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'56$this->source); })()), "phone", [], "any"falsefalsefalse56), 'errors');
  162.         echo "
  163.                 </div>
  164.                 <div class=\"form-material floating contact position-relative\">
  165.                     ";
  166.         // line 59
  167.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'59$this->source); })()), "file", [], "any"falsefalsefalse59), 'widget', ["attr" => ["class" => "form-control file-select""placeholder" => "Joindre un fichier &nbsp (.doc, .pdf, .jpeg / max. 5mo) "]]);
  168.         echo "
  169.                     ";
  170.         // line 60
  171.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'60$this->source); })()), "file", [], "any"falsefalsefalse60), 'errors');
  172.         echo "
  173.                     <div style=\"height:35px;width:35px;background: #707070;right:0;top:0;\" class=\"position-absolute\">
  174.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"35\" height=\"35\" viewBox=\"0 0 35 35\">
  175.                             <g id=\"Groupe_4187\" data-name=\"Groupe 4187\" transform=\"translate(-695 -829)\">
  176.                                 <rect id=\"Rectangle_139\" data-name=\"Rectangle 139\" width=\"35\" height=\"35\" transform=\"translate(695 829)\" fill=\"#5f5f5f\"/>
  177.                                 <path id=\"np_download_4247984_000000\" d=\"M24.127,24.127V17.751H25.4V25.4H5V17.751H6.275v6.376Zm-17.852,0H24.127V17.751H25.4V25.4H5V17.751H6.275Zm9.563-5.162,4.784-5.047.955.888-6.437,6.77L8.826,14.937l.955-.888,4.784,4.916V5h1.275Zm-1.326,2.611.033.035v-.035Z\" transform=\"translate(697.799 831.799)\" fill=\"#fff\"/>
  178.                             </g>
  179.                         </svg>
  180.                     </div>
  181.                 </div>
  182.             </div>
  183.             <div class=\"col-lg-6\" style=\"display: flex; flex-direction: column\">
  184.                 <div class=\"form-material floating contact selectdiv\">
  185.                     ";
  186.         // line 73
  187.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'73$this->source); })()), "object", [], "any"falsefalsefalse73), 'widget', ["attr" => ["class" => "form-control"]]);
  188.         echo "
  189.                     ";
  190.         // line 74
  191.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'74$this->source); })()), "object", [], "any"falsefalsefalse74), 'errors');
  192.         echo "
  193.                 </div>
  194.                 <div class=\"form-material floating contact\">
  195.                     ";
  196.         // line 77
  197.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'77$this->source); })()), "message", [], "any"falsefalsefalse77), 'widget', ["attr" => ["class" => "form-control""placeholder" => "Votre message"]]);
  198.         echo "
  199.                     ";
  200.         // line 78
  201.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'78$this->source); })()), "message", [], "any"falsefalsefalse78), 'errors');
  202.         echo "
  203.                 </div>
  204.             </div>
  205.             <div class=\"col-lg-1\">
  206.                 <div class=\"submit-contact-button\">
  207.                     <div>
  208.                         <button id=\"login_user\" class=\"col-lg-12 offset-lg-4btn btn-primary\" type=\"submit\" style=\"background-color: #f6a400; border-color: #f6a400;\">
  209.                             <?xml version=\"1.0\" encoding=\"UTF-8\"?>
  210.                             <svg id=\"SVGDoc\" width=\"19\" height=\"15\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 19 15\"><defs></defs><desc>Generated with Avocode.</desc><g><g transform=\"rotate(90 9.5 7.5)\"><title>np_arrow-up_888648_000000</title><path d=\"M16.10552,5.28141v0l-6.60555,-6.60459v0l-6.60554,6.60459v0l1.3808,1.3808v0l4.23854,-4.23949v0v13.90055v0h1.97232v0v-13.90055v0l4.23855,4.23949v0z\" fill=\"#ffffff\" fill-opacity=\"1\"></path></g></g></svg>
  211.                         </button>
  212.                     </div>
  213.                 </div>
  214.             </div>
  215.             ";
  216.         // line 92
  217.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'92$this->source); })()), 'form_end');
  218.         echo "
  219.         </div>
  220.     </div>
  221.     <section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
  222.         <div class=\"col-lg-8 mx-auto\">
  223.             <div class=\"col-lg-5 title-vendre-other\">
  224.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  225.                     <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"></path>
  226.                 </svg>
  227.                 <h1 class=\"project-title\">
  228.                     NOS biens disponibles<br> À la <span style=\"color:#F6A400\">vente</span>
  229.                 </h1>
  230.             </div>
  231.             <div id=\"propertiesOther\" class=\"vendre col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  232.                 ";
  233.         // line 107
  234.         $context['_parent'] = $context;
  235.         $context['_seq'] = twig_ensure_traversable((isset($context["salesProperties"]) || array_key_exists("salesProperties"$context) ? $context["salesProperties"] : (function () { throw new RuntimeError('Variable "salesProperties" does not exist.'107$this->source); })()));
  236.         $context['loop'] = [
  237.           'parent' => $context['_parent'],
  238.           'index0' => 0,
  239.           'index'  => 1,
  240.           'first'  => true,
  241.         ];
  242.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  243.             $length count($context['_seq']);
  244.             $context['loop']['revindex0'] = $length 1;
  245.             $context['loop']['revindex'] = $length;
  246.             $context['loop']['length'] = $length;
  247.             $context['loop']['last'] = === $length;
  248.         }
  249.         foreach ($context['_seq'] as $context["_key"] => $context["property"]) {
  250.             // line 108
  251.             echo "                    <div  class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  252.                         ";
  253.             // line 109
  254.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["property"], "pictures", [], "any"falsefalsefalse109))) {
  255.                 // line 110
  256.                 echo "                            <div class=\"position-relative properties-slide slick-slide-single-";
  257.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse110), "html"nulltrue);
  258.                 echo "\">
  259.                                 ";
  260.                 // line 111
  261.                 $context['_parent'] = $context;
  262.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source$context["property"], "pictures", [], "any"falsefalsefalse111), 03));
  263.                 foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  264.                     // line 112
  265.                     echo "                                    ";
  266.                     // line 113
  267.                     echo "                                    <div class=\"img\" style=\"background-image: url('";
  268.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse113), "html"nulltrue);
  269.                     echo "')\"  onclick=\"location.href='";
  270.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => twig_get_attribute($this->env$this->source$context["property"], "id", [], "any"falsefalsefalse113)]), "html"nulltrue);
  271.                     echo "'\">
  272.                                     </div>
  273.                                 ";
  274.                 }
  275.                 $_parent $context['_parent'];
  276.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  277.                 $context array_intersect_key($context$_parent) + $_parent;
  278.                 // line 116
  279.                 echo "                            </div>
  280.                         ";
  281.             } else {
  282.                 // line 119
  283.                 echo "                            <div class=\"img\" style=\"background-image: url('";
  284.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/Hudson_Ontario2.png"), "html"nulltrue);
  285.                 echo "')\"></div>
  286.                         ";
  287.             }
  288.             // line 121
  289.             echo "                        <div class=\"row col-md-12 justify-content-between infos-list\">
  290.                             <ul class=\"col-md-4 items\">
  291.                                 <li class=\"item surface\">
  292.                                     <img src=\"";
  293.             // line 124
  294.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/surface.svg"), "html"nulltrue);
  295.             echo "\" class=\"surface-logo\"> ";
  296.             (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse124), "value", [], "any"falsefalsefalse124), null))) ? (print ("")) : (print (twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse124), "value", [], "any"falsefalsefalse124) . $this->extensions['App\Twig\ContentExtension']->areaConversion(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse124), "unit", [], "any"falsefalsefalse124))), "html"nulltrue))));
  297.             echo "
  298.                                 </li>
  299.                             </ul>
  300.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  301.                                 ";
  302.             // line 128
  303.             (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse128), "value", [], "any"falsefalsefalse128), null))) ? (print ("<span style=\"font-size: 14px !important;\">sur demande</span>")) : (print (twig_escape_filter($this->env, (twig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse128), "value", [], "any"falsefalsefalse128), 2","" ") . twig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse128), "currency", [], "any"falsefalsefalse128), ["EUR" => " €"])), "html"nulltrue))));
  304.             echo "
  305.                             </div>
  306.                         </div>
  307.                         <p class=\"city\">";
  308.             // line 131
  309.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "city", [], "any"falsefalsefalse131), "name", [], "any"falsefalsefalse131), "html"nulltrue);
  310.             echo "</p>
  311.                         <p class=\"project-name\">";
  312.             // line 132
  313.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["property"], "reference", [], "any"falsefalsefalse132), "html"nulltrue);
  314.             echo "</p>
  315.                     </div>
  316.                 ";
  317.             ++$context['loop']['index0'];
  318.             ++$context['loop']['index'];
  319.             $context['loop']['first'] = false;
  320.             if (isset($context['loop']['length'])) {
  321.                 --$context['loop']['revindex0'];
  322.                 --$context['loop']['revindex'];
  323.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  324.             }
  325.         }
  326.         $_parent $context['_parent'];
  327.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['property'], $context['_parent'], $context['loop']);
  328.         $context array_intersect_key($context$_parent) + $_parent;
  329.         // line 135
  330.         echo "            </div>
  331.             <div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
  332.                 <div>
  333.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
  334.         // line 138
  335.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties", ["keyword" => "vente"]);
  336.         echo "\">Découvrir plus
  337.                         <svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
  338.                     </a>
  339.                 </div>
  340.             </div>
  341.         </div>
  342.     </section>
  343.     <section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
  344.         <div class=\"col-lg-8 mx-auto\">
  345.             <div class=\"col-lg-5 title-vendre-other\">
  346.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  347.                     <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"></path>
  348.                 </svg>
  349.                 <h1 class=\"project-title\">
  350.                     NOS biens disponibles<br> À la <span style=\"color:#F6A400\">location</span>
  351.                 </h1>
  352.             </div>
  353.             <div id=\"propertiesOther\" class=\"col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  354.                 ";
  355.         // line 157
  356.         $context['_parent'] = $context;
  357.         $context['_seq'] = twig_ensure_traversable((isset($context["rentsProperties"]) || array_key_exists("rentsProperties"$context) ? $context["rentsProperties"] : (function () { throw new RuntimeError('Variable "rentsProperties" does not exist.'157$this->source); })()));
  358.         $context['loop'] = [
  359.           'parent' => $context['_parent'],
  360.           'index0' => 0,
  361.           'index'  => 1,
  362.           'first'  => true,
  363.         ];
  364.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  365.             $length count($context['_seq']);
  366.             $context['loop']['revindex0'] = $length 1;
  367.             $context['loop']['revindex'] = $length;
  368.             $context['loop']['length'] = $length;
  369.             $context['loop']['last'] = === $length;
  370.         }
  371.         foreach ($context['_seq'] as $context["_key"] => $context["property"]) {
  372.             // line 158
  373.             echo "                    <div  class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  374.                         ";
  375.             // line 159
  376.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["property"], "pictures", [], "any"falsefalsefalse159))) {
  377.                 // line 160
  378.                 echo "                            <div class=\"position-relative properties-slide slick-slide-rent-";
  379.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse160), "html"nulltrue);
  380.                 echo "\">
  381.                                 ";
  382.                 // line 161
  383.                 $context['_parent'] = $context;
  384.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source$context["property"], "pictures", [], "any"falsefalsefalse161), 03));
  385.                 foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  386.                     // line 162
  387.                     echo "                                    ";
  388.                     // line 163
  389.                     echo "                                    <div class=\"img\" style=\"background-image: url('";
  390.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse163), "html"nulltrue);
  391.                     echo "')\"  onclick=\"location.href='";
  392.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => twig_get_attribute($this->env$this->source$context["property"], "id", [], "any"falsefalsefalse163)]), "html"nulltrue);
  393.                     echo "'\">
  394.                                     </div>
  395.                                 ";
  396.                 }
  397.                 $_parent $context['_parent'];
  398.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  399.                 $context array_intersect_key($context$_parent) + $_parent;
  400.                 // line 166
  401.                 echo "                            </div>
  402.                         ";
  403.             } else {
  404.                 // line 169
  405.                 echo "                            <div class=\"img\" style=\"background-image: url('";
  406.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/Hudson_Ontario2.png"), "html"nulltrue);
  407.                 echo "')\"></div>
  408.                         ";
  409.             }
  410.             // line 171
  411.             echo "                        <div class=\"row col-md-12 justify-content-between infos-list\">
  412.                             <ul class=\"col-md-4 items\">
  413.                                 <li class=\"item surface\">
  414.                                     <img src=\"";
  415.             // line 174
  416.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/surface.svg"), "html"nulltrue);
  417.             echo "\" class=\"surface-logo\"> ";
  418.             (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse174), "value", [], "any"falsefalsefalse174), null))) ? (print ("")) : (print (twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse174), "value", [], "any"falsefalsefalse174) . $this->extensions['App\Twig\ContentExtension']->areaConversion(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse174), "unit", [], "any"falsefalsefalse174))), "html"nulltrue))));
  419.             echo "
  420.                                 </li>
  421.                             </ul>
  422.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  423.                                 ";
  424.             // line 178
  425.             (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse178), "value", [], "any"falsefalsefalse178), null))) ? (print ("<span style=\"font-size: 14px !important;\">sur demande</span>")) : (print (twig_escape_filter($this->env, (twig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse178), "value", [], "any"falsefalsefalse178), 2","" ") . twig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse178), "currency", [], "any"falsefalsefalse178), ["EUR" => " €"])), "html"nulltrue))));
  426.             echo "
  427.                             </div>
  428.                         </div>
  429.                         <p class=\"city\">";
  430.             // line 181
  431.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "city", [], "any"falsefalsefalse181), "name", [], "any"falsefalsefalse181), "html"nulltrue);
  432.             echo "</p>
  433.                         <p class=\"project-name\">";
  434.             // line 182
  435.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["property"], "reference", [], "any"falsefalsefalse182), "html"nulltrue);
  436.             echo "</p>
  437.                     </div>
  438.                 ";
  439.             ++$context['loop']['index0'];
  440.             ++$context['loop']['index'];
  441.             $context['loop']['first'] = false;
  442.             if (isset($context['loop']['length'])) {
  443.                 --$context['loop']['revindex0'];
  444.                 --$context['loop']['revindex'];
  445.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  446.             }
  447.         }
  448.         $_parent $context['_parent'];
  449.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['property'], $context['_parent'], $context['loop']);
  450.         $context array_intersect_key($context$_parent) + $_parent;
  451.         // line 185
  452.         echo "            </div>
  453.             <div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
  454.                 <div>
  455.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
  456.         // line 188
  457.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties", ["keyword" => "location"]);
  458.         echo "\">Découvrir plus
  459.                         <svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
  460.                     </a>
  461.                 </div>
  462.             </div>
  463.         </div>
  464.     </section>
  465.     <script>
  466.         const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  467.                                 <path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
  468.                             </svg>`;
  469.         const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  470.                             <path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
  471.                         </svg>`;
  472.         var countProperties = '";
  473.         // line 205
  474.         echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["salesProperties"]) || array_key_exists("salesProperties"$context) ? $context["salesProperties"] : (function () { throw new RuntimeError('Variable "salesProperties" does not exist.'205$this->source); })())), "html"nulltrue);
  475.         echo "';
  476.         var loopProp = 1;
  477.         while (loopProp <= countProperties) {
  478.             \$('.slick-slide-single-'+loopProp).slick({
  479.                 'slidesToShow': 1,
  480.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  481.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  482.             });
  483.             loopProp++;
  484.         }
  485.         var countPropertiesRent = '";
  486.         // line 216
  487.         echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["rentsProperties"]) || array_key_exists("rentsProperties"$context) ? $context["rentsProperties"] : (function () { throw new RuntimeError('Variable "rentsProperties" does not exist.'216$this->source); })())), "html"nulltrue);
  488.         echo "';
  489.         var loopPropRent = 1;
  490.         while (loopPropRent <= countPropertiesRent) {
  491.             \$('.slick-slide-rent-'+loopPropRent).slick({
  492.                 'slidesToShow': 1,
  493.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  494.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  495.             });
  496.             loopPropRent++;
  497.         }
  498.     </script>
  499. ";
  500.         
  501.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  502.         
  503.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  504.     }
  505.     public function getTemplateName()
  506.     {
  507.         return "vendre.html.twig";
  508.     }
  509.     public function isTraitable()
  510.     {
  511.         return false;
  512.     }
  513.     public function getDebugInfo()
  514.     {
  515.         return array (  518 => 216,  504 => 205,  484 => 188,  479 => 185,  462 => 182,  458 => 181,  452 => 178,  443 => 174,  438 => 171,  432 => 169,  427 => 166,  415 => 163,  413 => 162,  409 => 161,  404 => 160,  402 => 159,  399 => 158,  382 => 157,  360 => 138,  355 => 135,  338 => 132,  334 => 131,  328 => 128,  319 => 124,  314 => 121,  308 => 119,  303 => 116,  291 => 113,  289 => 112,  285 => 111,  280 => 110,  278 => 109,  275 => 108,  258 => 107,  240 => 92,  223 => 78,  219 => 77,  213 => 74,  209 => 73,  193 => 60,  189 => 59,  183 => 56,  179 => 55,  173 => 52,  169 => 51,  163 => 48,  159 => 47,  153 => 44,  149 => 43,  142 => 39,  126 => 25,  124 => 24,  110 => 14,  107 => 13,  104 => 12,  101 => 11,  98 => 10,  96 => 9,  93 => 8,  91 => 7,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  516.     }
  517.     public function getSourceContext()
  518.     {
  519.         return new Source("{% extends 'base.html.twig' %}
  520. {% block title %}Vendre{% endblock %}
  521. {% block body %}
  522.     {% set headerContent = content('Contact', 'Header') %}
  523.     {% if headerContent.picture is defined and headerContent.picture is not empty %}
  524.         {% set backgroundImage = headerContent.picture[0].path %}
  525.     {% else %}
  526.         {% set backgroundImage = 'empty' %}
  527.     {% endif %}
  528.     <header class=\"header-habiter col-lg-8 mx-auto\" style=\"background-image: url({{ asset('img/vente.png') }}); height: 480px\">
  529.         <div class=\"container-fluid\">
  530.             <div class=\"col-lg-8 mx-auto div-svg-header\">
  531.                 <div class=\"header-habiter-div\">
  532.                 </div>
  533.             </div>
  534.         </div>
  535.     </header>
  536.     <div class=\"container-fluid\" style=\"margin-top: 60px; margin-bottom: 80px\">
  537.         {% set contactContent = content('Contact', 'Section-1') %}
  538.         <div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
  539.             <div class=\"col-lg-4\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
  540.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  541.                     <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
  542.                 </svg>
  543.                 <h1 class=\"project-title contact\">VENDEZ AVEC NOUS</h1>
  544.             </div>
  545.             <div class=\"separator\"></div>
  546.             <div class=\"col-lg-6 pre-section-content\">
  547.                 Que vous souhaitiez vendre, acheter ou louer, n’hésitez pas à nous contacter pour toute information.
  548.             </div>
  549.         </div>
  550.         {{ form_start(form) }}
  551.         <div id=\"div-form-contact\" class=\"form-group col-lg-8 mx-auto\" style=\"display: flex;\">
  552.             <div class=\"col-lg-4\" style=\"display: flex; flex-direction: column; margin-right: 50px\">
  553.                 <div class=\"form-material floating contact\">
  554.                     {{ form_widget(form.name, {'attr': { 'class':'form-control', 'placeholder': 'Nom*'}}) }}
  555.                     {{ form_errors(form.name) }}
  556.                 </div>
  557.                 <div class=\"form-material floating contact\">
  558.                     {{ form_widget(form.firstname, {'attr': { 'class':'form-control', 'placeholder': 'Prénom'}}) }}
  559.                     {{ form_errors(form.firstname) }}
  560.                 </div>
  561.                 <div class=\"form-material floating contact\">
  562.                     {{ form_widget(form.mail, {'attr': { 'class':'form-control', 'placeholder': 'Mail*'}}) }}
  563.                     {{ form_errors(form.mail) }}
  564.                 </div>
  565.                 <div class=\"form-material floating contact\">
  566.                     {{ form_widget(form.phone, {'attr': { 'class':'form-control', 'placeholder': 'Téléphone'}}) }}
  567.                     {{ form_errors(form.phone) }}
  568.                 </div>
  569.                 <div class=\"form-material floating contact position-relative\">
  570.                     {{ form_widget(form.file, {'attr': { 'class':'form-control file-select', 'placeholder': 'Joindre un fichier &nbsp (.doc, .pdf, .jpeg / max. 5mo) '}}) }}
  571.                     {{ form_errors(form.file) }}
  572.                     <div style=\"height:35px;width:35px;background: #707070;right:0;top:0;\" class=\"position-absolute\">
  573.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"35\" height=\"35\" viewBox=\"0 0 35 35\">
  574.                             <g id=\"Groupe_4187\" data-name=\"Groupe 4187\" transform=\"translate(-695 -829)\">
  575.                                 <rect id=\"Rectangle_139\" data-name=\"Rectangle 139\" width=\"35\" height=\"35\" transform=\"translate(695 829)\" fill=\"#5f5f5f\"/>
  576.                                 <path id=\"np_download_4247984_000000\" d=\"M24.127,24.127V17.751H25.4V25.4H5V17.751H6.275v6.376Zm-17.852,0H24.127V17.751H25.4V25.4H5V17.751H6.275Zm9.563-5.162,4.784-5.047.955.888-6.437,6.77L8.826,14.937l.955-.888,4.784,4.916V5h1.275Zm-1.326,2.611.033.035v-.035Z\" transform=\"translate(697.799 831.799)\" fill=\"#fff\"/>
  577.                             </g>
  578.                         </svg>
  579.                     </div>
  580.                 </div>
  581.             </div>
  582.             <div class=\"col-lg-6\" style=\"display: flex; flex-direction: column\">
  583.                 <div class=\"form-material floating contact selectdiv\">
  584.                     {{ form_widget(form.object, {'attr': { 'class':'form-control'}}) }}
  585.                     {{ form_errors(form.object) }}
  586.                 </div>
  587.                 <div class=\"form-material floating contact\">
  588.                     {{ form_widget(form.message, {'attr': { 'class':'form-control', 'placeholder': 'Votre message'}}) }}
  589.                     {{ form_errors(form.message) }}
  590.                 </div>
  591.             </div>
  592.             <div class=\"col-lg-1\">
  593.                 <div class=\"submit-contact-button\">
  594.                     <div>
  595.                         <button id=\"login_user\" class=\"col-lg-12 offset-lg-4btn btn-primary\" type=\"submit\" style=\"background-color: #f6a400; border-color: #f6a400;\">
  596.                             <?xml version=\"1.0\" encoding=\"UTF-8\"?>
  597.                             <svg id=\"SVGDoc\" width=\"19\" height=\"15\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 19 15\"><defs></defs><desc>Generated with Avocode.</desc><g><g transform=\"rotate(90 9.5 7.5)\"><title>np_arrow-up_888648_000000</title><path d=\"M16.10552,5.28141v0l-6.60555,-6.60459v0l-6.60554,6.60459v0l1.3808,1.3808v0l4.23854,-4.23949v0v13.90055v0h1.97232v0v-13.90055v0l4.23855,4.23949v0z\" fill=\"#ffffff\" fill-opacity=\"1\"></path></g></g></svg>
  598.                         </button>
  599.                     </div>
  600.                 </div>
  601.             </div>
  602.             {{ form_end(form) }}
  603.         </div>
  604.     </div>
  605.     <section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
  606.         <div class=\"col-lg-8 mx-auto\">
  607.             <div class=\"col-lg-5 title-vendre-other\">
  608.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  609.                     <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"></path>
  610.                 </svg>
  611.                 <h1 class=\"project-title\">
  612.                     NOS biens disponibles<br> À la <span style=\"color:#F6A400\">vente</span>
  613.                 </h1>
  614.             </div>
  615.             <div id=\"propertiesOther\" class=\"vendre col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  616.                 {% for property in salesProperties %}
  617.                     <div  class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  618.                         {% if property.pictures is not empty %}
  619.                             <div class=\"position-relative properties-slide slick-slide-single-{{ loop.index }}\">
  620.                                 {% for picture in property.pictures|slice(0,3) %}
  621.                                     {#                                    <img class=\"img-100\" src=\"{{ picture.url }}\">#}
  622.                                     <div class=\"img\" style=\"background-image: url('{{ picture.url }}')\"  onclick=\"location.href='{{ path('property-detail', {'id': property.id}) }}'\">
  623.                                     </div>
  624.                                 {% endfor %}
  625.                             </div>
  626.                         {% else %}
  627.                             <div class=\"img\" style=\"background-image: url('{{ asset('build/Hudson_Ontario2.png') }}')\"></div>
  628.                         {% endif %}
  629.                         <div class=\"row col-md-12 justify-content-between infos-list\">
  630.                             <ul class=\"col-md-4 items\">
  631.                                 <li class=\"item surface\">
  632.                                     <img src=\"{{ asset('img/surface.svg') }}\" class=\"surface-logo\"> {{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}
  633.                                 </li>
  634.                             </ul>
  635.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  636.                                 {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  637.                             </div>
  638.                         </div>
  639.                         <p class=\"city\">{{ property.city.name }}</p>
  640.                         <p class=\"project-name\">{{ property.reference }}</p>
  641.                     </div>
  642.                 {% endfor %}
  643.             </div>
  644.             <div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
  645.                 <div>
  646.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties', {'keyword': 'vente'}) }}\">Découvrir plus
  647.                         <svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
  648.                     </a>
  649.                 </div>
  650.             </div>
  651.         </div>
  652.     </section>
  653.     <section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
  654.         <div class=\"col-lg-8 mx-auto\">
  655.             <div class=\"col-lg-5 title-vendre-other\">
  656.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  657.                     <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"></path>
  658.                 </svg>
  659.                 <h1 class=\"project-title\">
  660.                     NOS biens disponibles<br> À la <span style=\"color:#F6A400\">location</span>
  661.                 </h1>
  662.             </div>
  663.             <div id=\"propertiesOther\" class=\"col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  664.                 {% for property in rentsProperties %}
  665.                     <div  class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  666.                         {% if property.pictures is not empty %}
  667.                             <div class=\"position-relative properties-slide slick-slide-rent-{{ loop.index }}\">
  668.                                 {% for picture in property.pictures|slice(0,3) %}
  669.                                     {#                                    <img class=\"img-100\" src=\"{{ picture.url }}\">#}
  670.                                     <div class=\"img\" style=\"background-image: url('{{ picture.url }}')\"  onclick=\"location.href='{{ path('property-detail', {'id': property.id}) }}'\">
  671.                                     </div>
  672.                                 {% endfor %}
  673.                             </div>
  674.                         {% else %}
  675.                             <div class=\"img\" style=\"background-image: url('{{ asset('build/Hudson_Ontario2.png') }}')\"></div>
  676.                         {% endif %}
  677.                         <div class=\"row col-md-12 justify-content-between infos-list\">
  678.                             <ul class=\"col-md-4 items\">
  679.                                 <li class=\"item surface\">
  680.                                     <img src=\"{{ asset('img/surface.svg') }}\" class=\"surface-logo\"> {{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}
  681.                                 </li>
  682.                             </ul>
  683.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  684.                                 {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  685.                             </div>
  686.                         </div>
  687.                         <p class=\"city\">{{ property.city.name }}</p>
  688.                         <p class=\"project-name\">{{ property.reference }}</p>
  689.                     </div>
  690.                 {% endfor %}
  691.             </div>
  692.             <div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
  693.                 <div>
  694.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties', {'keyword': 'location'}) }}\">Découvrir plus
  695.                         <svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
  696.                     </a>
  697.                 </div>
  698.             </div>
  699.         </div>
  700.     </section>
  701.     <script>
  702.         const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  703.                                 <path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
  704.                             </svg>`;
  705.         const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  706.                             <path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
  707.                         </svg>`;
  708.         var countProperties = '{{ salesProperties|length }}';
  709.         var loopProp = 1;
  710.         while (loopProp <= countProperties) {
  711.             \$('.slick-slide-single-'+loopProp).slick({
  712.                 'slidesToShow': 1,
  713.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  714.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  715.             });
  716.             loopProp++;
  717.         }
  718.         var countPropertiesRent = '{{ rentsProperties|length }}';
  719.         var loopPropRent = 1;
  720.         while (loopPropRent <= countPropertiesRent) {
  721.             \$('.slick-slide-rent-'+loopPropRent).slick({
  722.                 'slidesToShow': 1,
  723.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  724.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  725.             });
  726.             loopPropRent++;
  727.         }
  728.     </script>
  729. {% endblock %}
  730. ""vendre.html.twig""/home/juca-stage/sites/sym/tracol/templates/vendre.html.twig");
  731.     }
  732. }