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

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 vendre col-lg-8 mx-auto\" style=\"background: url(";
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/img_bien_a_vendre.jpg"), "html"nulltrue);
  93.         echo ")no-repeat top;background-size:cover;height:740px;\">
  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 votre terrain avec nous</h1>
  112.             </div>
  113.             <div class=\"separator\"></div>
  114.             <div class=\"col-lg-6 pre-section-content\">
  115.                 Tracol Immobilier est constamment à la recherche de terrains à bâtir. Qu’il s’agisse d’une parcelle située dans un quartier calme, en pleine nature, ou à proximité de grands axes, nous sommes intéressés.
  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.                                 ";
  414.             // line 173
  415.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse173), "value", [], "any"falsefalsefalse173)) {
  416.                 // line 174
  417.                 echo "                                    <li class=\"item surface\">
  418.                                         <img src=\"";
  419.                 // line 175
  420.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/surface.svg"), "html"nulltrue);
  421.                 echo "\" class=\"surface-logo\"> ";
  422.                 (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse175), "value", [], "any"falsefalsefalse175), 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"falsefalsefalse175), "value", [], "any"falsefalsefalse175) . $this->extensions['App\Twig\ContentExtension']->areaConversion(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse175), "unit", [], "any"falsefalsefalse175))), "html"nulltrue))));
  423.                 echo "
  424.                                     </li>
  425.                                 ";
  426.             }
  427.             // line 178
  428.             echo "                            </ul>
  429.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  430.                                 ";
  431.             // line 180
  432.             (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse180), "value", [], "any"falsefalsefalse180), 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"falsefalsefalse180), "value", [], "any"falsefalsefalse180), 2","" ") . twig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse180), "currency", [], "any"falsefalsefalse180), ["EUR" => " €"])), "html"nulltrue))));
  433.             echo "
  434.                             </div>
  435.                         </div>
  436.                         <p class=\"city\" ";
  437.             // line 183
  438.             if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse183), "value", [], "any"falsefalsefalse183)) {
  439.                 echo "style=\"margin-top:-30px;\"";
  440.             }
  441.             echo ">";
  442.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "city", [], "any"falsefalsefalse183), "name", [], "any"falsefalsefalse183), "html"nulltrue);
  443.             echo "</p>
  444.                         <p class=\"project-name\">";
  445.             // line 184
  446.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["property"], "reference", [], "any"falsefalsefalse184), "html"nulltrue);
  447.             echo "</p>
  448.                     </div>
  449.                 ";
  450.             ++$context['loop']['index0'];
  451.             ++$context['loop']['index'];
  452.             $context['loop']['first'] = false;
  453.             if (isset($context['loop']['length'])) {
  454.                 --$context['loop']['revindex0'];
  455.                 --$context['loop']['revindex'];
  456.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  457.             }
  458.         }
  459.         $_parent $context['_parent'];
  460.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['property'], $context['_parent'], $context['loop']);
  461.         $context array_intersect_key($context$_parent) + $_parent;
  462.         // line 187
  463.         echo "            </div>
  464.             <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;\">
  465.                 <div>
  466.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
  467.         // line 190
  468.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties", ["keyword" => "location"]);
  469.         echo "\">Découvrir plus
  470.                         <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 -->
  471.                     </a>
  472.                 </div>
  473.             </div>
  474.         </div>
  475.     </section>
  476.     <script>
  477.         const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  478.                                 <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\"/>
  479.                             </svg>`;
  480.         const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  481.                             <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\"/>
  482.                         </svg>`;
  483.         var countProperties = '";
  484.         // line 207
  485.         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.'207$this->source); })())), "html"nulltrue);
  486.         echo "';
  487.         var loopProp = 1;
  488.         while (loopProp <= countProperties) {
  489.             \$('.slick-slide-single-'+loopProp).slick({
  490.                 'slidesToShow': 1,
  491.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  492.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  493.             });
  494.             loopProp++;
  495.         }
  496.         var countPropertiesRent = '";
  497.         // line 218
  498.         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.'218$this->source); })())), "html"nulltrue);
  499.         echo "';
  500.         var loopPropRent = 1;
  501.         while (loopPropRent <= countPropertiesRent) {
  502.             \$('.slick-slide-rent-'+loopPropRent).slick({
  503.                 'slidesToShow': 1,
  504.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  505.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  506.             });
  507.             loopPropRent++;
  508.         }
  509.     </script>
  510.     <script>
  511.         document.querySelector('.selectdiv').style.display = 'none';
  512.         document.getElementById('contact_form_message').style.height = '276px';
  513.     </script>
  514. ";
  515.         
  516.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  517.         
  518.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  519.     }
  520.     public function getTemplateName()
  521.     {
  522.         return "vendre.html.twig";
  523.     }
  524.     public function isTraitable()
  525.     {
  526.         return false;
  527.     }
  528.     public function getDebugInfo()
  529.     {
  530.         return array (  529 => 218,  515 => 207,  495 => 190,  490 => 187,  473 => 184,  465 => 183,  459 => 180,  455 => 178,  447 => 175,  444 => 174,  442 => 173,  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,);
  531.     }
  532.     public function getSourceContext()
  533.     {
  534.         return new Source("{% extends 'base.html.twig' %}
  535. {% block title %}Vendre{% endblock %}
  536. {% block body %}
  537.     {% set headerContent = content('Contact', 'Header') %}
  538.     {% if headerContent.picture is defined and headerContent.picture is not empty %}
  539.         {% set backgroundImage = headerContent.picture[0].path %}
  540.     {% else %}
  541.         {% set backgroundImage = 'empty' %}
  542.     {% endif %}
  543.     <header class=\"header-habiter vendre col-lg-8 mx-auto\" style=\"background: url({{ asset('img/img_bien_a_vendre.jpg') }})no-repeat top;background-size:cover;height:740px;\">
  544.         <div class=\"container-fluid\">
  545.             <div class=\"col-lg-8 mx-auto div-svg-header\">
  546.                 <div class=\"header-habiter-div\">
  547.                 </div>
  548.             </div>
  549.         </div>
  550.     </header>
  551.     <div class=\"container-fluid\" style=\"margin-top: 60px; margin-bottom: 80px\">
  552.         {% set contactContent = content('Contact', 'Section-1') %}
  553.         <div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
  554.             <div class=\"col-lg-4\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
  555.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  556.                     <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\"/>
  557.                 </svg>
  558.                 <h1 class=\"project-title contact\">Vendez votre terrain avec nous</h1>
  559.             </div>
  560.             <div class=\"separator\"></div>
  561.             <div class=\"col-lg-6 pre-section-content\">
  562.                 Tracol Immobilier est constamment à la recherche de terrains à bâtir. Qu’il s’agisse d’une parcelle située dans un quartier calme, en pleine nature, ou à proximité de grands axes, nous sommes intéressés.
  563.             </div>
  564.         </div>
  565.         {{ form_start(form) }}
  566.         <div id=\"div-form-contact\" class=\"form-group col-lg-8 mx-auto\" style=\"display: flex;\">
  567.             <div class=\"col-lg-4\" style=\"display: flex; flex-direction: column; margin-right: 50px\">
  568.                 <div class=\"form-material floating contact\">
  569.                     {{ form_widget(form.name, {'attr': { 'class':'form-control', 'placeholder': 'Nom*'}}) }}
  570.                     {{ form_errors(form.name) }}
  571.                 </div>
  572.                 <div class=\"form-material floating contact\">
  573.                     {{ form_widget(form.firstname, {'attr': { 'class':'form-control', 'placeholder': 'Prénom*'}}) }}
  574.                     {{ form_errors(form.firstname) }}
  575.                 </div>
  576.                 <div class=\"form-material floating contact\">
  577.                     {{ form_widget(form.mail, {'attr': { 'class':'form-control', 'placeholder': 'Mail*'}}) }}
  578.                     {{ form_errors(form.mail) }}
  579.                 </div>
  580.                 <div class=\"form-material floating contact\">
  581.                     {{ form_widget(form.phone, {'attr': { 'class':'form-control', 'placeholder': 'Téléphone*'}}) }}
  582.                     {{ form_errors(form.phone) }}
  583.                 </div>
  584.                 <div class=\"form-material floating contact position-relative\">
  585.                     {{ form_widget(form.file, {'attr': { 'class':'form-control file-select', 'placeholder': 'Joindre un fichier &nbsp (.doc, .pdf, .jpeg / max. 5mo) '}}) }}
  586.                     {{ form_errors(form.file) }}
  587.                     <div style=\"height:35px;width:35px;background: #707070;right:0;top:0;\" class=\"position-absolute\">
  588.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"35\" height=\"35\" viewBox=\"0 0 35 35\">
  589.                             <g id=\"Groupe_4187\" data-name=\"Groupe 4187\" transform=\"translate(-695 -829)\">
  590.                                 <rect id=\"Rectangle_139\" data-name=\"Rectangle 139\" width=\"35\" height=\"35\" transform=\"translate(695 829)\" fill=\"#5f5f5f\"/>
  591.                                 <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\"/>
  592.                             </g>
  593.                         </svg>
  594.                     </div>
  595.                 </div>
  596.             </div>
  597.             <div class=\"col-lg-6\" style=\"display: flex; flex-direction: column\">
  598.                 <div class=\"form-material floating contact selectdiv\">
  599.                     {{ form_widget(form.object, {'attr': { 'class':'form-control'}}) }}
  600.                     {{ form_errors(form.object) }}
  601.                 </div>
  602.                 <div class=\"form-material floating contact\">
  603.                     {{ form_widget(form.message, {'attr': { 'class':'form-control', 'placeholder': 'Votre message'}}) }}
  604.                     {{ form_errors(form.message) }}
  605.                 </div>
  606.             </div>
  607.             <div class=\"col-lg-1\">
  608.                 <div class=\"submit-contact-button\">
  609.                     <div>
  610.                         <button id=\"login_user\" class=\"col-lg-12 offset-lg-4btn btn-primary\" type=\"submit\" style=\"background-color: #f6a400; border-color: #f6a400;\">
  611.                             <?xml version=\"1.0\" encoding=\"UTF-8\"?>
  612.                             <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>
  613.                         </button>
  614.                     </div>
  615.                 </div>
  616.             </div>
  617.             {{ form_end(form) }}
  618.         </div>
  619.     </div>
  620.     <section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
  621.         <div class=\"col-lg-8 mx-auto\">
  622.             <div class=\"col-lg-5 title-vendre-other\">
  623.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  624.                     <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>
  625.                 </svg>
  626.                 <h1 class=\"project-title\">
  627.                     NOS biens disponibles<br> À la <span style=\"color:#F6A400\">vente</span>
  628.                 </h1>
  629.             </div>
  630.             <div id=\"propertiesOther\" class=\"vendre col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  631.                 {% for property in salesProperties %}
  632.                     <div  class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  633.                         {% if property.pictures is not empty %}
  634.                             <div class=\"position-relative properties-slide slick-slide-single-{{ loop.index }}\">
  635.                                 {% for picture in property.pictures|slice(0,3) %}
  636.                                     {#                                    <img class=\"img-100\" src=\"{{ picture.url }}\">#}
  637.                                     <div class=\"img\" style=\"background-image: url('{{ picture.url }}')\"  onclick=\"location.href='{{ path('property-detail', {'id': property.id}) }}'\">
  638.                                     </div>
  639.                                 {% endfor %}
  640.                             </div>
  641.                         {% else %}
  642.                             <div class=\"img\" style=\"background-image: url('{{ asset('build/Hudson_Ontario2.png') }}')\"></div>
  643.                         {% endif %}
  644.                         <div class=\"row col-md-12 justify-content-between infos-list\">
  645.                             <ul class=\"col-md-4 items\">
  646.                                 <li class=\"item surface\">
  647.                                     <img src=\"{{ asset('img/surface.svg') }}\" class=\"surface-logo\"> {{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}
  648.                                 </li>
  649.                             </ul>
  650.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  651.                                 {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  652.                             </div>
  653.                         </div>
  654.                         <p class=\"city\">{{ property.city.name }}</p>
  655.                         <p class=\"project-name\">{{ property.reference }}</p>
  656.                     </div>
  657.                 {% endfor %}
  658.             </div>
  659.             <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;\">
  660.                 <div>
  661.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties', {'keyword': 'vente'}) }}\">Découvrir plus
  662.                         <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 -->
  663.                     </a>
  664.                 </div>
  665.             </div>
  666.         </div>
  667.     </section>
  668.     <section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
  669.         <div class=\"col-lg-8 mx-auto\">
  670.             <div class=\"col-lg-5 title-vendre-other\">
  671.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  672.                     <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>
  673.                 </svg>
  674.                 <h1 class=\"project-title\">
  675.                     NOS biens disponibles<br> À la <span style=\"color:#F6A400\">location</span>
  676.                 </h1>
  677.             </div>
  678.             <div id=\"propertiesOther\" class=\"col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  679.                 {% for property in rentsProperties %}
  680.                     <div  class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  681.                         {% if property.pictures is not empty %}
  682.                             <div class=\"position-relative properties-slide slick-slide-rent-{{ loop.index }}\">
  683.                                 {% for picture in property.pictures|slice(0,3) %}
  684.                                     {#                                    <img class=\"img-100\" src=\"{{ picture.url }}\">#}
  685.                                     <div class=\"img\" style=\"background-image: url('{{ picture.url }}')\"  onclick=\"location.href='{{ path('property-detail', {'id': property.id}) }}'\">
  686.                                     </div>
  687.                                 {% endfor %}
  688.                             </div>
  689.                         {% else %}
  690.                             <div class=\"img\" style=\"background-image: url('{{ asset('build/Hudson_Ontario2.png') }}')\"></div>
  691.                         {% endif %}
  692.                         <div class=\"row col-md-12 justify-content-between infos-list\">
  693.                             <ul class=\"col-md-4 items\">
  694.                                 {% if property.area.value %}
  695.                                     <li class=\"item surface\">
  696.                                         <img src=\"{{ asset('img/surface.svg') }}\" class=\"surface-logo\"> {{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}
  697.                                     </li>
  698.                                 {% endif %}
  699.                             </ul>
  700.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  701.                                 {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  702.                             </div>
  703.                         </div>
  704.                         <p class=\"city\" {% if not property.area.value %}style=\"margin-top:-30px;\"{% endif %}>{{ property.city.name }}</p>
  705.                         <p class=\"project-name\">{{ property.reference }}</p>
  706.                     </div>
  707.                 {% endfor %}
  708.             </div>
  709.             <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;\">
  710.                 <div>
  711.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties', {'keyword': 'location'}) }}\">Découvrir plus
  712.                         <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 -->
  713.                     </a>
  714.                 </div>
  715.             </div>
  716.         </div>
  717.     </section>
  718.     <script>
  719.         const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  720.                                 <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\"/>
  721.                             </svg>`;
  722.         const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  723.                             <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\"/>
  724.                         </svg>`;
  725.         var countProperties = '{{ salesProperties|length }}';
  726.         var loopProp = 1;
  727.         while (loopProp <= countProperties) {
  728.             \$('.slick-slide-single-'+loopProp).slick({
  729.                 'slidesToShow': 1,
  730.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  731.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  732.             });
  733.             loopProp++;
  734.         }
  735.         var countPropertiesRent = '{{ rentsProperties|length }}';
  736.         var loopPropRent = 1;
  737.         while (loopPropRent <= countPropertiesRent) {
  738.             \$('.slick-slide-rent-'+loopPropRent).slick({
  739.                 'slidesToShow': 1,
  740.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  741.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  742.             });
  743.             loopPropRent++;
  744.         }
  745.     </script>
  746.     <script>
  747.         document.querySelector('.selectdiv').style.display = 'none';
  748.         document.getElementById('contact_form_message').style.height = '276px';
  749.     </script>
  750. {% endblock %}
  751. ""vendre.html.twig""/home/jumo/sites/sym/tracol/templates/vendre.html.twig");
  752.     }
  753. }