<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Frontend/search.html.twig */
class __TwigTemplate_0d96756b33661af444ccf383d9033078 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/search.html.twig"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/search.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/search.html.twig"));
// line 1
$macros["macros"] = $this->macros["macros"] = $this;
// line 2
echo "<div class=\"search\">
<div class=\"prelative\">
<div class=\"col-right-close grid-hide tab-l-visible tab-p-visible m-hide\">
<div class=\"bloc-bt-close\">
<span class=\"bt-close tab-close-col-right\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne3\"></span>
</span>
</span>
</div>
</div>
<div class=\"col-right-close grid-hide m-visible\">
<div class=\"bloc-bt-close\">
<span class=\"bt-close m-close-col-right\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne3\"></span>
</span>
</span>
</div>
</div>
";
// line 24
if (( !array_key_exists("form_type", $context) || ((isset($context["form_type"]) || array_key_exists("form_type", $context) ? $context["form_type"] : (function () { throw new RuntimeError('Variable "form_type" does not exist.', 24, $this->source); })()) == twig_constant("App\\Form\\Type\\Frontend\\VehicleSearchType::FORM_DEFAULT")))) {
// line 25
echo " <form action=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_search_store");
echo "\" method=\"POST\">
<div class=\"form-recherche\">
";
// line 27
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["freesearch_form"]) || array_key_exists("freesearch_form", $context) ? $context["freesearch_form"] : (function () { throw new RuntimeError('Variable "freesearch_form" does not exist.', 27, $this->source); })()), "freeSearch", [], "any", false, false, false, 27), 'widget');
echo "
";
// line 28
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["freesearch_form"]) || array_key_exists("freesearch_form", $context) ? $context["freesearch_form"] : (function () { throw new RuntimeError('Variable "freesearch_form" does not exist.', 28, $this->source); })()), "search", [], "any", false, false, false, 28), 'widget');
echo "
<span class=\"btn07\"><i class=\"icon-menu-rechercher-m\"></i></span>
</div>
</form>
<div class=\"grid-container\">
<p class=\"left marginL10 marginT10\">
<span data-o=\"";
// line 34
echo twig_escape_filter($this->env, ((( !(null === twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "user", [], "any", false, false, false, 34)) && $this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "user", [], "any", false, false, false, 34)))) ? ($this->extensions['App\Twig\Extension\UserExtension']->base64Encode($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_vehicle_alert_search_pro"))) : ($this->extensions['App\Twig\Extension\UserExtension']->base64Encode($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_vehicle_alert_search")))), "html", null, true);
echo "\" class=\"btn-creer-alerte obflink\" role=\"link\"><i class=\"icon-alerte06\"></i> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.alert.create"), "html", null, true);
echo "</span>
</p>
<p class=\"reset-search\">
<span>";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.reset"), "html", null, true);
echo "</span> <i class=\"icon-reset-search\"></i>
</p>
</div>
";
}
// line 41
echo " <h2 class=\"titre02\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.finer"), "html", null, true);
echo "</h2>
<form novalidate action=\"";
// line 42
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_vehicle_list");
echo "\" method=\"POST\" autocomplete=\"off\">
";
// line 43
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 43, $this->source); })()), 'errors');
echo "
<div class=\"search-list\">
";
// line 45
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 45, $this->source); })()), "event", [], "any", false, false, false, 45), 'row');
echo "
<div class=\"prelative\" data-field=\"category\">
<ul>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-tourisme\"></i>
<label>";
// line 50
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.tourism"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 51
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 51, $this->source); })()), "vehiculedetourisme", [], "any", false, false, false, 51), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 51, $this->source); })()), "vehiculedetourisme", [], "any", false, false, false, 51), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 51, $this->source); })())], 51, $context, $this->getSourceContext());
echo "></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-utilitaire\"></i>
<label>";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.utility"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 56
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 56, $this->source); })()), "utilitaire", [], "any", false, false, false, 56), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 56, $this->source); })()), "utilitaire", [], "any", false, false, false, 56), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 56, $this->source); })())], 56, $context, $this->getSourceContext());
echo "></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-moto\"></i>
<label>";
// line 60
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.two_wheels"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 61
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 61, $this->source); })()), "moto", [], "any", false, false, false, 61), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 61, $this->source); })()), "moto", [], "any", false, false, false, 61), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 61, $this->source); })())], 61, $context, $this->getSourceContext());
echo "></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-4x4\"></i>
<label>";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.4x4"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 66
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 66, $this->source); })()), "4x4", [], "any", false, false, false, 66), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 66, $this->source); })()), "4x4", [], "any", false, false, false, 66), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 66, $this->source); })())], 66, $context, $this->getSourceContext());
echo "></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-campingcar\"></i>
<label>";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.campingcar"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 71
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 71, $this->source); })()), "campingcar", [], "any", false, false, false, 71), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 71, $this->source); })()), "campingcar", [], "any", false, false, false, 71), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 71, $this->source); })())], 71, $context, $this->getSourceContext());
echo "></span>
</li>
";
// line 73
if (( !array_key_exists("form_type", $context) || ((isset($context["form_type"]) || array_key_exists("form_type", $context) ? $context["form_type"] : (function () { throw new RuntimeError('Variable "form_type" does not exist.', 73, $this->source); })()) == twig_constant("App\\Form\\Type\\Frontend\\VehicleSearchType::FORM_DEFAULT")))) {
// line 74
echo " <li class=\"elmt-onglet-vehicule autres\">
<i class=\"icon-autres cursor\"></i>
<label class=\"cursor\">";
// line 76
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.other"), "html", null, true);
echo " <span class=\"fleche\"><span class=\"ligne1\"></span><span class=\"ligne2\"></span></span></label>
<span> </span>
</li>
";
}
// line 80
echo " </ul>
<div class=\"liste-autres none\">
<ul>
<li class=\"elmt-onglet-vehicule\">
<span><i class=\"icon-camion\"></i></span>
<label>";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.truck"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 86
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 86, $this->source); })()), "camion", [], "any", false, false, false, 86), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 86, $this->source); })()), "camion", [], "any", false, false, false, 86), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 86, $this->source); })())], 86, $context, $this->getSourceContext());
echo "></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<span><i class=\"icon-sanspermis\"></i></span>
<label>";
// line 90
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.licence_free"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 91
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 91, $this->source); })()), "sanspermis", [], "any", false, false, false, 91), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 91, $this->source); })()), "sanspermis", [], "any", false, false, false, 91), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 91, $this->source); })())], 91, $context, $this->getSourceContext());
echo "></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<span><i class=\"icon-agricole\"></i></span>
<label>";
// line 95
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.farm_equipment"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 96
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 96, $this->source); })()), "materielagricole", [], "any", false, false, false, 96), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 96, $this->source); })()), "materielagricole", [], "any", false, false, false, 96), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 96, $this->source); })())], 96, $context, $this->getSourceContext());
echo "></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<span><i class=\"icon-tp\"></i></span>
<label>";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.category.public_works"), "html", null, true);
echo "</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"";
// line 101
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 101, $this->source); })()), "materieltp", [], "any", false, false, false, 101), "html", null, true);
echo "\" name=\"\" ";
echo twig_call_macro($macros["macros"], "macro_isChecked", [twig_get_attribute($this->env, $this->source, (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 101, $this->source); })()), "materieltp", [], "any", false, false, false, 101), (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 101, $this->source); })())], 101, $context, $this->getSourceContext());
echo "></span>
</li>
</ul>
</div>
</div>
<div class=\"none\">";
// line 106
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 106, $this->source); })()), "category", [], "any", false, false, false, 106), 'widget');
echo "</div>
<div class=\"budget-min-max grid-container\">
<p class=\"grid-30\">";
// line 108
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 108, $this->source); })()), "budget", [], "any", false, false, false, 108), "min", [], "any", false, false, false, 108), 'label');
echo "</p>
<p class=\"grid-30\">";
// line 109
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 109, $this->source); })()), "budget", [], "any", false, false, false, 109), "min", [], "any", false, false, false, 109), 'widget');
echo "</p>
<p class=\"grid-10 txtcenter\">";
// line 110
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 110, $this->source); })()), "budget", [], "any", false, false, false, 110), "max", [], "any", false, false, false, 110), 'label');
echo "</p>
<p class=\"grid-30\">";
// line 111
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 111, $this->source); })()), "budget", [], "any", false, false, false, 111), "max", [], "any", false, false, false, 111), 'widget');
echo "</p>
</div>
<div class=\"min-max grid-container\">
<p class=\"grid-50\">";
// line 114
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 114, $this->source); })()), "kilometers", [], "any", false, false, false, 114), "min", [], "any", false, false, false, 114), 'widget');
echo "</p>
<p class=\"grid-50\">";
// line 115
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 115, $this->source); })()), "kilometers", [], "any", false, false, false, 115), "max", [], "any", false, false, false, 115), 'widget');
echo "</p>
</div>
<div class=\"min-max grid-container\">
<p class=\"grid-50\">";
// line 118
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 118, $this->source); })()), "millesime", [], "any", false, false, false, 118), "min", [], "any", false, false, false, 118), 'widget');
echo "</p>
<p class=\"grid-50\">";
// line 119
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 119, $this->source); })()), "millesime", [], "any", false, false, false, 119), "max", [], "any", false, false, false, 119), 'widget');
echo "</p>
</div>
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
";
// line 127
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 127, $this->source); })()), "maker", [], "any", false, false, false, 127), 'widget');
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 127, $this->source); })()), "makerList", [], "any", false, false, false, 127), 'widget');
echo "
</p>
<p class=\"prelative block-group-list\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
";
// line 135
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 135, $this->source); })()), "modelGroup", [], "any", false, false, false, 135), 'widget');
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 135, $this->source); })()), "groupList", [], "any", false, false, false, 135), 'widget');
echo "
</p>
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
";
// line 143
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 143, $this->source); })()), "energy", [], "any", false, false, false, 143), 'widget');
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 143, $this->source); })()), "energyList", [], "any", false, false, false, 143), 'widget');
echo "
</p>
";
// line 145
if (( !array_key_exists("form_type", $context) || ((isset($context["form_type"]) || array_key_exists("form_type", $context) ? $context["form_type"] : (function () { throw new RuntimeError('Variable "form_type" does not exist.', 145, $this->source); })()) == twig_constant("App\\Form\\Type\\Frontend\\VehicleSearchType::FORM_DEFAULT")))) {
// line 146
echo " <p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
";
// line 152
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 152, $this->source); })()), "segmentSize", [], "any", false, false, false, 152), 'widget');
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 152, $this->source); })()), "segmenttailleList", [], "any", false, false, false, 152), 'widget');
echo "
</p>
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
";
// line 160
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 160, $this->source); })()), "options", [], "any", false, false, false, 160), 'widget');
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 160, $this->source); })()), "optionsList", [], "any", false, false, false, 160), 'widget');
echo "
</p>
";
}
// line 163
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 163, $this->source); })()), "segmentTransmission", [], "any", false, false, false, 163), 'widget');
echo "
";
// line 164
if ((twig_get_attribute($this->env, $this->source, ($context["search_form"] ?? null), "cityLocation", [], "any", true, true, false, 164) && $this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 164, $this->source); })()), "user", [], "any", false, false, false, 164)))) {
// line 165
echo " <p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
";
// line 171
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 171, $this->source); })()), "cityLocation", [], "any", false, false, false, 171), 'widget');
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 171, $this->source); })()), "cityLocationList", [], "any", false, false, false, 171), 'widget');
echo "
</p>
";
}
// line 174
echo " ";
if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE"))) {
// line 175
echo " <p class=\"prelative\">
<span class=\"bg-select block\"><span></span>
";
// line 177
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 177, $this->source); })()), "critair", [], "any", false, false, false, 177), 'widget');
echo "
</span>
</p>
";
}
// line 181
echo " ";
if (( !array_key_exists("form_type", $context) || ((isset($context["form_type"]) || array_key_exists("form_type", $context) ? $context["form_type"] : (function () { throw new RuntimeError('Variable "form_type" does not exist.', 181, $this->source); })()) == twig_constant("App\\Form\\Type\\Frontend\\VehicleSearchType::FORM_DEFAULT")))) {
// line 182
echo " <p class=\"bt-search-advanced clearfix none";
if ( !$this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 182, $this->source); })()), "user", [], "any", false, false, false, 182))) {
echo " active";
}
echo "\">
<span class=\"left\">";
// line 183
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.more"), "html", null, true);
echo "</span>
<span class=\"fleche right\"><span class=\"ligne1\"></span><span class=\"ligne2\"></span></span>
</p>
<div class=\"search-advanced";
// line 186
if ( !$this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 186, $this->source); })()), "user", [], "any", false, false, false, 186))) {
echo " none";
}
echo "\">
";
// line 187
if (twig_get_attribute($this->env, $this->source, ($context["search_form"] ?? null), "estimated", [], "any", true, true, false, 187)) {
// line 188
echo " <p class=\"search-estimated clearfix\">
<span class=\"left input-checkbox02\">";
// line 189
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 189, $this->source); })()), "estimated", [], "any", false, false, false, 189), 'widget');
echo "</span>
<span class=\"paddingL5\">";
// line 190
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 190, $this->source); })()), "estimated", [], "any", false, false, false, 190), 'label');
echo "</span>
</p>
";
}
// line 193
echo " <p class=\"search-estimated clearfix\">
<span class=\"left input-checkbox02\">";
// line 194
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 194, $this->source); })()), "highlight", [], "any", false, false, false, 194), 'widget');
echo "</span>
<span class=\"paddingL5\">";
// line 195
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 195, $this->source); })()), "highlight", [], "any", false, false, false, 195), 'label');
echo "</span>
</p>
<p class=\"search-estimated clearfix\">
<span class=\"left input-checkbox02\">";
// line 198
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 198, $this->source); })()), "fourwheeldrive", [], "any", false, false, false, 198), 'widget');
echo "</span>
<span class=\"paddingL5\">";
// line 199
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 199, $this->source); })()), "fourwheeldrive", [], "any", false, false, false, 199), 'label');
echo "</span>
</p>
";
// line 201
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 201, $this->source); })()), "seatCount", [], "any", false, false, false, 201), 'widget');
echo "
<p class=\"search-estimated clearfix\">
<span class=\"left input-checkbox02\">";
// line 203
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 203, $this->source); })()), "broken", [], "any", false, false, false, 203), 'widget');
echo "</span>
<span class=\"paddingL5\">";
// line 204
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 204, $this->source); })()), "broken", [], "any", false, false, false, 204), 'label');
echo "</span>
</p>
<p>";
// line 206
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 206, $this->source); })()), "co2", [], "any", false, false, false, 206), 'widget');
echo "</p>
";
// line 207
if ((twig_get_attribute($this->env, $this->source, ($context["search_form"] ?? null), "cityLocation", [], "any", true, true, false, 207) && !$this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 207, $this->source); })()), "user", [], "any", false, false, false, 207)))) {
// line 208
echo " <p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
";
// line 214
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 214, $this->source); })()), "cityLocation", [], "any", false, false, false, 214), 'widget');
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 214, $this->source); })()), "cityLocationList", [], "any", false, false, false, 214), 'widget');
echo "
</p>
";
}
// line 217
echo " </div>
";
}
// line 219
echo " <p class=\"bt-search-simplified clearfix none\">
<span class=\"left\">";
// line 220
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.less"), "html", null, true);
echo "</span>
<span class=\"fleche04\"><span class=\"fleche right\"><span class=\"ligne1\"></span><span class=\"ligne2\"></span></span></span>
</p>
<p class=\"txtright bt-rechercher\">
<button class=\"btn01\" id=\"submit_form\" type=\"button\"><i class=\"icon-menu-rechercher-m\"></i> ";
// line 224
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.sidebar.item.search"), "html", null, true);
echo "</button>
</p>
</div>
</form>
</div>
<div class=\"search-popin none\">
<div class=\"bloc-bt-close\">
<span class=\"bt-close close-search-popin\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne3\"></span>
</span>
</span>
</div>
<div class=\"inbl cursor all-vehicle\"><span class=\"input-checkbox03\"></span> <span>";
// line 238
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.vehicleSearch.popinChoices.allMaker"), "html", null, true);
echo "</span></div>
<div class=\"links\">
<div class=\"ajaxloader\"></div>
</div>
<p class=\"info-text\">";
// line 242
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.form.vehicleSearch.popinChoices.textAlert"), "html", null, true);
echo " </p>
</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 246
public function macro_isChecked($__value__ = null, $__form_values__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"value" => $__value__,
"form_values" => $__form_values__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "isChecked"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "isChecked"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "isChecked"));
// line 247
echo " ";
// line 248
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["form_values"] ?? null), "category", [], "any", true, true, false, 248) && (($this->env->getTest('string')->getCallable()(twig_get_attribute($this->env, $this->source, // line 250
(isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 250, $this->source); })()), "category", [], "any", false, false, false, 250)) && twig_in_filter((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 250, $this->source); })()), twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 250, $this->source); })()), "category", [], "any", false, false, false, 250), ","))) || ($this->env->getTest('array')->getCallable()(twig_get_attribute($this->env, $this->source, // line 252
(isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 252, $this->source); })()), "category", [], "any", false, false, false, 252)) && twig_in_filter((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 252, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["form_values"]) || array_key_exists("form_values", $context) ? $context["form_values"] : (function () { throw new RuntimeError('Variable "form_values" does not exist.', 252, $this->source); })()), "category", [], "any", false, false, false, 252)))))) {
// line 255
echo " checked=\"checked\"
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
public function getTemplateName()
{
return "Frontend/search.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 596 => 255, 594 => 252, 593 => 250, 591 => 248, 589 => 247, 566 => 246, 548 => 242, 541 => 238, 524 => 224, 517 => 220, 514 => 219, 510 => 217, 502 => 214, 494 => 208, 492 => 207, 488 => 206, 483 => 204, 479 => 203, 474 => 201, 469 => 199, 465 => 198, 459 => 195, 455 => 194, 452 => 193, 446 => 190, 442 => 189, 439 => 188, 437 => 187, 431 => 186, 425 => 183, 418 => 182, 415 => 181, 408 => 177, 404 => 175, 401 => 174, 393 => 171, 385 => 165, 383 => 164, 378 => 163, 370 => 160, 357 => 152, 349 => 146, 347 => 145, 340 => 143, 327 => 135, 314 => 127, 303 => 119, 299 => 118, 293 => 115, 289 => 114, 283 => 111, 279 => 110, 275 => 109, 271 => 108, 266 => 106, 256 => 101, 252 => 100, 243 => 96, 239 => 95, 230 => 91, 226 => 90, 217 => 86, 213 => 85, 206 => 80, 199 => 76, 195 => 74, 193 => 73, 186 => 71, 182 => 70, 173 => 66, 169 => 65, 160 => 61, 156 => 60, 147 => 56, 143 => 55, 134 => 51, 130 => 50, 122 => 45, 117 => 43, 113 => 42, 108 => 41, 101 => 37, 93 => 34, 84 => 28, 80 => 27, 74 => 25, 72 => 24, 48 => 2, 46 => 1,);
}
public function getSourceContext()
{
return new Source("{% import _self as macros %}
<div class=\"search\">
<div class=\"prelative\">
<div class=\"col-right-close grid-hide tab-l-visible tab-p-visible m-hide\">
<div class=\"bloc-bt-close\">
<span class=\"bt-close tab-close-col-right\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne3\"></span>
</span>
</span>
</div>
</div>
<div class=\"col-right-close grid-hide m-visible\">
<div class=\"bloc-bt-close\">
<span class=\"bt-close m-close-col-right\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne3\"></span>
</span>
</span>
</div>
</div>
{% if form_type is not defined or form_type == constant('App\\\\Form\\\\Type\\\\Frontend\\\\VehicleSearchType::FORM_DEFAULT') %}
<form action=\"{{ path('frontend_search_store') }}\" method=\"POST\">
<div class=\"form-recherche\">
{{ form_widget(freesearch_form.freeSearch) }}
{{ form_widget(freesearch_form.search) }}
<span class=\"btn07\"><i class=\"icon-menu-rechercher-m\"></i></span>
</div>
</form>
<div class=\"grid-container\">
<p class=\"left marginL10 marginT10\">
<span data-o=\"{{ (app.user is not null and app.user is pro) ? base64_encode(path('frontend_vehicle_alert_search_pro')) : base64_encode(path('frontend_vehicle_alert_search')) }}\" class=\"btn-creer-alerte obflink\" role=\"link\"><i class=\"icon-alerte06\"></i> {{ 'frontend.search.alert.create'|trans }}</span>
</p>
<p class=\"reset-search\">
<span>{{ 'frontend.search.reset'|trans }}</span> <i class=\"icon-reset-search\"></i>
</p>
</div>
{% endif %}
<h2 class=\"titre02\">{{ 'frontend.search.finer'|trans }}</h2>
<form novalidate action=\"{{ path('frontend_vehicle_list') }}\" method=\"POST\" autocomplete=\"off\">
{{ form_errors(search_form) }}
<div class=\"search-list\">
{{ form_row(search_form.event) }}
<div class=\"prelative\" data-field=\"category\">
<ul>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-tourisme\"></i>
<label>{{ 'frontend.search.form.category.tourism'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ categories.vehiculedetourisme }}\" name=\"\" {{ macros.isChecked(categories.vehiculedetourisme, form_values) }}></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-utilitaire\"></i>
<label>{{ 'frontend.search.form.category.utility'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ categories.utilitaire }}\" name=\"\" {{ macros.isChecked(categories.utilitaire, form_values) }}></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-moto\"></i>
<label>{{ 'frontend.search.form.category.two_wheels'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ categories.moto }}\" name=\"\" {{ macros.isChecked(categories.moto, form_values) }}></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-4x4\"></i>
<label>{{ 'frontend.search.form.category.4x4'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ attribute(categories, '4x4') }}\" name=\"\" {{ macros.isChecked(attribute(categories, '4x4'), form_values) }}></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<i class=\"icon-campingcar\"></i>
<label>{{ 'frontend.search.form.category.campingcar'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ categories.campingcar }}\" name=\"\" {{ macros.isChecked(categories.campingcar, form_values) }}></span>
</li>
{% if form_type is not defined or form_type == constant('App\\\\Form\\\\Type\\\\Frontend\\\\VehicleSearchType::FORM_DEFAULT') %}
<li class=\"elmt-onglet-vehicule autres\">
<i class=\"icon-autres cursor\"></i>
<label class=\"cursor\">{{ 'frontend.search.form.category.other'|trans }} <span class=\"fleche\"><span class=\"ligne1\"></span><span class=\"ligne2\"></span></span></label>
<span> </span>
</li>
{% endif %}
</ul>
<div class=\"liste-autres none\">
<ul>
<li class=\"elmt-onglet-vehicule\">
<span><i class=\"icon-camion\"></i></span>
<label>{{ 'frontend.search.form.category.truck'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ categories.camion }}\" name=\"\" {{ macros.isChecked(categories.camion, form_values) }}></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<span><i class=\"icon-sanspermis\"></i></span>
<label>{{ 'frontend.search.form.category.licence_free'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ categories.sanspermis }}\" name=\"\" {{ macros.isChecked(categories.sanspermis, form_values) }}></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<span><i class=\"icon-agricole\"></i></span>
<label>{{ 'frontend.search.form.category.farm_equipment'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ categories.materielagricole }}\" name=\"\" {{ macros.isChecked(categories.materielagricole, form_values) }}></span>
</li>
<li class=\"elmt-onglet-vehicule\">
<span><i class=\"icon-tp\"></i></span>
<label>{{ 'frontend.search.form.category.public_works'|trans }}</label>
<span class=\"input-checkbox03\"><input type=\"checkbox\" value=\"{{ categories.materieltp }}\" name=\"\" {{ macros.isChecked(categories.materieltp, form_values) }}></span>
</li>
</ul>
</div>
</div>
<div class=\"none\">{{ form_widget(search_form.category) }}</div>
<div class=\"budget-min-max grid-container\">
<p class=\"grid-30\">{{ form_label(search_form.budget.min) }}</p>
<p class=\"grid-30\">{{ form_widget(search_form.budget.min) }}</p>
<p class=\"grid-10 txtcenter\">{{ form_label(search_form.budget.max) }}</p>
<p class=\"grid-30\">{{ form_widget(search_form.budget.max) }}</p>
</div>
<div class=\"min-max grid-container\">
<p class=\"grid-50\">{{ form_widget(search_form.kilometers.min) }}</p>
<p class=\"grid-50\">{{ form_widget(search_form.kilometers.max) }}</p>
</div>
<div class=\"min-max grid-container\">
<p class=\"grid-50\">{{ form_widget(search_form.millesime.min) }}</p>
<p class=\"grid-50\">{{ form_widget(search_form.millesime.max) }}</p>
</div>
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
{{ form_widget(search_form.maker) }} {{ form_widget(search_form.makerList) }}
</p>
<p class=\"prelative block-group-list\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
{{ form_widget(search_form.modelGroup) }} {{ form_widget(search_form.groupList) }}
</p>
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
{{ form_widget(search_form.energy) }} {{ form_widget(search_form.energyList) }}
</p>
{% if form_type is not defined or form_type == constant('App\\\\Form\\\\Type\\\\Frontend\\\\VehicleSearchType::FORM_DEFAULT') %}
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
{{ form_widget(search_form.segmentSize) }} {{ form_widget(search_form.segmenttailleList) }}
</p>
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
{{ form_widget(search_form.options) }} {{ form_widget(search_form.optionsList) }}
</p>
{% endif %}
{{ form_widget(search_form.segmentTransmission) }}
{% if search_form.cityLocation is defined and app.user is pro %}
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
{{ form_widget(search_form.cityLocation) }} {{ form_widget(search_form.cityLocationList) }}
</p>
{% endif %}
{% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_FRANCE')) %}
<p class=\"prelative\">
<span class=\"bg-select block\"><span></span>
{{ form_widget(search_form.critair) }}
</span>
</p>
{% endif %}
{% if form_type is not defined or form_type == constant('App\\\\Form\\\\Type\\\\Frontend\\\\VehicleSearchType::FORM_DEFAULT') %}
<p class=\"bt-search-advanced clearfix none{% if app.user is not pro %} active{% endif %}\">
<span class=\"left\">{{ 'frontend.search.form.more'|trans }}</span>
<span class=\"fleche right\"><span class=\"ligne1\"></span><span class=\"ligne2\"></span></span>
</p>
<div class=\"search-advanced{% if app.user is not pro %} none{% endif %}\">
{% if search_form.estimated is defined %}
<p class=\"search-estimated clearfix\">
<span class=\"left input-checkbox02\">{{ form_widget(search_form.estimated) }}</span>
<span class=\"paddingL5\">{{ form_label(search_form.estimated) }}</span>
</p>
{% endif %}
<p class=\"search-estimated clearfix\">
<span class=\"left input-checkbox02\">{{ form_widget(search_form.highlight) }}</span>
<span class=\"paddingL5\">{{ form_label(search_form.highlight) }}</span>
</p>
<p class=\"search-estimated clearfix\">
<span class=\"left input-checkbox02\">{{ form_widget(search_form.fourwheeldrive) }}</span>
<span class=\"paddingL5\">{{ form_label(search_form.fourwheeldrive) }}</span>
</p>
{{ form_widget(search_form.seatCount) }}
<p class=\"search-estimated clearfix\">
<span class=\"left input-checkbox02\">{{ form_widget(search_form.broken) }}</span>
<span class=\"paddingL5\">{{ form_label(search_form.broken) }}</span>
</p>
<p>{{ form_widget(search_form.co2) }}</p>
{% if search_form.cityLocation is defined and app.user is not pro %}
<p class=\"prelative\">
<span class=\"bg-btn-3lignes\">
<span class=\"lignes\">
<span class=\"ligne1\"></span><span class=\"ligne2\"></span><span class=\"ligne3\"></span>
</span>
</span>
{{ form_widget(search_form.cityLocation) }} {{ form_widget(search_form.cityLocationList) }}
</p>
{% endif %}
</div>
{% endif %}
<p class=\"bt-search-simplified clearfix none\">
<span class=\"left\">{{ 'frontend.search.form.less'|trans }}</span>
<span class=\"fleche04\"><span class=\"fleche right\"><span class=\"ligne1\"></span><span class=\"ligne2\"></span></span></span>
</p>
<p class=\"txtright bt-rechercher\">
<button class=\"btn01\" id=\"submit_form\" type=\"button\"><i class=\"icon-menu-rechercher-m\"></i> {{ 'frontend.sidebar.item.search'|trans }}</button>
</p>
</div>
</form>
</div>
<div class=\"search-popin none\">
<div class=\"bloc-bt-close\">
<span class=\"bt-close close-search-popin\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne3\"></span>
</span>
</span>
</div>
<div class=\"inbl cursor all-vehicle\"><span class=\"input-checkbox03\"></span> <span>{{ 'frontend.search.form.vehicleSearch.popinChoices.allMaker'|trans }}</span></div>
<div class=\"links\">
<div class=\"ajaxloader\"></div>
</div>
<p class=\"info-text\">{{ 'frontend.search.form.vehicleSearch.popinChoices.textAlert'|trans }} </p>
</div>
</div>
{% macro isChecked(value, form_values) %}
{# category can be a string or an array, we check both cases #}
{% if form_values.category is defined and
(
(form_values.category is string and value in form_values.category|split(','))
or
(form_values.category is array and value in form_values.category)
)
%}
checked=\"checked\"
{% endif %}
{% endmacro %}
", "Frontend/search.html.twig", "/srv/src/Resources/views/Frontend/search.html.twig");
}
}