<?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;
/* ProfileList/filter/form.partial.twig */
class __TwigTemplate_b9657c780d408097b4ba60ccee6173a2 extends 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_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/filter/form.partial.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/filter/form.partial.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/filter/form.partial.twig"));
// line 1
echo "
\t\t<div class=\"profile_filter\" id=\"filter-list\">
\t\t\t<div class=\"profile_filter__mobile_header\">
\t\t\t\t<div class=\"profile_filter__mobile_header\">
\t\t\t\t\t<button class=\"profile_filter__mobile_header__reset\" type=\"button\" data-filter-list-button data-filter-type=\"reset\">
\t\t\t\t\t\tСбросить
\t\t\t\t\t</button>
\t\t\t\t\t<div class=\"profile_filter__mobile_header__title\">Фильтры</div>
\t\t\t\t\t<button class=\"profile_filter__mobile_header__close\" type=\"button\" data-filter-list-button data-filter-type=\"close-mobile\">
\t\t\t\t\t\t<svg class=\"profile_filter__mobile_header__close_icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\" fill=\"#727272\"/></svg>
\t\t\t\t\t</button>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<button class=\"profile_filter__mobile_button\" type=\"button\" data-filter-list-button data-filter-type=\"mobile\">
<svg class=\"profile_filter__mobile_button__icon\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><use xlink:href=\"#filter\"></use></svg>
<span class=\"profile_filter__mobile_button__text\">Фильтры</span>
\t\t\t\t<span class=\"profile_filter__mobile_button__count\">1</span>
<svg class=\"profile_filter__mobile_button__icon profile_filter__mobile_button__icon-arrow\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" style=\"transform:rotate(180deg)\"><use xlink:href=\"#filter-arrow\"></use></svg>
</button>
\t\t\t";
// line 25
$context["filters"] = twig_get_attribute($this->env, $this->source, (isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form", $context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.', 25, $this->source); })()), "filters", [], "any", false, false, false, 25);
// line 26
echo "
";
// line 28
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_checkbox.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 29
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 29, $this->source); })()), "approved", [], "any", false, false, false, 29), "label" => "Проверенные", "icon" => "<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><rect width=\"16.67\" height=\"16.67\" x=\"1.67\" y=\"1.67\" fill=\"#02a86c\" rx=\"3\"/><path fill=\"#fff\" d=\"M8.47 11.86 5.53 8.98l-1.7 1.65 4.64 4.54 7.86-7.69-1.68-1.65z\"/></svg>", "choisen" => (twig_get_attribute($this->env, $this->source, // line 32
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 32, $this->source); })()), "listing", [], "any", false, false, false, 32) == "listApproved")]);
// line 33
echo "
";
// line 36
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_checkbox.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 37
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 37, $this->source); })()), "withComments", [], "any", false, false, false, 37), "label" => "Отзывы", "icon" => "<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" d=\"M3.33 1.67h13.34c.92 0 1.66.75 1.66 1.66v15L15 15H3.33c-.92 0-1.66-.75-1.66-1.67v-10c0-.91.74-1.66 1.66-1.66m2.5 9.16h5.84V9.17H5.83zm0-3.33h8.34V5.83H5.83z\"/></svg>", "choisen" => (twig_get_attribute($this->env, $this->source, // line 40
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 40, $this->source); })()), "listing", [], "any", false, false, false, 40) == "listWithComments")]);
// line 42
echo "
";
// line 45
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_checkbox.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 46
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 46, $this->source); })()), "withVideo", [], "any", false, false, false, 46), "label" => "Видео", "icon" => "<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" d=\"M18.33 14.76V5.24c0-1.05-.88-1.9-1.96-1.9H3.63c-1.08 0-1.96.85-1.96 1.9v9.52c0 1.05.88 1.9 1.96 1.9h12.74c1.08 0 1.96-.85 1.96-1.9m-10.78-.95V6.19l5.88 3.8z\"/></svg>", "choisen" => (twig_get_attribute($this->env, $this->source, // line 49
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 49, $this->source); })()), "listing", [], "any", false, false, false, 49) == "listWithVideo")]);
// line 51
echo "
";
// line 54
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_checkbox.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 55
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 55, $this->source); })()), "withSelfie", [], "any", false, false, false, 55), "label" => "Селфи", "icon" => "<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" fill-rule=\"evenodd\" d=\"M6.12 1.67h7.75c.85 0 1.55.68 1.55 1.51v13.64c0 .83-.7 1.51-1.55 1.51H6.12c-.85 0-1.54-.68-1.54-1.51V3.18c0-.83.7-1.51 1.54-1.51m5.38 2.78c0 .43.34.77.75.77s.75-.34.75-.77a.76.76 0 0 0-.75-.78.76.76 0 0 0-.75.78M6.25 14.5c.57-.5 2-.9 3.75-.9 1.66 0 3.1.37 3.75.82v-2.32a9 9 0 0 0-3.75-.7c-1.51 0-2.82.26-3.75.7zm3.74-3.87a2.3 2.3 0 0 1-2.25-2.32A2.3 2.3 0 0 1 9.99 6a2.3 2.3 0 0 1 2.25 2.32 2.3 2.3 0 0 1-2.25 2.32\" clip-rule=\"evenodd\"/></svg>", "choisen" => (twig_get_attribute($this->env, $this->source, // line 58
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 58, $this->source); })()), "listing", [], "any", false, false, false, 58) == "listWithSelfie")]);
// line 59
echo "
";
// line 63
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_range.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 64
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 64, $this->source); })()), "oneHourPrice", [], "any", false, false, false, 64), "label" => "Цена за час", "min" => 500, "max" => 5000, "step" => 1, "utils" => "₽"]);
// line 70
echo "
";
// line 73
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_selector.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 74
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 74, $this->source); })()), "stations", [], "any", false, false, false, 74), "label" => "Метро", "trans" => null, "choisen" => (twig_get_attribute($this->env, $this->source, // line 77
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 77, $this->source); })()), "listing", [], "any", false, false, false, 77) == "listByStation"), "choisenParams" => twig_get_attribute($this->env, $this->source, // line 78
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 78, $this->source); })()), "listingParameters", [], "any", false, false, false, 78)]);
// line 79
echo "
";
// line 83
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_checkboxMulti.partial.twig", ["formElements" => [twig_get_attribute($this->env, $this->source, // line 84
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 84, $this->source); })()), "hasApartment", [], "any", false, false, false, 84), twig_get_attribute($this->env, $this->source, (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 84, $this->source); })()), "hasTakeOut", [], "any", false, false, false, 84)], "formLabels" => ["У себя", "Выезд"], "label" => "Выезд или у себя"]);
// line 87
echo "
";
// line 91
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_range.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 92
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 92, $this->source); })()), "age", [], "any", false, false, false, 92), "label" => "Возраст", "min" => 18, "max" => 90, "step" => 1, "utils" => "лет"]);
// line 98
echo "
";
// line 102
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_range.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 103
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 103, $this->source); })()), "height", [], "any", false, false, false, 103), "label" => "Рост", "min" => 100, "max" => 250, "step" => 5, "utils" => "см"]);
// line 109
echo "
";
// line 112
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_range.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 113
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 113, $this->source); })()), "breastSize", [], "any", false, false, false, 113), "label" => "Грудь", "min" => 0, "max" => 13, "step" => 1, "utils" => ""]);
// line 119
echo "
";
// line 123
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_checkboxMulti.partial.twig", ["formElements" => [twig_get_attribute($this->env, $this->source, // line 124
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 124, $this->source); })()), "hasTattoo", [], "any", false, false, false, 124), twig_get_attribute($this->env, $this->source, (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 124, $this->source); })()), "hasPiercing", [], "any", false, false, false, 124)], "formLabels" => ["Тату", "Пирсинг"], "label" => "Тату и пирсинг"]);
// line 127
echo "
";
// line 131
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_selector.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 132
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 132, $this->source); })()), "hairColor", [], "any", false, false, false, 132), "label" => "Цвет волос", "trans" => "hair_colors", "choisen" => (twig_get_attribute($this->env, $this->source, // line 135
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 135, $this->source); })()), "listing", [], "any", false, false, false, 135) == "listByHairColor"), "choisenParams" => twig_get_attribute($this->env, $this->source, // line 136
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 136, $this->source); })()), "listingParameters", [], "any", false, false, false, 136)]);
// line 137
echo "
";
// line 140
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_selector.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 141
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 141, $this->source); })()), "nationality", [], "any", false, false, false, 141), "label" => "Национальность", "trans" => "nationalities", "choisen" => (twig_get_attribute($this->env, $this->source, // line 144
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 144, $this->source); })()), "listing", [], "any", false, false, false, 144) == "listByNationality"), "choisenParams" => twig_get_attribute($this->env, $this->source, // line 145
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 145, $this->source); })()), "listingParameters", [], "any", false, false, false, 145)]);
// line 146
echo "
";
// line 149
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_selector.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 150
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 150, $this->source); })()), "bodyType", [], "any", false, false, false, 150), "label" => "Телосложение", "trans" => "body_types", "choisen" => (twig_get_attribute($this->env, $this->source, // line 153
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 153, $this->source); })()), "listing", [], "any", false, false, false, 153) == "listByBodyType"), "choisenParams" => twig_get_attribute($this->env, $this->source, // line 154
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 154, $this->source); })()), "listingParameters", [], "any", false, false, false, 154)]);
// line 155
echo "
";
// line 158
echo " ";
echo twig_include($this->env, $context, "ProfileList/filter/_services.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source, // line 159
(isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 159, $this->source); })()), "services", [], "any", false, false, false, 159), "label" => "Услуги", "trans" => "body_types", "choisen" => (twig_get_attribute($this->env, $this->source, // line 162
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 162, $this->source); })()), "listing", [], "any", false, false, false, 162) == "listByProvidedService"), "choisenParams" => twig_get_attribute($this->env, $this->source, // line 163
(isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 163, $this->source); })()), "listingParameters", [], "any", false, false, false, 163)]);
// line 164
echo "
\t\t\t<div class=\"profile_filter__mobile_footer\">
\t\t\t\t";
// line 169
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form", $context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.', 169, $this->source); })()), "submit", [], "any", false, false, false, 169), 'widget', ["label" => "Показать", "attr" => ["class" => "profile_filter__mobile_footer__apply", "data-filter-list-button" => "", "data-filter-type" => "apply-filter"]]);
// line 175
echo "
\t\t\t</div>
\t\t</div>
";
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ProfileList/filter/form.partial.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 222 => 175, 220 => 169, 213 => 164, 211 => 163, 210 => 162, 209 => 159, 207 => 158, 203 => 155, 201 => 154, 200 => 153, 199 => 150, 197 => 149, 193 => 146, 191 => 145, 190 => 144, 189 => 141, 187 => 140, 183 => 137, 181 => 136, 180 => 135, 179 => 132, 177 => 131, 172 => 127, 170 => 124, 168 => 123, 163 => 119, 161 => 113, 159 => 112, 155 => 109, 153 => 103, 151 => 102, 146 => 98, 144 => 92, 142 => 91, 137 => 87, 135 => 84, 133 => 83, 128 => 79, 126 => 78, 125 => 77, 124 => 74, 122 => 73, 118 => 70, 116 => 64, 114 => 63, 109 => 59, 107 => 58, 106 => 55, 104 => 54, 100 => 51, 98 => 49, 97 => 46, 95 => 45, 91 => 42, 89 => 40, 88 => 37, 86 => 36, 82 => 33, 80 => 32, 79 => 29, 77 => 28, 74 => 26, 72 => 25, 46 => 1,);
}
public function getSourceContext()
{
return new Source("
\t\t<div class=\"profile_filter\" id=\"filter-list\">
\t\t\t<div class=\"profile_filter__mobile_header\">
\t\t\t\t<div class=\"profile_filter__mobile_header\">
\t\t\t\t\t<button class=\"profile_filter__mobile_header__reset\" type=\"button\" data-filter-list-button data-filter-type=\"reset\">
\t\t\t\t\t\tСбросить
\t\t\t\t\t</button>
\t\t\t\t\t<div class=\"profile_filter__mobile_header__title\">Фильтры</div>
\t\t\t\t\t<button class=\"profile_filter__mobile_header__close\" type=\"button\" data-filter-list-button data-filter-type=\"close-mobile\">
\t\t\t\t\t\t<svg class=\"profile_filter__mobile_header__close_icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\" fill=\"#727272\"/></svg>
\t\t\t\t\t</button>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<button class=\"profile_filter__mobile_button\" type=\"button\" data-filter-list-button data-filter-type=\"mobile\">
<svg class=\"profile_filter__mobile_button__icon\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><use xlink:href=\"#filter\"></use></svg>
<span class=\"profile_filter__mobile_button__text\">Фильтры</span>
\t\t\t\t<span class=\"profile_filter__mobile_button__count\">1</span>
<svg class=\"profile_filter__mobile_button__icon profile_filter__mobile_button__icon-arrow\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" style=\"transform:rotate(180deg)\"><use xlink:href=\"#filter-arrow\"></use></svg>
</button>
\t\t\t{% set filters = profile_filter_form.filters %}
{# ПРОВЕРЕННЫЕ #}
{{ include('ProfileList/filter/_checkbox.partial.twig', {
formElement: filters.approved,
label: 'Проверенные',
icon: '<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><rect width=\"16.67\" height=\"16.67\" x=\"1.67\" y=\"1.67\" fill=\"#02a86c\" rx=\"3\"/><path fill=\"#fff\" d=\"M8.47 11.86 5.53 8.98l-1.7 1.65 4.64 4.54 7.86-7.69-1.68-1.65z\"/></svg>',
choisen: filterData.listing == 'listApproved',
}) }}
{# КОМЕНТЫ #}
{{ include('ProfileList/filter/_checkbox.partial.twig', {
formElement: filters.withComments,
label: 'Отзывы',
icon: '<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" d=\"M3.33 1.67h13.34c.92 0 1.66.75 1.66 1.66v15L15 15H3.33c-.92 0-1.66-.75-1.66-1.67v-10c0-.91.74-1.66 1.66-1.66m2.5 9.16h5.84V9.17H5.83zm0-3.33h8.34V5.83H5.83z\"/></svg>',
choisen: filterData.listing == 'listWithComments',
}) }}
{# ВИДЕО #}
{{ include('ProfileList/filter/_checkbox.partial.twig', {
formElement: filters.withVideo,
label: 'Видео',
icon: '<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" d=\"M18.33 14.76V5.24c0-1.05-.88-1.9-1.96-1.9H3.63c-1.08 0-1.96.85-1.96 1.9v9.52c0 1.05.88 1.9 1.96 1.9h12.74c1.08 0 1.96-.85 1.96-1.9m-10.78-.95V6.19l5.88 3.8z\"/></svg>',
choisen: filterData.listing == 'listWithVideo',
}) }}
{# СЕЛФИ #}
{{ include('ProfileList/filter/_checkbox.partial.twig', {
formElement: filters.withSelfie,
label: 'Селфи',
icon: '<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" fill-rule=\"evenodd\" d=\"M6.12 1.67h7.75c.85 0 1.55.68 1.55 1.51v13.64c0 .83-.7 1.51-1.55 1.51H6.12c-.85 0-1.54-.68-1.54-1.51V3.18c0-.83.7-1.51 1.54-1.51m5.38 2.78c0 .43.34.77.75.77s.75-.34.75-.77a.76.76 0 0 0-.75-.78.76.76 0 0 0-.75.78M6.25 14.5c.57-.5 2-.9 3.75-.9 1.66 0 3.1.37 3.75.82v-2.32a9 9 0 0 0-3.75-.7c-1.51 0-2.82.26-3.75.7zm3.74-3.87a2.3 2.3 0 0 1-2.25-2.32A2.3 2.3 0 0 1 9.99 6a2.3 2.3 0 0 1 2.25 2.32 2.3 2.3 0 0 1-2.25 2.32\" clip-rule=\"evenodd\"/></svg>',
choisen: filterData.listing == 'listWithSelfie',
}) }}
{# ЦЕНА #}
{{ include('ProfileList/filter/_range.partial.twig', {
formElement: filters.oneHourPrice,
label: 'Цена за час',
min: 500,
max: 5000,
step: 1,
utils: \"₽\",
}) }}
{# МЕТРО #}
{{ include('ProfileList/filter/_selector.partial.twig', {
formElement: filters.stations,
label: 'Метро',
trans: null,
choisen: filterData.listing == 'listByStation',
choisenParams: filterData.listingParameters,
}) }}
{# ВЫЕЗД #}
{{ include('ProfileList/filter/_checkboxMulti.partial.twig', {
formElements: [filters.hasApartment, filters.hasTakeOut],
formLabels: ['У себя', 'Выезд'],
label: 'Выезд или у себя',
}) }}
{# ВОЗРАСТ #}
{{ include('ProfileList/filter/_range.partial.twig', {
formElement: filters.age,
label: 'Возраст',
min: 18,
max: 90,
step: 1,
utils: \"лет\",
}) }}
{# РОСТ #}
{{ include('ProfileList/filter/_range.partial.twig', {
formElement: filters.height,
label: 'Рост',
min: 100,
max: 250,
step: 5,
utils: \"см\",
}) }}
{# СИСЬКИ #}
{{ include('ProfileList/filter/_range.partial.twig', {
formElement: filters.breastSize,
label: 'Грудь',
min: 0,
max: 13,
step: 1,
utils: \"\",
}) }}
{# Тату и пирсинг #}
{{ include('ProfileList/filter/_checkboxMulti.partial.twig', {
formElements: [filters.hasTattoo, filters.hasPiercing],
formLabels: ['Тату', 'Пирсинг'],
label: 'Тату и пирсинг',
}) }}
{# ЦВЕТ ВОЛОС #}
{{ include('ProfileList/filter/_selector.partial.twig', {
formElement: filters.hairColor,
label: 'Цвет волос',
trans: 'hair_colors',
choisen: filterData.listing == 'listByHairColor',
choisenParams: filterData.listingParameters,
}) }}
{# Национальность #}
{{ include('ProfileList/filter/_selector.partial.twig', {
formElement: filters.nationality,
label: 'Национальность',
trans: 'nationalities',
choisen: filterData.listing == 'listByNationality',
choisenParams: filterData.listingParameters,
}) }}
{# Телосложение #}
{{ include('ProfileList/filter/_selector.partial.twig', {
formElement: filters.bodyType,
label: 'Телосложение',
trans: 'body_types',
choisen: filterData.listing == 'listByBodyType',
choisenParams: filterData.listingParameters,
}) }}
{# УСЛУГИ #}
{{ include('ProfileList/filter/_services.partial.twig', {
formElement: filters.services,
label: 'Услуги',
trans: 'body_types',
choisen: filterData.listing == 'listByProvidedService',
choisenParams: filterData.listingParameters,
}) }}
\t\t\t<div class=\"profile_filter__mobile_footer\">
\t\t\t\t{{ form_widget(profile_filter_form.submit, {
\t\t\t\t\t'label': 'Показать',
\t\t\t\t\t'attr': {
\t\t\t\t\t\t'class': 'profile_filter__mobile_footer__apply',
\t\t\t\t\t\t'data-filter-list-button': '',
\t\t\t\t\t\t\"data-filter-type\": \"apply-filter\"
\t\t\t\t\t}}) }}
\t\t\t</div>
\t\t</div>
", "ProfileList/filter/form.partial.twig", "/app/templates/ProfileList/filter/form.partial.twig");
}
}