<?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;
/* account/profiles/profile_form.html.twig */
class __TwigTemplate_8a7f208f226f82f07dc3b7d3c3e2ca2a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'name_page' => [$this, 'block_name_page'],
'title' => [$this, 'block_title'],
'specialPageClass' => [$this, 'block_specialPageClass'],
'mainContainer' => [$this, 'block_mainContainer'],
'javascripts' => [$this, 'block_javascripts'],
'javascriptss' => [$this, 'block_javascriptss'],
];
$macros["_self"] = $this->macros["_self"] = $this;
}
protected function doGetParent(array $context)
{
// line 1
return "account/grid.html.twig";
}
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", "account/profiles/profile_form.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "account/profiles/profile_form.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "account/profiles/profile_form.html.twig"));
// line 21
$context["photo_media_upload_url"] = $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint("profile_photo");
// line 22
$context["selfie_media_upload_url"] = $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint("profile_selfie");
// line 23
$context["approval_media_upload_url"] = $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint(((($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("approval_by_video") && $this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("postprocess_video"))) ? ("tmp_media") : ("profile_media_approval")));
// line 24
$context["video_media_upload_url"] = $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint("process_queue");
// line 26
if ((isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain", $context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.', 26, $this->source); })())) {
// line 27
$context["photo_media_upload_url"] = (("https://" . (isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain", $context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.', 27, $this->source); })())) . (isset($context["photo_media_upload_url"]) || array_key_exists("photo_media_upload_url", $context) ? $context["photo_media_upload_url"] : (function () { throw new RuntimeError('Variable "photo_media_upload_url" does not exist.', 27, $this->source); })()));
// line 28
$context["selfie_media_upload_url"] = (("https://" . (isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain", $context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.', 28, $this->source); })())) . (isset($context["selfie_media_upload_url"]) || array_key_exists("selfie_media_upload_url", $context) ? $context["selfie_media_upload_url"] : (function () { throw new RuntimeError('Variable "selfie_media_upload_url" does not exist.', 28, $this->source); })()));
// line 29
$context["approval_media_upload_url"] = (("https://" . (isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain", $context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.', 29, $this->source); })())) . (isset($context["approval_media_upload_url"]) || array_key_exists("approval_media_upload_url", $context) ? $context["approval_media_upload_url"] : (function () { throw new RuntimeError('Variable "approval_media_upload_url" does not exist.', 29, $this->source); })()));
// line 30
$context["video_media_upload_url"] = (("https://" . (isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain", $context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.', 30, $this->source); })())) . (isset($context["video_media_upload_url"]) || array_key_exists("video_media_upload_url", $context) ? $context["video_media_upload_url"] : (function () { throw new RuntimeError('Variable "video_media_upload_url" does not exist.', 30, $this->source); })()));
}
// line 33
$context["services_array"] = [];
// line 34
$context["count_in_group"] = 0;
// line 35
$context["current_group"] = 0;
// line 36
$context["title_group"] = 0;
// line 37
$context["services"] = $this->extensions['App\Twig\ServicesExtension']->servicesList();
// line 39
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 39, $this->source); })()), "provided_services", [], "any", false, false, false, 39));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["provided_service"]) {
// line 40
$context["service"] = twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 40, $this->source); })()), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["provided_service"], "service", [], "any", false, false, false, 40), "vars", [], "any", false, false, false, 40), "value", [], "any", false, false, false, 40), [], "array", false, false, false, 40);
// line 41
if (((isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 41, $this->source); })()) != twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 41, $this->source); })()), "group", [], "any", false, false, false, 41))) {
// line 42
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 42)) {
// line 43
$context["services_array"] = twig_array_merge((isset($context["services_array"]) || array_key_exists("services_array", $context) ? $context["services_array"] : (function () { throw new RuntimeError('Variable "services_array" does not exist.', 43, $this->source); })()), [[ // line 44
(isset($context["title_group"]) || array_key_exists("title_group", $context) ? $context["title_group"] : (function () { throw new RuntimeError('Variable "title_group" does not exist.', 44, $this->source); })()), (isset($context["count_in_group"]) || array_key_exists("count_in_group", $context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.', 44, $this->source); })())]]);
}
// line 47
$context["current_group"] = twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 47, $this->source); })()), "group", [], "any", false, false, false, 47);
// line 48
$context["title_group"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel((isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 48, $this->source); })())), [], "service_groups");
// line 50
$context["count_in_group"] = 0;
}
// line 52
$context["count_in_group"] = ((isset($context["count_in_group"]) || array_key_exists("count_in_group", $context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.', 52, $this->source); })()) + 1);
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['provided_service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 54
$context["services_array"] = twig_array_merge((isset($context["services_array"]) || array_key_exists("services_array", $context) ? $context["services_array"] : (function () { throw new RuntimeError('Variable "services_array" does not exist.', 54, $this->source); })()), [[ // line 55
(isset($context["title_group"]) || array_key_exists("title_group", $context) ? $context["title_group"] : (function () { throw new RuntimeError('Variable "title_group" does not exist.', 55, $this->source); })()), (isset($context["count_in_group"]) || array_key_exists("count_in_group", $context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.', 55, $this->source); })())]]);
// line 123
$context["editCheck"] = ((twig_get_attribute($this->env, $this->source, 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.', 123, $this->source); })()), "vars", [], "any", false, false, false, 123), "value", [], "any", false, false, false, 123)) ? (true) : (false));
// line 1
$this->parent = $this->loadTemplate("account/grid.html.twig", "account/profiles/profile_form.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_name_page($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(), "block", "name_page"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
echo "account-profile-form";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 5
public function block_title($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(), "block", "title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Добавление анкеты - Личный Кабинет";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 125
public function block_specialPageClass($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(), "block", "specialPageClass"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "specialPageClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "specialPageClass"));
echo " girl-form";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 127
public function block_mainContainer($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(), "block", "mainContainer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
// line 128
echo "
<ul class=\"breadcrumbs\" vocab=\"http://schema.org/\" typeof=\"BreadcrumbList\">
<li class=\"\" property=\"itemListElement\" typeof=\"ListItem\">
<a href=\"";
// line 131
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account");
echo "\" property=\"item\" typeof=\"WebPage\">Личный кабинет</a>
<meta property=\"position\" content=\"1\">
</li>
<li class=\"last-crumb\"><span>";
// line 134
if ((isset($context["editCheck"]) || array_key_exists("editCheck", $context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.', 134, $this->source); })())) {
echo "Редактирование анкеты";
} else {
echo "Добавить новую анкету";
}
echo "</span></li>
</ul>
<h1 class=\"border-line\" role=\"heading\">";
// line 136
if ((isset($context["editCheck"]) || array_key_exists("editCheck", $context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.', 136, $this->source); })())) {
echo "Редактирование анкеты";
} else {
echo "Новая анкета";
}
echo "</h1>
<div class=\"girl-form\"
";
// line 140
echo " ";
echo ">
";
// line 141
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.', 141, $this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate", "class" => "profile-form", "data-edit" => (( // line 144
(isset($context["editCheck"]) || array_key_exists("editCheck", $context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.', 144, $this->source); })())) ? ("true") : ("false"))]]);
// line 145
echo "
";
// line 146
if ($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 146, $this->source); })()), 'errors')) {
// line 147
echo " <div class=\"field-error form-error is-flex level\">
<i><img src=\"";
// line 148
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/alert.svg", "basicConfig"), "html", null, true);
echo "\"></i>
<p>";
// line 149
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 149, $this->source); })()), 'errors');
echo "</p>
</div>
";
}
// line 152
echo " ";
$this->loadTemplate("account/flashes.html.twig", "account/profiles/profile_form.html.twig", 152)->display($context);
// line 153
echo "
";
// line 155
echo " <div class=\"main-block\">
<div class=\"block avatar\">
<h2 class=\"border-line\">Главное фото анкеты</h2>
";
// line 158
$context["error_message"] = $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.', 158, $this->source); })()), "avatar", [], "any", false, false, false, 158), 'errors');
// line 159
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 159, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 159, $this->source); })()), "avatar", [], "any", false, false, false, 159), "vars", [], "any", false, false, false, 159), "id", [], "any", false, false, false, 159), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 159, $this->source); })()), "html", null, true);
echo "</p>
<div class=\"photo-data\" style=\"display:none\"></div>
<div class=\"photo\">
";
// line 162
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 162, $this->source); })()), "avatar", [], "any", false, false, false, 162), "vars", [], "any", false, false, false, 162), "value", [], "any", false, false, false, 162)) {
// line 163
echo " <div class=\"preview\">
<img src=\"";
// line 164
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 164, $this->source); })()), "avatar", [], "any", false, false, false, 164), "vars", [], "any", false, false, false, 164), "value", [], "any", false, false, false, 164), "profile_media_avatar", "357x500", "jpg"), "html", null, true);
echo "\" id=\"avatar_preview\">
</div>
";
} else {
// line 167
echo " <div class=\"empty-image\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 169
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-empty-girl\"></use>
</svg>
</div>
<div class=\"preview invisible\">
<img data-src=\"";
// line 173
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 173, $this->source); })()), "avatar", [], "any", false, false, false, 173), "vars", [], "any", false, false, false, 173), "value", [], "any", false, false, false, 173), "profile_media_avatar", "357x500", "jpg"), "html", null, true);
echo "\" id=\"avatar_preview\">
</div>
";
}
// line 176
echo " </div>
<div class=\"upload-photo\">
<p>Рекомендованный размер: 500х700px.</p>
<div class=\"button\">
";
// line 180
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.', 180, $this->source); })()), "avatar", [], "any", false, false, false, 180), 'widget');
echo "
<input type=\"file\"
id=\"set_avatar\"
style=\"position:absolute;left:-999999px\"
accept=\"image/jpg,image/jpeg\"
data-url=\"";
// line 185
echo twig_escape_filter($this->env, $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint("profile_media_avatar"), "html", null, true);
echo "\"
data-id=\"";
// line 186
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 186, $this->source); })()), "avatar", [], "any", false, false, false, 186), "vars", [], "any", false, false, false, 186), "id", [], "any", false, false, false, 186), "html", null, true);
echo "\"
data-original-path=\"";
// line 187
echo twig_escape_filter($this->env, (isset($context["responsive_media_base_url"]) || array_key_exists("responsive_media_base_url", $context) ? $context["responsive_media_base_url"] : (function () { throw new RuntimeError('Variable "responsive_media_base_url" does not exist.', 187, $this->source); })()), "html", null, true);
echo "\"
data-type=\"avatar\">
<label class=\"btn btn-secondary d-flex\" for=\"set_avatar\">
<svg class=\"icon mr-2\">
<use xlink:href=\"";
// line 191
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-profile\"></use>
</svg>
<span>Загрузить аватар</span>
</label>
</div>
</div>
</div>
<div class=\"block main-information\">
<h2 class=\"border-line\">Основная информация</h2>
<div class=\"field\">
<div class=\"wrap d-flex\">
<label class=\"name\" for=\"";
// line 202
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 202, $this->source); })()), "name", [], "any", false, false, false, 202), "vars", [], "any", false, false, false, 202), "id", [], "any", false, false, false, 202), "html", null, true);
echo "\">Имя:</label>
";
// line 203
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.', 203, $this->source); })()), "name", [], "any", false, false, false, 203), 'widget', ["attr" => ["class" => "basic-view", "maxlength" => "30", "placeholder" => "Введите имя"]]);
// line 207
echo "
</div>
";
// line 209
$context["error_message"] = $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.', 209, $this->source); })()), "name", [], "any", false, false, false, 209), 'errors');
// line 210
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 210, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 210, $this->source); })()), "name", [], "any", false, false, false, 210), "vars", [], "any", false, false, false, 210), "id", [], "any", false, false, false, 210), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 210, $this->source); })()), "html", null, true);
echo "</p>
</div>
";
// line 212
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "city", [], "any", true, true, false, 212)) {
// line 213
echo " <div class=\"field\">
<div class=\"wrap d-flex\">
<label class=\"name\" for=\"";
// line 215
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 215, $this->source); })()), "name", [], "any", false, false, false, 215), "vars", [], "any", false, false, false, 215), "id", [], "any", false, false, false, 215), "html", null, true);
echo "\">Город:</label>
";
// line 216
if ((isset($context["editCheck"]) || array_key_exists("editCheck", $context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.', 216, $this->source); })())) {
// line 217
echo " ";
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.', 217, $this->source); })()), "city", [], "any", false, false, false, 217), 'widget', ["attr" => ["class" => "basic-view disabled", "disabled" => "disabled"]]);
// line 220
echo "
<input type=\"hidden\" name=\"";
// line 221
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 221, $this->source); })()), "city", [], "any", false, false, false, 221), "vars", [], "any", false, false, false, 221), "name", [], "any", false, false, false, 221), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 221, $this->source); })()), "city", [], "any", false, false, false, 221), "vars", [], "any", false, false, false, 221), "value", [], "any", false, false, false, 221), "html", null, true);
echo "\">
";
} else {
// line 223
echo " <div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
";
// line 231
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.', 231, $this->source); })()), "city", [], "any", false, false, false, 231), 'widget');
echo "
</div>
</div>
";
}
// line 235
echo " </div>
";
// line 236
$context["error_message"] = $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.', 236, $this->source); })()), "city", [], "any", false, false, false, 236), 'errors');
// line 237
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 237, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 237, $this->source); })()), "city", [], "any", false, false, false, 237), "vars", [], "any", false, false, false, 237), "id", [], "any", false, false, false, 237), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 237, $this->source); })()), "html", null, true);
echo "</p>
</div>
";
}
// line 240
echo " <div class=\"field\">
<div class=\"wrap d-flex phone-block\">
<label class=\"name\" for=\"phone_number\">Телефон:</label>
";
// line 243
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.', 243, $this->source); })()), "phone_number", [], "any", false, false, false, 243), 'widget', ["attr" => ["class" => "basic-view", "maxlength" => "20", "minlength" => "11", "placeholder" => "+7 (___) ___ __ __"]]);
// line 248
echo "
<div class=\"additional d-flex\">
<div class=\"checkbox-form\">
";
// line 251
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 251, $this->source); })()), "messengers", [], "any", false, false, false, 251), "telegram", [], "any", false, false, false, 251), 'widget');
echo "
<label for=\"messengers_telegram\" class=\"level\">Telegram</label>
</div>
<div class=\"checkbox-form\">
";
// line 255
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 255, $this->source); })()), "messengers", [], "any", false, false, false, 255), "whatsapp", [], "any", false, false, false, 255), 'widget');
echo "
<label for=\"messengers_whatsapp\" class=\"level\">WhatsApp</label>
</div>
</div>
<div class=\"messengers__tg";
// line 259
echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 259, $this->source); })()), "messengers", [], "any", false, false, false, 259), "telegram", [], "any", false, false, false, 259), "vars", [], "any", false, false, false, 259), "checked", [], "any", false, false, false, 259)) ? (" show") : (""));
echo "\" id=\"messengers-telegram-root\">
<label for=\"messengers_telegram_username\">Юзернейм Телеграм:</label>
<div class=\"messengers__tg-wrap\">
<span class=\"messengers__tg-pre\">@</span>
";
// line 263
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 263, $this->source); })()), "messengers", [], "any", false, false, false, 263), "telegram_username", [], "any", false, false, false, 263), 'widget', ["attr" => ["class" => "messengers__tg-input basic-view", "minlength" => "5", "maxlength" => "32", "placeholder" => "", "pattern" => "[A-Za-z0-9_]{5,32}"]]);
// line 269
echo "
</div>
";
// line 271
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 271, $this->source); })()), "messengers", [], "any", false, false, false, 271), "telegram_username", [], "any", false, false, false, 271), 'errors');
// line 272
echo " <p class=\"field-error for-messengers";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 272, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"messengers_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 272, $this->source); })()), "html", null, true);
echo "</p>
</div>
</div>
";
// line 275
$context["error_message"] = $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.', 275, $this->source); })()), "phone_number", [], "any", false, false, false, 275), 'errors');
// line 276
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 276, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 276, $this->source); })()), "phone_number", [], "any", false, false, false, 276), "vars", [], "any", false, false, false, 276), "id", [], "any", false, false, false, 276), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 276, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field time-to-call\">
<label class=\"name\">Время для звонка:</label>
<div class=\"wrap d-flex\">
<div class=\"invisible\">
<input type=\"radio\" name=\"time-to-call\" id=\"time-all\">
<label for=\"time-all\" class=\"level\">Круглосуточно</label>
</div>
<div class=\"wrap ";
// line 285
if ($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 285, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 285), "time_from", [], "any", false, false, false, 285), 'errors')) {
echo " have-error";
}
echo "\">
<div class=\"radiobox-form invisible\">
<input type=\"radio\" name=\"time-to-call\" id=\"time-sep\">
<label for=\"time-sep\" class=\"\">В указанный промежуток времени:</label>
";
// line 289
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 289, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 289), "time_from", [], "any", false, false, false, 289), 'errors');
// line 290
echo " <p class=\"field-error for-time";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 290, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"time-sep_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 290, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"time-to-call-cell d-flex\">
<span>с</span>
<input type=\"number\" class=\"basic-view\"
id=\"";
// line 295
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 295, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 295), "time_from", [], "any", false, false, false, 295), "vars", [], "any", false, false, false, 295), "id", [], "any", false, false, false, 295), "html", null, true);
echo "\"
name=\"";
// line 296
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 296, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 296), "time_from", [], "any", false, false, false, 296), "vars", [], "any", false, false, false, 296), "full_name", [], "any", false, false, false, 296), "html", null, true);
echo "\"
placeholder=\"0\"
min=\"0\"
max=\"24\"
";
// line 300
if ((isset($context["editCheck"]) || array_key_exists("editCheck", $context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.', 300, $this->source); })())) {
echo "value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 300, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 300), "time_from", [], "any", false, false, false, 300), "vars", [], "any", false, false, false, 300), "value", [], "any", false, false, false, 300), "html", null, true);
echo "\"";
}
echo ">
<span>до</span>
<input type=\"number\"
class=\"basic-view\"
id=\"";
// line 304
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 304, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 304), "time_to", [], "any", false, false, false, 304), "vars", [], "any", false, false, false, 304), "id", [], "any", false, false, false, 304), "html", null, true);
echo "\"
name=\"";
// line 305
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 305, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 305), "time_to", [], "any", false, false, false, 305), "vars", [], "any", false, false, false, 305), "full_name", [], "any", false, false, false, 305), "html", null, true);
echo "\"
placeholder=\"24\"
min=\"0\"
max=\"24\"
";
// line 309
if ((isset($context["editCheck"]) || array_key_exists("editCheck", $context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.', 309, $this->source); })())) {
echo "value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 309, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 309), "time_to", [], "any", false, false, false, 309), "vars", [], "any", false, false, false, 309), "value", [], "any", false, false, false, 309), "html", null, true);
echo "\"";
}
echo ">
</div>
<div class=\"time-to-call-cell-hide invisible\">
";
// line 312
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 312, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 312), "time_from", [], "any", false, false, false, 312), 'widget');
echo "
";
// line 313
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 313, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 313), "time_to", [], "any", false, false, false, 313), 'widget');
echo "
</div>
</div>
</div>
</div>
<div class=\"field answer-only\">
<div class=\"wrap d-flex\">
<label class=\"name\">Отвечаю на:</label>
<div class=\"additional d-flex\">
";
// line 322
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, 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.', 322, $this->source); })()), "phone_call_restrictions", [], "any", false, false, false, 322), "answering_to", [], "any", false, false, false, 322));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 323
echo " <div class=\"checkbox-form\">
";
// line 324
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["i"], 'widget');
echo "
<label for=\"";
// line 325
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["i"], "vars", [], "any", false, false, false, 325), "id", [], "any", false, false, false, 325), "html", null, true);
echo "\" class=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["i"], "vars", [], "any", false, false, false, 325), "label", [], "any", false, false, false, 325), [], "phone_call_restrictions"), "html", null, true);
echo "</label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 328
echo " </div>
</div>
</div>
</div>
<div class=\"block main-parameters\">
<h2 class=\"border-line\">Основные параметры</h2>
<div class=\"input-group\">
<div class=\"field\">
<label>Возраст:</label>
";
// line 337
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 337, $this->source); })()), "person_parameters", [], "any", false, false, false, 337), "age", [], "any", false, false, false, 337), 'widget', ["attr" => ["class" => "basic-view", "min" => "18", "max" => "100", "placeholder" => "лет"]]);
// line 342
echo "
";
// line 343
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 343, $this->source); })()), "person_parameters", [], "any", false, false, false, 343), "age", [], "any", false, false, false, 343), 'errors');
// line 344
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 344, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 344, $this->source); })()), "person_parameters", [], "any", false, false, false, 344), "age", [], "any", false, false, false, 344), "vars", [], "any", false, false, false, 344), "id", [], "any", false, false, false, 344), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 344, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<label>Вес:</label>
";
// line 348
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 348, $this->source); })()), "person_parameters", [], "any", false, false, false, 348), "weight", [], "any", false, false, false, 348), 'widget', ["attr" => ["class" => "basic-view", "placeholder" => "кг", "min" => "25", "max" => "250"]]);
// line 353
echo "
";
// line 354
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 354, $this->source); })()), "person_parameters", [], "any", false, false, false, 354), "weight", [], "any", false, false, false, 354), 'errors');
// line 355
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 355, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 355, $this->source); })()), "person_parameters", [], "any", false, false, false, 355), "weight", [], "any", false, false, false, 355), "vars", [], "any", false, false, false, 355), "id", [], "any", false, false, false, 355), "html", null, true);
echo "_error\">";
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 355, $this->source); })()), "person_parameters", [], "any", false, false, false, 355), "weight", [], "any", false, false, false, 355), 'errors');
echo "</p>
</div>
<div class=\"field\">
<label>Одежда:</label>
";
// line 359
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 359, $this->source); })()), "person_parameters", [], "any", false, false, false, 359), "cloth_size", [], "any", false, false, false, 359), 'widget', ["attr" => ["class" => "basic-view", "placeholder" => "Размер", "min" => "38", "max" => "80"]]);
// line 364
echo "
";
// line 365
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 365, $this->source); })()), "person_parameters", [], "any", false, false, false, 365), "cloth_size", [], "any", false, false, false, 365), 'errors');
// line 366
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 366, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 366, $this->source); })()), "person_parameters", [], "any", false, false, false, 366), "cloth_size", [], "any", false, false, false, 366), "vars", [], "any", false, false, false, 366), "id", [], "any", false, false, false, 366), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 366, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<label>Рост:</label>
";
// line 370
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 370, $this->source); })()), "person_parameters", [], "any", false, false, false, 370), "height", [], "any", false, false, false, 370), 'widget', ["attr" => ["class" => "basic-view", "placeholder" => "см", "min" => "120", "max" => "220"]]);
// line 375
echo "
";
// line 376
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 376, $this->source); })()), "person_parameters", [], "any", false, false, false, 376), "height", [], "any", false, false, false, 376), 'errors');
// line 377
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 377, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 377, $this->source); })()), "person_parameters", [], "any", false, false, false, 377), "height", [], "any", false, false, false, 377), "vars", [], "any", false, false, false, 377), "id", [], "any", false, false, false, 377), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 377, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<label>Грудь:</label>
";
// line 381
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 381, $this->source); })()), "person_parameters", [], "any", false, false, false, 381), "breast_size", [], "any", false, false, false, 381), 'widget', ["attr" => ["class" => "basic-view", "placeholder" => "Размер", "min" => "1", "max" => "12"]]);
// line 386
echo "
";
// line 387
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 387, $this->source); })()), "person_parameters", [], "any", false, false, false, 387), "breast_size", [], "any", false, false, false, 387), 'errors');
// line 388
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 388, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 388, $this->source); })()), "person_parameters", [], "any", false, false, false, 388), "breast_size", [], "any", false, false, false, 388), "vars", [], "any", false, false, false, 388), "id", [], "any", false, false, false, 388), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 388, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<label>Обувь:</label>
";
// line 392
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 392, $this->source); })()), "person_parameters", [], "any", false, false, false, 392), "shoes_size", [], "any", false, false, false, 392), 'widget', ["attr" => ["class" => "basic-view", "placeholder" => "Размер", "min" => "33", "max" => "48"]]);
// line 397
echo "
";
// line 398
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 398, $this->source); })()), "person_parameters", [], "any", false, false, false, 398), "shoes_size", [], "any", false, false, false, 398), 'errors');
// line 399
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 399, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 399, $this->source); })()), "person_parameters", [], "any", false, false, false, 399), "shoes_size", [], "any", false, false, false, 399), "vars", [], "any", false, false, false, 399), "id", [], "any", false, false, false, 399), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 399, $this->source); })()), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"checkboxes\">
<div class=\"field d-flex\">
<div class=\"additional d-flex\">
<div class=\"checkbox-form\">
";
// line 406
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 406, $this->source); })()), "person_parameters", [], "any", false, false, false, 406), "has_tattoo", [], "any", false, false, false, 406), 'widget', ["attr" => []]);
echo "
<label for=\"person_parameters_has_tattoo\" class=\"\">Тату</label>
</div>
<div class=\"checkbox-form\">
";
// line 410
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 410, $this->source); })()), "person_parameters", [], "any", false, false, false, 410), "has_piercing", [], "any", false, false, false, 410), 'widget', ["attr" => []]);
echo "
<label for=\"person_parameters_has_piercing\" class=\"\">Пирсинг</label>
</div>
</div>
</div>
</div>
<div class=\"dropdown-elements\">
<div class=\"field\">
<div class=\"wrap is-flex level\">
<label class=\"name\">Национальность:</label>
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
";
// line 428
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 428, $this->source); })()), "person_parameters", [], "any", false, false, false, 428), "nationality", [], "any", false, false, false, 428), 'widget', ["attr" => ["class" => "basic-view"]]);
// line 430
echo "
</div>
</div>
</div>
";
// line 434
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 434, $this->source); })()), "person_parameters", [], "any", false, false, false, 434), "nationality", [], "any", false, false, false, 434), 'errors');
// line 435
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 435, $this->source); })())) > 0)) {
echo " show";
}
echo "\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 435, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<div class=\"wrap is-flex level\">
<label class=\"name\">Телосложение:</label>
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
";
// line 448
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 448, $this->source); })()), "person_parameters", [], "any", false, false, false, 448), "body_type", [], "any", false, false, false, 448), 'widget', ["attr" => ["class" => "basic-view"]]);
// line 450
echo "
</div>
</div>
</div>
";
// line 454
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 454, $this->source); })()), "person_parameters", [], "any", false, false, false, 454), "body_type", [], "any", false, false, false, 454), 'errors');
// line 455
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 455, $this->source); })())) > 0)) {
echo " show";
}
echo "\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 455, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<div class=\"wrap is-flex level\">
<label class=\"name\">Цвет волос:</label>
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
";
// line 468
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 468, $this->source); })()), "person_parameters", [], "any", false, false, false, 468), "hair_color", [], "any", false, false, false, 468), 'widget', ["attr" => ["class" => "basic-view"]]);
// line 470
echo "
</div>
</div>
</div>
";
// line 474
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 474, $this->source); })()), "person_parameters", [], "any", false, false, false, 474), "hair_color", [], "any", false, false, false, 474), 'errors');
// line 475
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 475, $this->source); })())) > 0)) {
echo " show";
}
echo "\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 475, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<div class=\"wrap is-flex level\">
<label class=\"name\">Интимная стрижка:</label>
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
";
// line 488
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 488, $this->source); })()), "person_parameters", [], "any", false, false, false, 488), "private_haircut", [], "any", false, false, false, 488), 'widget', ["attr" => ["class" => "basic-view"]]);
// line 490
echo "
</div>
</div>
</div>
";
// line 494
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 494, $this->source); })()), "person_parameters", [], "any", false, false, false, 494), "private_haircut", [], "any", false, false, false, 494), 'errors');
// line 495
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 495, $this->source); })())) > 0)) {
echo " show";
}
echo "\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 495, $this->source); })()), "html", null, true);
echo "</p>
</div>
</div>
</div>
<div class=\"block prices\">
<h2 class=\"border-line\">Расценки</h2>
<div class=\"wrap d-flex\">
<div class=\"apartments\">
<h3>
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 505
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-house\"></use>
</svg>
<span>Апартаменты</span>
</h3>
<div class=\"input-group d-flex\">
<div class=\"field\">
<label>1 час:</label>
";
// line 512
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 512, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 512), "one_hour_price", [], "any", false, false, false, 512), 'widget', ["attr" => ["class" => "basic-view", "min" => "1", "maxlength" => "6"]]);
// line 516
echo "
";
// line 517
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 517, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 517), "one_hour_price", [], "any", false, false, false, 517), 'errors');
// line 518
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 518, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 518, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 518), "one_hour_price", [], "any", false, false, false, 518), "vars", [], "any", false, false, false, 518), "id", [], "any", false, false, false, 518), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 518, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<label>2 часа:</label>
";
// line 522
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 522, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 522), "two_hours_price", [], "any", false, false, false, 522), 'widget', ["attr" => ["class" => "basic-view", "min" => "1", "maxlength" => "6"]]);
// line 526
echo "
";
// line 527
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 527, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 527), "two_hours_price", [], "any", false, false, false, 527), 'errors');
// line 528
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 528, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 528, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 528), "two_hours_price", [], "any", false, false, false, 528), "vars", [], "any", false, false, false, 528), "id", [], "any", false, false, false, 528), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 528, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<label>Ночь:</label>
";
// line 532
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 532, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 532), "night_price", [], "any", false, false, false, 532), 'widget', ["attr" => ["class" => "basic-view", "min" => "1", "maxlength" => "6"]]);
// line 536
echo "
";
// line 537
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 537, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 537), "night_price", [], "any", false, false, false, 537), 'errors');
// line 538
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 538, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 538, $this->source); })()), "apartments_pricing", [], "any", false, false, false, 538), "night_price", [], "any", false, false, false, 538), "vars", [], "any", false, false, false, 538), "id", [], "any", false, false, false, 538), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 538, $this->source); })()), "html", null, true);
echo "</p>
</div>
</div>
</div>
<div class=\"takeout\">
<h3>
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 545
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-car\"></use>
</svg>
<span>Выезд</span>
</h3>
<div class=\"input-group d-flex\">
<div class=\"field\">
<label>1 час:</label>
";
// line 552
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 552, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 552), "one_hour_price", [], "any", false, false, false, 552), 'widget', ["attr" => ["class" => "basic-view", "min" => "1", "maxlength" => "6"]]);
// line 556
echo "
";
// line 557
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 557, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 557), "one_hour_price", [], "any", false, false, false, 557), 'errors');
// line 558
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 558, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 558, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 558), "one_hour_price", [], "any", false, false, false, 558), "vars", [], "any", false, false, false, 558), "id", [], "any", false, false, false, 558), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 558, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<label>2 часа:</label>
";
// line 562
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 562, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 562), "two_hours_price", [], "any", false, false, false, 562), 'widget', ["attr" => ["class" => "basic-view", "min" => "1", "maxlength" => "6"]]);
// line 566
echo "
";
// line 567
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 567, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 567), "two_hours_price", [], "any", false, false, false, 567), 'errors');
// line 568
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 568, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 568, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 568), "two_hours_price", [], "any", false, false, false, 568), "vars", [], "any", false, false, false, 568), "id", [], "any", false, false, false, 568), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 568, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"field\">
<label>Ночь:</label>
";
// line 572
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 572, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 572), "night_price", [], "any", false, false, false, 572), 'widget', ["attr" => ["class" => "basic-view", "min" => "1", "maxlength" => "6"]]);
// line 576
echo "
";
// line 577
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 577, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 577), "night_price", [], "any", false, false, false, 577), 'errors');
// line 578
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 578, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 578, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 578), "night_price", [], "any", false, false, false, 578), "vars", [], "any", false, false, false, 578), "id", [], "any", false, false, false, 578), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 578, $this->source); })()), "html", null, true);
echo "</p>
</div>
</div>
</div>
</div>
<div class=\"express";
// line 583
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 583, $this->source); })()), "express_pricing", [], "any", false, false, false, 583), "provided", [], "any", false, false, false, 583), "vars", [], "any", false, false, false, 583), "checked", [], "any", false, false, false, 583)) {
echo " no-ex1press";
}
echo "\">
<div class=\"wrap\">
<div class=\"field\">
";
// line 586
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 586, $this->source); })()), "express_pricing", [], "any", false, false, false, 586), "provided", [], "any", false, false, false, 586), 'widget');
echo "
<label for=\"express_pricing_provided\" class=\"level\">Есть экспресс</label>
</div>
";
// line 589
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 589, $this->source); })()), "express_pricing", [], "any", false, false, false, 589), "price", [], "any", false, false, false, 589), 'widget', ["attr" => ["class" => "express-price basic-view", "min" => "1", "maxlength" => "6"]]);
// line 593
echo "
</div>
";
// line 595
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 595, $this->source); })()), "express_pricing", [], "any", false, false, false, 595), "price", [], "any", false, false, false, 595), 'errors');
// line 596
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 596, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 596, $this->source); })()), "express_pricing", [], "any", false, false, false, 596), "price", [], "any", false, false, false, 596), "vars", [], "any", false, false, false, 596), "id", [], "any", false, false, false, 596), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 596, $this->source); })()), "html", null, true);
echo "</p>
</div>
<div class=\"services-special\">
<h3>Выезд:</h3>
<div class=\"services-list\">
";
// line 601
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, 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.', 601, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 601), "locations", [], "any", false, false, false, 601));
foreach ($context['_seq'] as $context["_key"] => $context["take_out_location"]) {
// line 602
echo " <div class=\"checkbox-form\">
";
// line 603
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["take_out_location"], 'widget');
echo "
<label for=\"";
// line 604
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["take_out_location"], "vars", [], "any", false, false, false, 604), "id", [], "any", false, false, false, 604), "html", null, true);
echo "\" class=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["take_out_location"], "vars", [], "any", false, false, false, 604), "label", [], "any", false, false, false, 604), [], "take_out_location"), "html", null, true);
echo "</label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['take_out_location'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 607
echo " <div class=\"checkbox-form\">
";
// line 608
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 608, $this->source); })()), "car_pricing", [], "any", false, false, false, 608), "provided", [], "any", false, false, false, 608), 'widget');
echo "
<label for=\"";
// line 609
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 609, $this->source); })()), "car_pricing", [], "any", false, false, false, 609), "provided", [], "any", false, false, false, 609), "vars", [], "any", false, false, false, 609), "id", [], "any", false, false, false, 609), "html", null, true);
echo "\" class=\"\">В машине</label>
</div>
</div>
";
// line 612
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 612, $this->source); })()), "take_out_pricing", [], "any", false, false, false, 612), "locations", [], "any", false, false, false, 612), 'errors');
// line 613
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 613, $this->source); })())) > 0)) {
echo " show";
}
echo "\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 613, $this->source); })()), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"block about\">
<h2 class=\"border-line\">О себе</h2>
<div class=\"textarea\">
";
// line 619
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.', 619, $this->source); })()), "about", [], "any", false, false, false, 619), 'widget', ["attr" => ["class" => "basic-view", "placeholder" => "Напишите о себе", "maxlength" => "3000", "minlength" => "100"]]);
// line 624
echo "
</div>
<p class=\"info\">Напишите о себе (минимум 100 символов):</p>
";
// line 627
$context["error_message"] = $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.', 627, $this->source); })()), "about", [], "any", false, false, false, 627), 'errors');
// line 628
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 628, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 628, $this->source); })()), "about", [], "any", false, false, false, 628), "vars", [], "any", false, false, false, 628), "id", [], "any", false, false, false, 628), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 628, $this->source); })()), "html", null, true);
echo "</p>
</div>
</div>
";
// line 644
echo "
<div class=\"block map-block\">
<h2 class=\"border-line\">Расположение</h2>
<div class=\"metro d-flex\" id=\"metro-choice\">
<div class=\"info selector\">
<p>Выберите станции метро (максимум 3 станции):</p>
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\"
data-limit=\"3\"
data-empty-text=\"Выберите станции метро\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
";
// line 659
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.', 659, $this->source); })()), "stations", [], "any", false, false, false, 659), 'widget');
echo "
</div>
";
// line 661
$context["error_message"] = $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.', 661, $this->source); })()), "stations", [], "any", false, false, false, 661), 'errors');
// line 662
echo " <p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 662, $this->source); })())) > 0)) {
echo " show";
}
echo "\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 662, $this->source); })()), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"metro-selected-list\" id=\"metro-selected\">
</div>
";
// line 669
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.', 669, $this->source); })()), "primary_station", [], "any", false, false, false, 669), 'widget');
echo "
<div class=\"map\">
<div style=\"display:none\">
";
// line 673
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 673, $this->source); })()), "map_coordinate", [], "any", false, false, false, 673), "latitude", [], "any", false, false, false, 673), 'widget');
echo "
";
// line 674
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 674, $this->source); })()), "map_coordinate", [], "any", false, false, false, 674), "longitude", [], "any", false, false, false, 674), 'widget');
echo "
</div>
<div class=\"info\">
<div class=\"map-wrap\"
id=\"ya-map\"
data-lat=\"";
// line 679
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 679, $this->source); })()), "mapCoordinate", [], "any", false, false, false, 679), "latitude", [], "any", false, false, false, 679)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 679, $this->source); })()), "mapCoordinate", [], "any", false, false, false, 679), "latitude", [], "any", false, false, false, 679), "html", null, true);
} else {
echo "55.752";
}
echo "\"
data-lon=\"";
// line 680
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 680, $this->source); })()), "mapCoordinate", [], "any", false, false, false, 680), "longitude", [], "any", false, false, false, 680)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 680, $this->source); })()), "mapCoordinate", [], "any", false, false, false, 680), "longitude", [], "any", false, false, false, 680), "html", null, true);
} else {
echo "37.61";
}
echo "\"></div>
</div>
</div>
</div>
<div class=\"block services-block\">
<h2 class=\"border-line\">Предоставляемые услуги</h2>
<ul class=\"about-services d-flex\">
<li class=\"d-flex include\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 690
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-condition-include\"></use>
</svg>
<span>- включено в стоимость</span>
</li>
<li class=\"d-flex sympathy\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 696
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-condition-sympathy\"></use>
</svg>
<span>- по настроению</span>
</li>
<li class=\"d-flex price\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 702
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-condition-with-price\"></use>
</svg>
<span>- за дополнительную плату</span>
</li>
<li class=\"d-flex not-include\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 708
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-condition-with-price\"></use>
</svg>
<span>- услуга не предоставляется</span>
</li>
</ul>
<div class=\"services\">
";
// line 736
echo "
";
// line 737
$context["current_group"] = 0;
// line 738
echo " ";
$context["count_in_group"] = 0;
// line 739
echo " ";
$context["title_group"] = 0;
// line 740
echo "
";
// line 741
$context["initional_group_2"] = 0;
// line 742
echo " ";
$context["group_2_minet"] = [];
// line 743
echo " ";
$context["group_2_okon"] = [];
// line 744
echo " ";
$context["group_2_okon_trigger"] = ["Окончание на грудь", "Окончание на лицо", "Окончание в рот"];
echo " ";
// line 745
echo "
";
// line 746
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 746, $this->source); })()), "provided_services", [], "any", false, false, false, 746));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["provided_service"]) {
// line 747
echo " ";
$context["service"] = twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 747, $this->source); })()), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["provided_service"], "service", [], "any", false, false, false, 747), "vars", [], "any", false, false, false, 747), "value", [], "any", false, false, false, 747), [], "array", false, false, false, 747);
// line 748
echo " ";
if (((isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 748, $this->source); })()) != twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 748, $this->source); })()), "group", [], "any", false, false, false, 748))) {
// line 749
echo "
";
// line 751
echo " ";
if (( !twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 751) && ((isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 751, $this->source); })()) != 2))) {
echo "</div></div>";
}
// line 752
echo " ";
$context["current_group"] = twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 752, $this->source); })()), "group", [], "any", false, false, false, 752);
// line 753
echo "
";
// line 755
echo " ";
$context["title_group"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel((isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 755, $this->source); })())), [], "service_groups");
echo " ";
// line 756
echo " ";
$context["count_in_group"] = twig_round((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["services_array"]) || array_key_exists("services_array", $context) ? $context["services_array"] : (function () { throw new RuntimeError('Variable "services_array" does not exist.', 756, $this->source); })()), ((isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 756, $this->source); })()) - 1), [], "array", false, false, false, 756), 1, [], "array", false, false, false, 756) / 2));
echo " ";
// line 757
echo "
";
// line 758
if (((isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 758, $this->source); })()) == 2)) {
// line 759
echo "
";
} elseif (( // line 760
(isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 760, $this->source); })()) == 3)) {
// line 761
echo " <div class=\"group-2-1\" data-group=\"2-1\">
<h3>Минет</h3>
<div class=\"checkbox-group count-";
// line 763
echo twig_escape_filter($this->env, (isset($context["count_in_group"]) || array_key_exists("count_in_group", $context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.', 763, $this->source); })()), "html", null, true);
echo "\">
";
// line 764
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["group_2_minet"]) || array_key_exists("group_2_minet", $context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.', 764, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
// line 765
echo " ";
$context["_form"] = twig_get_attribute($this->env, $this->source, $context["data"], "form", [], "any", false, false, false, 765);
// line 766
echo " ";
$context["_service"] = twig_get_attribute($this->env, $this->source, $context["data"], "service", [], "any", false, false, false, 766);
// line 767
echo " ";
echo twig_call_macro($macros["_self"], "macro__service_block", [(isset($context["_form"]) || array_key_exists("_form", $context) ? $context["_form"] : (function () { throw new RuntimeError('Variable "_form" does not exist.', 767, $this->source); })()), (isset($context["_service"]) || array_key_exists("_service", $context) ? $context["_service"] : (function () { throw new RuntimeError('Variable "_service" does not exist.', 767, $this->source); })())], 767, $context, $this->getSourceContext());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 769
echo " </div>
</div>
<div class=\"group-2-2\" data-group=\"2-2\">
<h3>Окончание</h3>
<div class=\"checkbox-group count-";
// line 773
echo twig_escape_filter($this->env, (isset($context["count_in_group"]) || array_key_exists("count_in_group", $context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.', 773, $this->source); })()), "html", null, true);
echo "\">
";
// line 774
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["group_2_okon"]) || array_key_exists("group_2_okon", $context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.', 774, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
// line 775
echo " ";
$context["_form"] = twig_get_attribute($this->env, $this->source, $context["data"], "form", [], "any", false, false, false, 775);
// line 776
echo " ";
$context["_service"] = twig_get_attribute($this->env, $this->source, $context["data"], "service", [], "any", false, false, false, 776);
// line 777
echo " ";
echo twig_call_macro($macros["_self"], "macro__service_block", [(isset($context["_form"]) || array_key_exists("_form", $context) ? $context["_form"] : (function () { throw new RuntimeError('Variable "_form" does not exist.', 777, $this->source); })()), (isset($context["_service"]) || array_key_exists("_service", $context) ? $context["_service"] : (function () { throw new RuntimeError('Variable "_service" does not exist.', 777, $this->source); })())], 777, $context, $this->getSourceContext());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 779
echo " </div>
</div>
";
// line 783
echo " <div class=\"group-";
echo twig_escape_filter($this->env, (isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 783, $this->source); })()), "html", null, true);
echo "\" data-group=\"";
echo twig_escape_filter($this->env, (isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 783, $this->source); })()), "html", null, true);
echo "\">
<h3>";
// line 784
echo twig_escape_filter($this->env, (isset($context["title_group"]) || array_key_exists("title_group", $context) ? $context["title_group"] : (function () { throw new RuntimeError('Variable "title_group" does not exist.', 784, $this->source); })()), "html", null, true);
echo "</h3>
<div class=\"checkbox-group count-";
// line 785
echo twig_escape_filter($this->env, (isset($context["count_in_group"]) || array_key_exists("count_in_group", $context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.', 785, $this->source); })()), "html", null, true);
echo "\">
";
} else {
// line 788
echo " <div class=\"group-";
echo twig_escape_filter($this->env, (isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 788, $this->source); })()), "html", null, true);
echo "\" data-group=\"";
echo twig_escape_filter($this->env, (isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 788, $this->source); })()), "html", null, true);
echo "\">
<h3>";
// line 789
echo twig_escape_filter($this->env, (isset($context["title_group"]) || array_key_exists("title_group", $context) ? $context["title_group"] : (function () { throw new RuntimeError('Variable "title_group" does not exist.', 789, $this->source); })()), "html", null, true);
echo "</h3>
<div class=\"checkbox-group count-";
// line 790
echo twig_escape_filter($this->env, (isset($context["count_in_group"]) || array_key_exists("count_in_group", $context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.', 790, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 792
echo " ";
}
// line 793
echo " ";
if (((isset($context["current_group"]) || array_key_exists("current_group", $context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.', 793, $this->source); })()) == 2)) {
// line 794
echo " ";
if (twig_in_filter($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 794, $this->source); })()), "name", [], "any", false, false, false, 794), [], "left_menu"), (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger", $context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.', 794, $this->source); })()))) {
// line 795
echo " ";
$context["group_2_okon"] = twig_array_merge((isset($context["group_2_okon"]) || array_key_exists("group_2_okon", $context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.', 795, $this->source); })()), [["form" => $context["provided_service"], "service" => (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 795, $this->source); })())]]);
// line 796
echo " ";
} else {
// line 797
echo " ";
$context["group_2_minet"] = twig_array_merge((isset($context["group_2_minet"]) || array_key_exists("group_2_minet", $context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.', 797, $this->source); })()), [["form" => $context["provided_service"], "service" => (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 797, $this->source); })())]]);
// line 798
echo " ";
}
// line 799
echo " ";
} else {
// line 800
echo " ";
echo twig_call_macro($macros["_self"], "macro__service_block", [$context["provided_service"], (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 800, $this->source); })())], 800, $context, $this->getSourceContext());
echo "
";
}
// line 802
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['provided_service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 803
echo " </div>
</div>
</div>
<div class=\"services-special\">
<h3>Услуги для:</h3>
<div class=\"services-list d-flex\">
";
// line 810
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 810, $this->source); })()), "client_types", [], "any", false, false, false, 810));
foreach ($context['_seq'] as $context["_key"] => $context["client_type"]) {
// line 811
echo " <div class=\"checkbox-form";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["client_type"], "vars", [], "any", false, false, false, 811), "label", [], "any", false, false, false, 811) == "TRANS")) ? (" d-none") : (""));
echo "\">
";
// line 812
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["client_type"], 'widget');
echo "
<label for=\"";
// line 813
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["client_type"], "vars", [], "any", false, false, false, 813), "id", [], "any", false, false, false, 813), "html", null, true);
echo "\" class=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["client_type"], "vars", [], "any", false, false, false, 813), "label", [], "any", false, false, false, 813), [], "client_types"), "html", null, true);
echo "</label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['client_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 816
echo " </div>
</div>
</div>
<div class=\"block additional-info\">
<h2 class=\"border-line\">Дополнительная информация</h2>
<div class=\"age-prevent\">
<div class=\"field d-flex\">
<div class=\"text d-flex\">
<input type=\"checkbox\" id=\"age-prevent\">
<label for=\"age-prevent\">Ограничение по возрасту партнёра:</label>
</div>
<div class=\"age-prevent-cell d-flex\">
<span>от</span>
";
// line 829
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 829, $this->source); })()), "client_restrictions", [], "any", false, false, false, 829), "min_age", [], "any", false, false, false, 829), 'widget', ["attr" => ["class" => "basic-view", "min" => "18", "max" => "100", "placeholder" => "18"]]);
// line 834
echo "
<span>до</span>
";
// line 836
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["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 836, $this->source); })()), "client_restrictions", [], "any", false, false, false, 836), "max_age", [], "any", false, false, false, 836), 'widget', ["attr" => ["class" => "basic-view", "min" => "18", "max" => "100", "placeholder" => "100"]]);
// line 841
echo "
</div>
</div>
";
// line 844
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 844, $this->source); })()), "client_restrictions", [], "any", false, false, false, 844), "min_age", [], "any", false, false, false, 844), 'errors');
// line 845
echo " <p class=\"field-error field-error-min";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 845, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 845, $this->source); })()), "client_restrictions", [], "any", false, false, false, 845), "min_age", [], "any", false, false, false, 845), "vars", [], "any", false, false, false, 845), "id", [], "any", false, false, false, 845), "html", null, true);
echo "_error\">
Ошибка ввода минимального значения: ";
// line 846
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 846, $this->source); })()), "html", null, true);
echo "
</p>
";
// line 848
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 848, $this->source); })()), "client_restrictions", [], "any", false, false, false, 848), "max_age", [], "any", false, false, false, 848), 'errors');
// line 849
echo " <p class=\"field-error field-error-max";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 849, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 849, $this->source); })()), "client_restrictions", [], "any", false, false, false, 849), "max_age", [], "any", false, false, false, 849), "vars", [], "any", false, false, false, 849), "id", [], "any", false, false, false, 849), "html", null, true);
echo "_error\">
Ошибка ввода максимального значения: ";
// line 850
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 850, $this->source); })()), "html", null, true);
echo "</p>
</div>
";
// line 867
echo " </div>
<div class=\"block media-block\">
<div class=\"tabs-block d-flex\" id=\"media-tabs\">
<div class=\"tab-header d-flex\">
<button type=\"button\" class=\"btn d-flex photo active\" data-toggle=\"photo\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 873
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-photo\"></use>
</svg>
<span>Фото</span>
</button>
";
// line 877
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "selfies", [], "any", true, true, false, 877)) {
// line 878
echo " <button type=\"button\" class=\"btn d-flex selfie\" data-toggle=\"selfie\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 880
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-selfie\"></use>
</svg>
<span>Селфи</span>
</button>
";
}
// line 885
echo " <button type=\"button\" class=\"btn d-flex video\" data-toggle=\"video\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 887
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-video\"></use>
</svg>
<span>Видео</span>
</button>
<button type=\"button\" class=\"btn d-flex verify-photo\" data-toggle=\"verify-photo\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 893
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-approved\"></use>
</svg>
<span>Проверочное фото</span>
</button>
</div>
<div class=\"tab-content\">
<div class=\"tab photo active\" data-id=\"photo\">
<div class=\"photos-block\" id=\"photo-block\">
<div style=\"display:none\" id=\"photo_widget\">";
// line 901
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.', 901, $this->source); })()), "photos", [], "any", false, false, false, 901), 'widget');
echo "</div>
<template id=\"template_photo_element\">
<div class=\"attach__element attach__element--loading\" data-media-rotater-element>
<img class=\"attach__element__photo\" data-image data-media-rotater-target/>
<button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M8.39 6.6a1.02 1.02 0 0 1 0-1.45l2.81-2.82a1.12 1.12 0 0 1 1.6 0l2.81 2.82a1.02 1.02 0 1 1-1.44 1.44l-1.15-1.14v5.53h5.53l-1.14-1.15a1.02 1.02 0 1 1 1.44-1.44l2.82 2.82a1.12 1.12 0 0 1 0 1.58l-2.82 2.82a1.02 1.02 0 0 1-1.44-1.44l1.14-1.15h-5.53v5.53l1.15-1.14a1.02 1.02 0 0 1 1.44 1.44l-2.82 2.82a1.12 1.12 0 0 1-1.59 0L8.4 18.85a1.02 1.02 0 1 1 1.44-1.44l1.15 1.14v-5.53H5.45l1.14 1.15a1.02 1.02 0 1 1-1.44 1.44L2.33 12.8a1.12 1.12 0 0 1 0-1.58l2.82-2.82a1.02 1.02 0 0 1 1.44 1.44l-1.14 1.15h5.53V5.45L9.83 6.59a1.02 1.02 0 0 1-1.44 0Z\" /></svg>
</button>
<button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M7.33 8h-.77v10.4c0 .42.16.83.45 1.13.3.3.69.47 1.1.47h7.78c.41 0 .8-.17 1.1-.47.3-.3.45-.7.45-1.13V8H7.34Zm3.11 9.6H8.9v-7.2h1.55v7.2Zm4.67 0h-1.55v-7.2h1.55v7.2Zm.48-12L14.33 4H9.67L8.4 5.6H5v1.6h14V5.6h-3.4Z\"/></svg>
</button>
<button class=\"btn attach__element__button attach__element__rotate\" type=\"button\" data-button-rotate data-media-rotater-button>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M3.86 18.46a8.98 8.98 0 0 0 10.74 2.8c.61-.28.74-1.1.27-1.57l-.05-.05a1 1 0 0 0-1.1-.19A7 7 0 0 1 5.19 9.1 6.95 6.95 0 0 1 11 6.03V7.8c0 .45.54.67.86.36l2.79-2.79a.5.5 0 0 0 0-.7l-2.8-2.8a.5.5 0 0 0-.85.35v1.8a8.98 8.98 0 0 0-7.14 14.45Z\"/><path d=\"M17.7 7.71a1 1 0 0 0-1.41 0L11.7 12.3a1 1 0 0 0 0 1.41l4.59 4.6a1 1 0 0 0 1.41 0l4.59-4.6a1 1 0 0 0 0-1.4L17.7 7.7Z\" /></svg>
</button>
<svg class=\"attach__element__progress\" data-progress width=\"100\" height=\"101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#F7901D\"/>
<circle data-progress-animate cx=\"50\" cy=\"50\" r=\"47\" transform=\"rotate(0 0 0)\" fill=\"none\" stroke-dashoffset=\"314\" stroke-dasharray=\"314\" stroke=\"#F7901D\" stroke-width=\"6\" />
<circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"#ffffff\"/>
<text data-progress-value x=\"33\" y=\"55\" font-family=\"Verdana\" font-size=\"20\" fill=\"#F7901D\">0%</text>
</svg>
</div>
</template>
<div class=\"attach attach--empty\" id=\"photo_list\"></div>
<div class=\"attach__add\">
<input
type=\"file\"
class=\"visually_hidden\"
id=\"profile-photo-input\"
multiple=\"\"
style=\"position:absolute;left:-999999px\"
accept=\"image/jpg,image/jpeg\"
data-url=\"";
// line 934
echo twig_escape_filter($this->env, (isset($context["photo_media_upload_url"]) || array_key_exists("photo_media_upload_url", $context) ? $context["photo_media_upload_url"] : (function () { throw new RuntimeError('Variable "photo_media_upload_url" does not exist.', 934, $this->source); })()), "html", null, true);
echo "\"
data-type=\"photo\"
/>
<label class=\"attach__add__label\" for=\"profile-photo-input\">
<svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
<span>Загрузить фото</span>
</label>
</div>
</div>
<p class=\"info\">Загрузите фотографии. Не больше 2500px по большей из сторон и не менее 500px по меньшей. <br>Формат: JPG или PNG</p>
</div>
";
// line 945
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "selfies", [], "any", true, true, false, 945)) {
// line 946
echo " <div class=\"tab selfie\" data-id=\"selfie\">
<div class=\"photos-block\" id=\"selfie-block\">
<div style=\"display:none\" id=\"selfie_widget\">";
// line 948
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.', 948, $this->source); })()), "selfies", [], "any", false, false, false, 948), 'widget');
echo "</div>
<template id=\"template_selfie_element\">
<div class=\"attach__element attach__element--loading\" data-media-rotater-element>
<img class=\"attach__element__photo\" data-image data-media-rotater-target/>
<button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m12 22-4-4h8l-4 4Zm0-20 4 4H8l4-4Zm0 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM2 12l4-4v8l-4-4Zm20 0-4 4V8l4 4Z\" /></svg>
</button>
<button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m19.37 9-1 1.73-12.13-7 1-1.73 3.04 1.75 1.36-.37 4.33 2.5.37 1.37L19.37 9ZM5 19.09v-12h5.07l6.93 4v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Zm2 0h8v-6.8l-5.54-3.2H7v10Z\"/></svg>
</button>
<button class=\"btn attach__element__button attach__element__rotate\" type=\"button\" data-button-rotate data-media-rotater-button>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M19 11h3l-4 4-4-4h3a6 6 0 0 0-6-6l-1 .08V3.06L11 3a8 8 0 0 1 8 8ZM8 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-7L8 7Zm2 11H4V9h3v3h3v6Z\" /></svg>
</button>
<svg class=\"attach__element__progress\" data-progress width=\"100\" height=\"101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#F7901D\"/>
<circle data-progress-animate cx=\"50\" cy=\"50\" r=\"47\" transform=\"rotate(0 0 0)\" fill=\"none\" stroke-dashoffset=\"314\" stroke-dasharray=\"314\" stroke=\"#F7901D\" stroke-width=\"6\" />
<circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"#ffffff\"/>
<text data-progress-value x=\"33\" y=\"55\" font-family=\"Verdana\" font-size=\"20\" fill=\"#F7901D\">0%</text>
</svg>
</div>
</template>
<div class=\"attach attach--empty\" id=\"selfie_list\"></div>
<div class=\"attach__add\">
<input
type=\"file\"
class=\"visually_hidden\"
id=\"profile-selfie-input\"
multiple=\"\"
style=\"position:absolute;left:-999999px\"
accept=\"image/jpg,image/jpeg\"
data-url=\"";
// line 981
echo twig_escape_filter($this->env, (isset($context["selfie_media_upload_url"]) || array_key_exists("selfie_media_upload_url", $context) ? $context["selfie_media_upload_url"] : (function () { throw new RuntimeError('Variable "selfie_media_upload_url" does not exist.', 981, $this->source); })()), "html", null, true);
echo "\"
data-type=\"selfie\"
/>
<label class=\"attach__add__label\" for=\"profile-selfie-input\">
<svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
<span>Загрузить селфи</span>
</label>
</div>
</div>
<p class=\"info\">Загрузите фотографии. Для удобства просмотра желательно что бы размер фотографии был не более 2500рх по большей стороне и не менее 1000рх по больше стороне.<br>Формат изображения: JPG или PNG</p>
</div>
";
}
// line 993
echo " <div class=\"tab video\" data-id=\"video\">
<div class=\"photos-block videos-block\" id=\"video-block\">
<div style=\"display:none\" id=\"video_widget\" data-video-on-progress=\"";
// line 995
echo twig_escape_filter($this->env, (isset($context["videos_in_process"]) || array_key_exists("videos_in_process", $context) ? $context["videos_in_process"] : (function () { throw new RuntimeError('Variable "videos_in_process" does not exist.', 995, $this->source); })()), "html", null, true);
echo "\">";
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.', 995, $this->source); })()), "videos", [], "any", false, false, false, 995), 'widget');
echo "</div>
<template id=\"template_video_element\">
<div class=\"attach__element attach__element--loading attach__element-video\" data-media-rotater-element>
<video class=\"attach__element__video\" data-video data-media-rotater-target ></video>
";
// line 1002
echo " <button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m19.37 9-1 1.73-12.13-7 1-1.73 3.04 1.75 1.36-.37 4.33 2.5.37 1.37L19.37 9ZM5 19.09v-12h5.07l6.93 4v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Zm2 0h8v-6.8l-5.54-3.2H7v10Z\"/></svg>
</button>
<button class=\"attach__element__video__button\" type=\"button\" data-button-play>
<svg class=\"attach__element__video__play\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width=\"64\" height=\"64\" fill=\"none\"><g fill=\"#fff\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" opacity=\".6\"><path d=\"M32 7.332c-13.623 0-24.667 11.044-24.667 24.667 0 13.623 11.044 24.666 24.667 24.666 13.623 0 24.666-11.043 24.666-24.666C56.666 18.376 45.623 7.332 32 7.332ZM3.333 31.999C3.333 16.167 16.168 3.332 32 3.332s28.666 12.834 28.666 28.667c0 15.832-12.834 28.666-28.666 28.666S3.333 47.831 3.333 32Z\"/><path d=\"M25.723 19.569a2 2 0 0 1 2.053.099l16 10.667a2 2 0 0 1 0 3.328l-16 10.667a2 2 0 0 1-3.109-1.665V21.332a2 2 0 0 1 1.056-1.763Zm2.944 5.5v13.86l10.394-6.93-10.394-6.93Z\"/></g></svg>
</button>
<svg class=\"attach__element__progress\" data-progress xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width=\"64\" height=\"64\" fill=\"none\">
<circle cx=\"32\" cy=\"32\" r=\"29\" fill=\"#fff\" opacity=\".5\"/>
<circle data-progress-animate cx=\"32\" cy=\"32\" r=\"27\" stroke=\"#383838\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" stroke-dasharray=\"169.65\" stroke-dashoffset=\"169.65\"/>
<text data-progress-value x=\"22\" y=\"38\" font-size=\"16\" fill=\"#252525\">0%</text>
</svg>
</div>
</template>
<div class=\"attach attach--empty\" id=\"video_list\">
";
// line 1019
if (((isset($context["videos_in_process"]) || array_key_exists("videos_in_process", $context) ? $context["videos_in_process"] : (function () { throw new RuntimeError('Variable "videos_in_process" does not exist.', 1019, $this->source); })()) > 0)) {
// line 1020
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["videos_in_process"]) || array_key_exists("videos_in_process", $context) ? $context["videos_in_process"] : (function () { throw new RuntimeError('Variable "videos_in_process" does not exist.', 1020, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 1021
echo " <div class=\"attach__element__container\">
<div class=\"attach__element attach__element-video\">
<div class=\"item item-processing\">
<svg viewBox=\"0 0 100 100\" width=\"100\" width=\"100\" height=\"100\" fill=\"none\"><path fill=\"#000\" fill-opacity=\".3\" fill-rule=\"evenodd\" d=\"M25 10c-8.284 0-15 6.716-15 15v50c0 8.284 6.716 15 15 15h50c8.284 0 15-6.716 15-15V25c0-8.284-6.716-15-15-15H25Zm33 26c2.206 0 4 1.794 4 4v6.666L70 40v20l-8-6.666V60c0 2.206-1.794 4-4 4H34c-2.206 0-4-1.794-4-4V40c0-2.206 1.794-4 4-4h24Z\" clip-rule=\"evenodd\"/></svg>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1029
echo " ";
}
// line 1030
echo " </div>
<div class=\"attach__add\">
<input
type=\"file\"
class=\"visually_hidden\"
id=\"profile-video-input\"
multiple=\"\"
style=\"position:absolute;left:-999999px\"
accept=\".mp4, .mov\"
data-url=\"";
// line 1040
echo twig_escape_filter($this->env, (isset($context["video_media_upload_url"]) || array_key_exists("video_media_upload_url", $context) ? $context["video_media_upload_url"] : (function () { throw new RuntimeError('Variable "video_media_upload_url" does not exist.', 1040, $this->source); })()), "html", null, true);
echo "\"
data-type=\"video\"
/>
<label class=\"attach__add__label\" for=\"profile-video-input\">
<svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
<span>Загрузить видео</span>
</label>
</div>
</div>
<p class=\"info\">Загрузите видео. До 400 МБ. Mp4, Mov, HEVC</p>
</div>
<div class=\"tab verify-photo\" data-id=\"verify-photo\" id=\"approval_block\">
<div style=\"display:none\" id=\"approval_widget\" data-status=\"";
// line 1054
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1054, $this->source); })()), "approval_status", [], "any", false, false, false, 1054), "vars", [], "any", false, false, false, 1054), "value", [], "any", false, false, false, 1054), "html", null, true);
echo "\">
";
// line 1055
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1055, $this->source); })()), "uploaded_approval_photo", [], "any", false, false, false, 1055), "vars", [], "any", false, false, false, 1055), "data", [], "any", false, false, false, 1055))) {
// line 1056
echo " <img id=\"uploaded_approval_photo\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1056, $this->source); })()), "uploaded_approval_photo", [], "any", false, false, false, 1056), "vars", [], "any", false, false, false, 1056), "data", [], "any", false, false, false, 1056), "profile_media_approval", "357x500", "jpg"), "html", null, true);
echo "\" width=\"100\" height=\"100\"/><video id=\"uploaded_approval_photo\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1056, $this->source); })()), "uploaded_approval_photo", [], "any", false, false, false, 1056), "vars", [], "any", false, false, false, 1056), "data", [], "any", false, false, false, 1056), "profile_media_approval"), "html", null, true);
echo "\" width=\"100\" height=\"100\"></video>
";
}
// line 1058
echo " <div class=\"form-error\">";
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.', 1058, $this->source); })()), "approval_photo", [], "any", false, false, false, 1058), 'errors');
echo "</div>
";
// line 1059
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.', 1059, $this->source); })()), "approval_photo", [], "any", false, false, false, 1059), 'widget', ["attr" => ["class" => "custom-file-input", "data-type" => "verify", "accept" => "image/jpg,image/jpeg", "data-url" => "{{ approval_media_upload_url }}", "style" => "position:absolute;left:-999999px"]]);
// line 1065
echo "
</div>
";
// line 1068
$context["classVerify"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1068, $this->source); })()), "approval_status", [], "any", false, false, false, 1068), "vars", [], "any", false, false, false, 1068), "value", [], "any", false, false, false, 1068)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1068, $this->source); })()), "approval_status", [], "any", false, false, false, 1068), "vars", [], "any", false, false, false, 1068), "value", [], "any", false, false, false, 1068)) : ("NO_ADD"));
// line 1069
echo "
<div class=\"photos-verify-block d-flex\" id=\"approval_list\">
<div class=\"status-block\">
<div class=\"photo\">
<div class=\"empty-image\" id=\"approval_empty\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 1076
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-empty-girl\"></use>
</svg>
</div>
<div class=\"current-image d-none status_image_";
// line 1079
echo twig_escape_filter($this->env, (isset($context["classVerify"]) || array_key_exists("classVerify", $context) ? $context["classVerify"] : (function () { throw new RuntimeError('Variable "classVerify" does not exist.', 1079, $this->source); })()), "html", null, true);
echo "\" id=\"approval_image\">
<img class=\"main\" src=\"\" >
";
// line 1083
echo " </div>
</div>
<div class=\"status attach__approval__";
// line 1085
echo twig_escape_filter($this->env, (isset($context["classVerify"]) || array_key_exists("classVerify", $context) ? $context["classVerify"] : (function () { throw new RuntimeError('Variable "classVerify" does not exist.', 1085, $this->source); })()), "html", null, true);
echo "\" data-t=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1085, $this->source); })()), "approval_status", [], "any", false, false, false, 1085), "vars", [], "any", false, false, false, 1085), "value", [], "any", false, false, false, 1085), "html", null, true);
echo "\" id=\"approval_photo_text\">
<div class=\"status-info status-info-empty\" id=\"status-info-empty\">
<p class=\"colored\">Ваша анкета ещё НЕ подтверждена.</p>
<p class=\"sub\">Рекомендуем загрузить проверочное фото.</p>
</div>
<div class=\"status-info status-info-wait\" id=\"status-info-wait\">
<p class=\"colored\">Ожидает модерации</p>
<p class=\"sub\">Ваша проверочная фотография ожидает подтверждения от администрации сайта.</p>
<p class=\"sub-2\">Проверка может занять до двух дней.<br>Пожалуйста, подождите.</p>
</div>
<div class=\"status-info status-info-rejected\" id=\"status-info-rejected\">
<p class=\"colored\">Фото отклонено</p>
<p class=\"sub\">К сожалению, <strong>Ваша анкета НЕ подтверждена</strong>.</p>
<p class=\"sub-2\">Попробуйте отправить новое фото</p>
</div>
<div class=\"status-info status-info-approved\" id=\"status-info-approved\">
<p class=\"colored d-flex\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 1103
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-approved\"></use>
</svg>
<span>Подтверждено</span>
</p>
<p class=\"sub\">Поздравляем, Ваша анкета подтверждена.</p>
</div>
<div class=\"status-info status-info-wait-second-attempt\" id=\"status-info-wait-second-attempt\">
<p class=\"colored\">Проверяется</p>
<p class=\"sub\">Вы обновили свои фотографии. Знак верификации временно снят до проверки модератором.</p>
<p class=\"sub-2\">Если Вы хотите изменить проверочное фото - загрузите его заново.</p>
</div>
<div class=\"add-block\" id=\"status-info-add\">
<div class=\"add\">
<input class=\"custom-file-input d-none\"
type=\"file\"
id=\"profile-verify-input\"
data-type=\"verify\"
accept=\"image/jpg,image/jpeg\"
data-url=\"";
// line 1122
echo twig_escape_filter($this->env, (isset($context["approval_media_upload_url"]) || array_key_exists("approval_media_upload_url", $context) ? $context["approval_media_upload_url"] : (function () { throw new RuntimeError('Variable "approval_media_upload_url" does not exist.', 1122, $this->source); })()), "html", null, true);
echo "\"
/>
<label class=\"add-photo btn btn-secondary d-flex\" for=\"profile-verify-input\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 1126
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-upload\"></use>
</svg>
<span>Загрузить фото</span>
</label>
</div>
</div>
</div>
</div>
<div class=\"description\">
<p class=\"heading\">Что такое проверочное фото?</p>
<p>Чтобы анкета была с отметкой \"<span class=\"colored-green\">фото проверено</span>\" и показывалась выше непроверенных анкет, <strong>Вам необходимо добавить проверочную фотографию</strong>.</p>
<p>Проверочная фотография - это фотография девушки из анкеты с листком бумаги, на котором от руки написана свежая дата.</p>
<p class=\"colored-red\">Фотошоп, плохое качество фотографии запрещены на проверочной фотографии.</p>
<p>Если Вы добавите новые фотографии к уже проверенной анкете - отметка \"фото проверено\" пропадёт, и Вам нужно будет снова присылать проверочную фотографию.</p>
<p>Если Вы удалите одну или несколько фотографий из уже проверенной анкеты - отметка \"фото проверено\" останется</p>
<div class=\"sale\">
<div class=\"info-box d-flex justify-content-center\">
<svg class=\"icon icon-verify\">
<use xlink:href=\"";
// line 1145
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-approval-check\"></use>
</svg>
<span class=\"info-box-center d-flex\">
<span class=\"sale\">10%</span>
<span class=\"text\">скидка за <span class=\"marked\">Проверенные анкеты</span></span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"submit-block\">
";
// line 1160
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.', 1160, $this->source); })()), "submit", [], "any", false, false, false, 1160), 'widget', ["label" => (( // line 1161
(isset($context["editCheck"]) || array_key_exists("editCheck", $context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.', 1161, $this->source); })())) ? ("Сохранить изменения") : ("Сохранить")), "attr" => ["class" => "btn btn-danger"]]);
// line 1164
echo "
</div>
<div>
";
// line 1167
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.', 1167, $this->source); })()), 'form_end');
echo "
</div>
<div
class=\"dialog-container\"
id=\"upload-dialog-id\"
aria-labelledby=\"upload-dialog-title-id\"
aria-hidden=\"true\"
>
<!-- 2. The dialog overlay -->
<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
<!-- 3. The actual dialog -->
<div class=\"dialog-content\" role=\"document\">
<!-- 4. The close button -->
<button class=\"dialog-button\" type=\"button\" data-a11y-dialog-hide aria-label=\"Close dialog\">
×
</button>
<!-- 5. The dialog title -->
<div class=\"dialog-title\" id=\"upload_dialog-title\">upload title</div>
<div class=\"dialog-body\" id=\"upload_dialog-content\">upload content</div>
<!-- 6. Dialog content -->
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 1193
public function block_javascripts($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(), "block", "javascripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 1194
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 1196
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("scripts/uploader", null, "basicConfig");
echo "
<script>
// function is_click_masseur(load = false) {
// const checkBox = document.getElementById(\"is_masseur\");
// let group1 = document.querySelector('.group-1');
// let group2 = document.querySelector('.group-5');
// let group3 = document.querySelector('.group-6');
// let group4 = document.querySelector('.group-7');
// if (!load) {
// if (checkBox.checked == true){
// group1.style.display = \"block\";
// group2.style.display = \"block\";
// group3.style.display = \"block\";
// group4.style.display = \"block\";
// } else {
// group1.style.display = \"none\";
// group2.style.display = \"none\";
// group3.style.display = \"none\";
// group4.style.display = \"none\";
// }
// } else {
// if (checkBox.checked == true) {
// group1.style.display = \"none\";
// group2.style.display = \"none\";
// group3.style.display = \"none\";
// group4.style.display = \"none\";
// }
// }
// }
// is_click_masseur(true);
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 1230
public function block_javascriptss($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(), "block", "javascriptss"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptss"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptss"));
// line 1231
echo " ";
$this->displayParentBlock("javascriptss", $context, $blocks);
echo "
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.4/js/intlTelInput.min.js\"
integrity=\"sha256-Gf8PGNhkyd/4AuPWG7theaqc8hAvHzocloCkDN9pXFw=\"
crossorigin=\"anonymous\"></script>
<script>
\t\tvar input = document.querySelector(\"#phone\"),
\t\t\terrorMsg = document.querySelector(\"#error-msg\"),
\t\t\tvalidMsg = document.querySelector(\"#valid-msg\");
\t\t// here, the index maps to the error code returned from getValidationError - see readme
\t\tvar errorMap = [\"Invalid number\", \"Invalid country code\", \"Too short\", \"Too long\", \"Invalid number\"];
\t\tvar input = document.querySelector(\"#phone\");
\t\tvar iti = window.intlTelInput(input, {
\t\t\tonlyCountries: [\"al\", \"ad\", \"at\", \"by\", \"be\", \"ba\", \"bg\", \"hr\", \"cz\", \"dk\",
\t\t\t\t\"ee\", \"fo\", \"fi\", \"fr\", \"de\", \"gi\", \"gr\", \"va\", \"hu\", \"is\", \"ie\", \"it\", \"lv\",
\t\t\t\t\"li\", \"lt\", \"lu\", \"mk\", \"mt\", \"md\", \"mc\", \"me\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\",
\t\t\t\t\"ru\", \"sm\", \"rs\", \"sk\", \"si\", \"es\", \"se\", \"ch\", \"ua\", \"gb\"],
\t\t\tgeoIpLookup: function(callback) {
\t\t\t\t\$.get('https://ipinfo.io', function() {}, \"jsonp\").always(function(resp) {
\t\t\t\t\tvar countryCode = (resp && resp.country) ? resp.country : \"\";
\t\t\t\t\tcallback(countryCode);
\t\t\t\t});
\t\t\t},
\t\t\tutilsScript: \"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.4/js/utils.js\" // just for formatting/placeholders etc
\t\t});
\t\tvar reset = function() {
\t\t\tinput.classList.remove(\"error\");
\t\t\terrorMsg.innerHTML = \"\";
\t\t\terrorMsg.classList.add(\"hide\");
\t\t\tvalidMsg.classList.add(\"hide\");
\t\t};
\t\t// on blur: validate
\t\tinput.addEventListener('blur', function() {
\t\t\treset();
\t\t\tif (input.value.trim()) {
\t\t\t\tif (iti.isValidNumber()) {
\t\t\t\t\tvalidMsg.classList.remove(\"hide\");
\t\t\t\t} else {
\t\t\t\t\tinput.classList.add(\"error\");
\t\t\t\t\tvar errorCode = iti.getValidationError();
\t\t\t\t\terrorMsg.innerHTML = errorMap[errorCode];
\t\t\t\t\terrorMsg.classList.remove(\"hide\");
\t\t\t\t}
\t\t\t}
\t\t});
\t\t// on keyup / change flag: reset
\t\tinput.addEventListener('change', reset);
\t\tinput.addEventListener('keyup', reset);
\t\t//-----------
\t\tdocument.addEventListener(\"DOMContentLoaded\", function(event) {
\t\t\tdocument.querySelector('.selector-menu .menu').fakeScroll();
\t\t});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 58
public function macro__service_block($__provided_service__ = null, $__service__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"provided_service" => $__provided_service__,
"service" => $__service__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_service_block"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_service_block"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_service_block"));
// line 59
echo "<div class=\"checkbox-form d-flex\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 59, $this->source); })()), "vars", [], "any", false, false, false, 59), "name", [], "any", false, false, false, 59), "html", null, true);
echo "\">
<div class=\"checkbox-block d-flex";
// line 60
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 60, $this->source); })()), "enabled", [], "any", false, false, false, 60), "vars", [], "any", false, false, false, 60), "checked", [], "any", false, false, false, 60)) {
echo " not-selected";
}
echo "\">
<div class=\"conditions d-flex\">
";
// line 62
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["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 62, $this->source); })()), "condition", [], "any", false, false, false, 62), 0, [], "array", false, false, false, 62), 'widget');
echo "
<label for=\"";
// line 63
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 63, $this->source); })()), "condition", [], "any", false, false, false, 63), 0, [], "array", false, false, false, 63), "vars", [], "any", false, false, false, 63), "id", [], "any", false, false, false, 63), "html", null, true);
echo "\" title=\"Включено\" class=\"d-flex include\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-condition-include\"></use>
</svg>
</label>
";
// line 68
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["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 68, $this->source); })()), "condition", [], "any", false, false, false, 68), 1, [], "array", false, false, false, 68), 'widget');
echo "
<label for=\"";
// line 69
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 69, $this->source); })()), "condition", [], "any", false, false, false, 69), 1, [], "array", false, false, false, 69), "vars", [], "any", false, false, false, 69), "id", [], "any", false, false, false, 69), "html", null, true);
echo "\" title=\"По симпатии\" class=\"d-flex sympathy\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 71
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-condition-sympathy\"></use>
</svg>
</label>
";
// line 74
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["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 74, $this->source); })()), "condition", [], "any", false, false, false, 74), 2, [], "array", false, false, false, 74), 'widget');
echo "
<label for=\"";
// line 75
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 75, $this->source); })()), "condition", [], "any", false, false, false, 75), 2, [], "array", false, false, false, 75), "vars", [], "any", false, false, false, 75), "id", [], "any", false, false, false, 75), "html", null, true);
echo "\" title=\"За дополнительную плату\" class=\"d-flex extra\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 77
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-condition-with-price\"></use>
</svg>
</label>
</div>
<div class=\"main-checkbox d-flex\">
";
// line 82
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 82, $this->source); })()), "enabled", [], "any", false, false, false, 82), 'widget');
echo "
<label for=\"";
// line 83
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 83, $this->source); })()), "vars", [], "any", false, false, false, 83), "id", [], "any", false, false, false, 83), "html", null, true);
echo "_enabled\" class=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 83, $this->source); })()), "name", [], "any", false, false, false, 83), [], "left_menu"), "html", null, true);
echo "</label>
</div>
<div class=\"price d-flex\">
<div class=\"input__sub\">
";
// line 87
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 87, $this->source); })()), "extra_charge", [], "any", false, false, false, 87), 'widget', ["attr" => ["class" => "basic-view extra-price input__sub__input", "maxlength" => "6"]]);
// line 90
echo "
<span class=\"input__sub__text\">₽</span>
</div>
</div>
</div>
<div class=\"services__comment services__comment--empty d-none\" data-services-comment>
";
// line 96
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 96, $this->source); })()), "comment", [], "any", false, false, false, 96), 'widget', ["attr" => ["class" => "services__comment__textarea", "placeholder" => "Дополнительная информация по услуге (необязательно)", "data-services-comment-textarea" => "", "maxlength" => "80"]]);
// line 101
echo "
<div class=\"services__comment__count\" data-services-comment-count>80</div>
</div>
";
// line 104
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 104, $this->source); })()), "extra_charge", [], "any", false, false, false, 104), 'errors');
// line 105
echo " <p class=\"field-error services-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 105, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 105, $this->source); })()), "extra_charge", [], "any", false, false, false, 105), "vars", [], "any", false, false, false, 105), "id", [], "any", false, false, false, 105), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 105, $this->source); })()), "html", null, true);
echo "</p>
<div>";
// line 107
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["provided_service"]) || array_key_exists("provided_service", $context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.', 107, $this->source); })()), "service", [], "any", false, false, false, 107), 'widget');
echo "</div>
</div>";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "account/profiles/profile_form.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 2356 => 107, 2344 => 105, 2342 => 104, 2337 => 101, 2335 => 96, 2327 => 90, 2325 => 87, 2316 => 83, 2312 => 82, 2304 => 77, 2299 => 75, 2295 => 74, 2289 => 71, 2284 => 69, 2280 => 68, 2274 => 65, 2269 => 63, 2265 => 62, 2258 => 60, 2253 => 59, 2230 => 58, 2152 => 1231, 2139 => 1230, 2093 => 1196, 2087 => 1194, 2074 => 1193, 2036 => 1167, 2031 => 1164, 2029 => 1161, 2028 => 1160, 2010 => 1145, 1988 => 1126, 1981 => 1122, 1959 => 1103, 1936 => 1085, 1932 => 1083, 1927 => 1079, 1921 => 1076, 1912 => 1069, 1910 => 1068, 1905 => 1065, 1903 => 1059, 1898 => 1058, 1890 => 1056, 1888 => 1055, 1884 => 1054, 1867 => 1040, 1855 => 1030, 1852 => 1029, 1839 => 1021, 1835 => 1020, 1833 => 1019, 1814 => 1002, 1805 => 995, 1801 => 993, 1786 => 981, 1750 => 948, 1746 => 946, 1744 => 945, 1730 => 934, 1694 => 901, 1683 => 893, 1674 => 887, 1670 => 885, 1662 => 880, 1658 => 878, 1656 => 877, 1649 => 873, 1641 => 867, 1635 => 850, 1626 => 849, 1624 => 848, 1619 => 846, 1610 => 845, 1608 => 844, 1603 => 841, 1601 => 836, 1597 => 834, 1595 => 829, 1580 => 816, 1569 => 813, 1565 => 812, 1560 => 811, 1556 => 810, 1547 => 803, 1533 => 802, 1527 => 800, 1524 => 799, 1521 => 798, 1518 => 797, 1515 => 796, 1512 => 795, 1509 => 794, 1506 => 793, 1503 => 792, 1498 => 790, 1494 => 789, 1487 => 788, 1481 => 785, 1477 => 784, 1470 => 783, 1465 => 779, 1456 => 777, 1453 => 776, 1450 => 775, 1446 => 774, 1442 => 773, 1436 => 769, 1427 => 767, 1424 => 766, 1421 => 765, 1417 => 764, 1413 => 763, 1409 => 761, 1407 => 760, 1404 => 759, 1402 => 758, 1399 => 757, 1395 => 756, 1391 => 755, 1388 => 753, 1385 => 752, 1380 => 751, 1377 => 749, 1374 => 748, 1371 => 747, 1354 => 746, 1351 => 745, 1347 => 744, 1344 => 743, 1341 => 742, 1339 => 741, 1336 => 740, 1333 => 739, 1330 => 738, 1328 => 737, 1325 => 736, 1316 => 708, 1307 => 702, 1298 => 696, 1289 => 690, 1272 => 680, 1264 => 679, 1256 => 674, 1252 => 673, 1245 => 669, 1230 => 662, 1228 => 661, 1223 => 659, 1206 => 644, 1191 => 628, 1189 => 627, 1184 => 624, 1182 => 619, 1168 => 613, 1166 => 612, 1160 => 609, 1156 => 608, 1153 => 607, 1142 => 604, 1138 => 603, 1135 => 602, 1131 => 601, 1116 => 596, 1114 => 595, 1110 => 593, 1108 => 589, 1102 => 586, 1094 => 583, 1079 => 578, 1077 => 577, 1074 => 576, 1072 => 572, 1058 => 568, 1056 => 567, 1053 => 566, 1051 => 562, 1037 => 558, 1035 => 557, 1032 => 556, 1030 => 552, 1020 => 545, 1003 => 538, 1001 => 537, 998 => 536, 996 => 532, 982 => 528, 980 => 527, 977 => 526, 975 => 522, 961 => 518, 959 => 517, 956 => 516, 954 => 512, 944 => 505, 926 => 495, 924 => 494, 918 => 490, 916 => 488, 895 => 475, 893 => 474, 887 => 470, 885 => 468, 864 => 455, 862 => 454, 856 => 450, 854 => 448, 833 => 435, 831 => 434, 825 => 430, 823 => 428, 802 => 410, 795 => 406, 778 => 399, 776 => 398, 773 => 397, 771 => 392, 757 => 388, 755 => 387, 752 => 386, 750 => 381, 736 => 377, 734 => 376, 731 => 375, 729 => 370, 715 => 366, 713 => 365, 710 => 364, 708 => 359, 694 => 355, 692 => 354, 689 => 353, 687 => 348, 673 => 344, 671 => 343, 668 => 342, 666 => 337, 655 => 328, 644 => 325, 640 => 324, 637 => 323, 633 => 322, 621 => 313, 617 => 312, 607 => 309, 600 => 305, 596 => 304, 585 => 300, 578 => 296, 574 => 295, 561 => 290, 559 => 289, 550 => 285, 531 => 276, 529 => 275, 518 => 272, 516 => 271, 512 => 269, 510 => 263, 503 => 259, 496 => 255, 489 => 251, 484 => 248, 482 => 243, 477 => 240, 464 => 237, 462 => 236, 459 => 235, 452 => 231, 442 => 223, 435 => 221, 432 => 220, 429 => 217, 427 => 216, 423 => 215, 419 => 213, 417 => 212, 405 => 210, 403 => 209, 399 => 207, 397 => 203, 393 => 202, 379 => 191, 372 => 187, 368 => 186, 364 => 185, 356 => 180, 350 => 176, 344 => 173, 337 => 169, 333 => 167, 327 => 164, 324 => 163, 322 => 162, 309 => 159, 307 => 158, 302 => 155, 299 => 153, 296 => 152, 290 => 149, 286 => 148, 283 => 147, 281 => 146, 278 => 145, 276 => 144, 275 => 141, 271 => 140, 261 => 136, 252 => 134, 246 => 131, 241 => 128, 228 => 127, 203 => 125, 178 => 5, 153 => 3, 139 => 1, 137 => 123, 135 => 55, 134 => 54, 120 => 52, 117 => 50, 115 => 48, 113 => 47, 110 => 44, 109 => 43, 107 => 42, 105 => 41, 103 => 40, 86 => 39, 84 => 37, 82 => 36, 80 => 35, 78 => 34, 76 => 33, 73 => 30, 71 => 29, 69 => 28, 67 => 27, 65 => 26, 63 => 24, 61 => 23, 59 => 22, 57 => 21, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'account/grid.html.twig' %}
{% block name_page %}account-profile-form{% endblock %}
{% block title %}Добавление анкеты - Личный Кабинет{% endblock %}
{# Обработка списка услуг. Получаем список переменных. Название группы и кол-во элементов внутри
array:6 [▼
0 => array:2 [▼
0 => \"Секс\"
1 => 14
]
1 => array:2 [▶]
2 => array:2 [▶]
3 => array:2 [▶]
4 => array:2 [▶]
5 => array:2 [▶]
]
#}
{% set photo_media_upload_url = oneup_uploader_endpoint('profile_photo') %}
{% set selfie_media_upload_url = oneup_uploader_endpoint('profile_selfie') %}
{% set approval_media_upload_url = oneup_uploader_endpoint(feature('approval_by_video') and feature('postprocess_video') ? 'tmp_media' : 'profile_media_approval') %}
{% set video_media_upload_url = oneup_uploader_endpoint('process_queue') %}
{% if approval_media_upload_domain %}
{% set photo_media_upload_url = 'https://' ~ approval_media_upload_domain ~ photo_media_upload_url %}
{% set selfie_media_upload_url = 'https://' ~ approval_media_upload_domain ~ selfie_media_upload_url %}
{% set approval_media_upload_url = 'https://' ~ approval_media_upload_domain ~ approval_media_upload_url %}
{% set video_media_upload_url = 'https://' ~ approval_media_upload_domain ~ video_media_upload_url %}
{% endif %}
{% set services_array = [] %}
{% set count_in_group = 0 %}
{% set current_group = 0 %}
{% set title_group = 0 %}
{% set services = services_list() %}
{% for provided_service in form.provided_services %}
{% set service = services[provided_service.service.vars.value] %}
{% if current_group != service.group %}
{% if not loop.first %}
{% set services_array = services_array|merge([
[title_group,count_in_group]
]) %}
{% endif %}
{% set current_group = service.group %}
{% set title_group = current_group|service_group|trans({}, 'service_groups') %} {#Заголовок группы#}
{% set count_in_group = 0 %}
{% endif %}
{% set count_in_group = count_in_group + 1 %}
{% endfor %}
{% set services_array = services_array|merge([
[title_group,count_in_group]
]) %}
{%- macro _service_block(provided_service, service) -%}
<div class=\"checkbox-form d-flex\" data-id=\"{{ provided_service.vars.name }}\">
<div class=\"checkbox-block d-flex{% if not provided_service.enabled.vars.checked %} not-selected{% endif %}\">
<div class=\"conditions d-flex\">
{{ form_widget(provided_service.condition[0]) }}
<label for=\"{{provided_service.condition[0].vars.id}}\" title=\"Включено\" class=\"d-flex include\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-include\"></use>
</svg>
</label>
{{ form_widget(provided_service.condition[1]) }}
<label for=\"{{provided_service.condition[1].vars.id}}\" title=\"По симпатии\" class=\"d-flex sympathy\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-sympathy\"></use>
</svg>
</label>
{{ form_widget(provided_service.condition[2]) }}
<label for=\"{{provided_service.condition[2].vars.id}}\" title=\"За дополнительную плату\" class=\"d-flex extra\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-with-price\"></use>
</svg>
</label>
</div>
<div class=\"main-checkbox d-flex\">
{{ form_widget(provided_service.enabled) }}
<label for=\"{{ provided_service.vars.id }}_enabled\" class=\"\">{{ service.name|trans({}, 'left_menu') }}</label>
</div>
<div class=\"price d-flex\">
<div class=\"input__sub\">
{{ form_widget(provided_service.extra_charge, {'attr': {
'class': 'basic-view extra-price input__sub__input',
maxlength: '6'
}}) }}
<span class=\"input__sub__text\">₽</span>
</div>
</div>
</div>
<div class=\"services__comment services__comment--empty d-none\" data-services-comment>
{{ form_widget(provided_service.comment, {'attr': {
'class': 'services__comment__textarea',
'placeholder': 'Дополнительная информация по услуге (необязательно)',
'data-services-comment-textarea':'',
'maxlength': '80'
}}) }}
<div class=\"services__comment__count\" data-services-comment-count>80</div>
</div>
{% set error_message = form_errors(provided_service.extra_charge) %}
<p class=\"field-error services-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{ provided_service.extra_charge.vars.id }}_error\">{{ error_message }}</p>
<div>{{ form_widget(provided_service.service) }}</div>
</div>
{%- endmacro -%}
{# {% form_theme form _self %}
{% set city = app.request.attributes.get('city', default_city()) %}
{% block _stations_widget %}
{% for choice in form.vars.choices %}
<div class=\"fake-checkbox-label\" data-city-id=\"{{ choice.data.city.id }}\">
<label class=\"checkbox\" for=\"check{{ loop.index }}\"></label>
<input class=\"input-for-valid\" name=\"{{ form.vars.full_name }}\" type=\"checkbox\" id=\"check{{ loop.index }}\" value=\"{{ choice.value }}\" {% if choice is selectedchoice(value) %}checked{% endif %}>
<label for=\"check{{ loop.index }}\">{{ choice.label }}</label>
</div>
{% endfor %}
{% endblock %} #}
{# переменная отвечает за отметку редактирование это или добавление #}
{% set editCheck = form.vars.value ? true : false %}
{% block specialPageClass %} girl-form{% endblock %}
{% block mainContainer %}
<ul class=\"breadcrumbs\" vocab=\"http://schema.org/\" typeof=\"BreadcrumbList\">
<li class=\"\" property=\"itemListElement\" typeof=\"ListItem\">
<a href=\"{{ path('account') }}\" property=\"item\" typeof=\"WebPage\">Личный кабинет</a>
<meta property=\"position\" content=\"1\">
</li>
<li class=\"last-crumb\"><span>{% if editCheck %}Редактирование анкеты{% else %}Добавить новую анкету{% endif %}</span></li>
</ul>
<h1 class=\"border-line\" role=\"heading\">{% if editCheck %}Редактирование анкеты{% else %}Новая анкета{% endif %}</h1>
<div class=\"girl-form\"
{# data-masseur-id=\"{{ form.is_masseur.vars.id }}\"#}
{#data-masseur-exclude-service-groups=\"{{ form.masseur_exclude_service_groups.vars.value }}\"#}>
{{ form_start(form, {'attr': {
'novalidate': 'novalidate',
'class': 'profile-form',
'data-edit': editCheck ? 'true' : 'false'
}}) }}
{% if form_errors(form) %}
<div class=\"field-error form-error is-flex level\">
<i><img src=\"{{ asset('assets/images/icons/alert.svg','basicConfig') }}\"></i>
<p>{{ form_errors(form) }}</p>
</div>
{% endif %}
{% include 'account/flashes.html.twig' %}
{# Главное фото анкеты + Основная информация + Основные параметры + Расценки + О себе #}
<div class=\"main-block\">
<div class=\"block avatar\">
<h2 class=\"border-line\">Главное фото анкеты</h2>
{% set error_message = form_errors(form.avatar) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.avatar.vars.id }}_error\">{{ error_message }}</p>
<div class=\"photo-data\" style=\"display:none\"></div>
<div class=\"photo\">
{% if form.avatar.vars.value %}
<div class=\"preview\">
<img src=\"{{ responsive_asset(form.avatar.vars.value, 'profile_media_avatar', \"357x500\", \"jpg\") }}\" id=\"avatar_preview\">
</div>
{% else %}
<div class=\"empty-image\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-empty-girl\"></use>
</svg>
</div>
<div class=\"preview invisible\">
<img data-src=\"{{ responsive_asset(form.avatar.vars.value, 'profile_media_avatar', \"357x500\", \"jpg\") }}\" id=\"avatar_preview\">
</div>
{% endif %}
</div>
<div class=\"upload-photo\">
<p>Рекомендованный размер: 500х700px.</p>
<div class=\"button\">
{{ form_widget(form.avatar) }}
<input type=\"file\"
id=\"set_avatar\"
style=\"position:absolute;left:-999999px\"
accept=\"image/jpg,image/jpeg\"
data-url=\"{{ oneup_uploader_endpoint('profile_media_avatar') }}\"
data-id=\"{{ form.avatar.vars.id }}\"
data-original-path=\"{{ responsive_media_base_url }}\"
data-type=\"avatar\">
<label class=\"btn btn-secondary d-flex\" for=\"set_avatar\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-profile\"></use>
</svg>
<span>Загрузить аватар</span>
</label>
</div>
</div>
</div>
<div class=\"block main-information\">
<h2 class=\"border-line\">Основная информация</h2>
<div class=\"field\">
<div class=\"wrap d-flex\">
<label class=\"name\" for=\"{{ form.name.vars.id }}\">Имя:</label>
{{ form_widget(form.name, {'attr': {
'class': 'basic-view',
'maxlength': '30',
'placeholder': 'Введите имя'
}}) }}
</div>
{% set error_message = form_errors(form.name) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.name.vars.id }}_error\">{{ error_message }}</p>
</div>
{% if form.city is defined %}
<div class=\"field\">
<div class=\"wrap d-flex\">
<label class=\"name\" for=\"{{ form.name.vars.id }}\">Город:</label>
{% if editCheck %}
{{ form_widget(form.city, {'attr': {
'class': 'basic-view disabled',
\"disabled\": \"disabled\"
}}) }}
<input type=\"hidden\" name=\"{{form.city.vars.name}}\" value=\"{{form.city.vars.value}}\">
{% else %}
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
{{ form_widget(form.city) }}
</div>
</div>
{% endif %}
</div>
{% set error_message = form_errors(form.city) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.city.vars.id }}_error\">{{ error_message }}</p>
</div>
{% endif %}
<div class=\"field\">
<div class=\"wrap d-flex phone-block\">
<label class=\"name\" for=\"phone_number\">Телефон:</label>
{{ form_widget(form.phone_number, {'attr': {
'class': 'basic-view',
'maxlength': '20',
'minlength': '11',
'placeholder': '+7 (___) ___ __ __'
}}) }}
<div class=\"additional d-flex\">
<div class=\"checkbox-form\">
{{ form_widget(form.messengers.telegram) }}
<label for=\"messengers_telegram\" class=\"level\">Telegram</label>
</div>
<div class=\"checkbox-form\">
{{ form_widget(form.messengers.whatsapp) }}
<label for=\"messengers_whatsapp\" class=\"level\">WhatsApp</label>
</div>
</div>
<div class=\"messengers__tg{{ form.messengers.telegram.vars.checked ? ' show' : '' }}\" id=\"messengers-telegram-root\">
<label for=\"messengers_telegram_username\">Юзернейм Телеграм:</label>
<div class=\"messengers__tg-wrap\">
<span class=\"messengers__tg-pre\">@</span>
{{ form_widget(form.messengers.telegram_username, {'attr': {
'class': 'messengers__tg-input basic-view',
'minlength': '5',
'maxlength': '32',
'placeholder': '',
'pattern': '[A-Za-z0-9_]{5,32}'
}}) }}
</div>
{% set error_message = form_errors(form.messengers.telegram_username) %}
<p class=\"field-error for-messengers{% if error_message|length > 0 %} show{% endif %}\" id=\"messengers_error\">{{ error_message }}</p>
</div>
</div>
{% set error_message = form_errors(form.phone_number) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.phone_number.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field time-to-call\">
<label class=\"name\">Время для звонка:</label>
<div class=\"wrap d-flex\">
<div class=\"invisible\">
<input type=\"radio\" name=\"time-to-call\" id=\"time-all\">
<label for=\"time-all\" class=\"level\">Круглосуточно</label>
</div>
<div class=\"wrap {% if form_errors(form.phone_call_restrictions.time_from) %} have-error{% endif %}\">
<div class=\"radiobox-form invisible\">
<input type=\"radio\" name=\"time-to-call\" id=\"time-sep\">
<label for=\"time-sep\" class=\"\">В указанный промежуток времени:</label>
{% set error_message = form_errors(form.phone_call_restrictions.time_from) %}
<p class=\"field-error for-time{% if error_message|length > 0 %} show{% endif %}\" id=\"time-sep_error\">{{ error_message }}</p>
</div>
<div class=\"time-to-call-cell d-flex\">
<span>с</span>
<input type=\"number\" class=\"basic-view\"
id=\"{{form.phone_call_restrictions.time_from.vars.id}}\"
name=\"{{form.phone_call_restrictions.time_from.vars.full_name}}\"
placeholder=\"0\"
min=\"0\"
max=\"24\"
{% if editCheck %}value=\"{{form.phone_call_restrictions.time_from.vars.value}}\"{% endif %}>
<span>до</span>
<input type=\"number\"
class=\"basic-view\"
id=\"{{form.phone_call_restrictions.time_to.vars.id}}\"
name=\"{{form.phone_call_restrictions.time_to.vars.full_name}}\"
placeholder=\"24\"
min=\"0\"
max=\"24\"
{% if editCheck %}value=\"{{form.phone_call_restrictions.time_to.vars.value}}\"{% endif %}>
</div>
<div class=\"time-to-call-cell-hide invisible\">
{{ form_widget(form.phone_call_restrictions.time_from) }}
{{ form_widget(form.phone_call_restrictions.time_to) }}
</div>
</div>
</div>
</div>
<div class=\"field answer-only\">
<div class=\"wrap d-flex\">
<label class=\"name\">Отвечаю на:</label>
<div class=\"additional d-flex\">
{% for i in form.phone_call_restrictions.answering_to %}
<div class=\"checkbox-form\">
{{ form_widget(i) }}
<label for=\"{{ i.vars.id }}\" class=\"\">{{ i.vars.label|trans({}, 'phone_call_restrictions') }}</label>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
<div class=\"block main-parameters\">
<h2 class=\"border-line\">Основные параметры</h2>
<div class=\"input-group\">
<div class=\"field\">
<label>Возраст:</label>
{{ form_widget(form.person_parameters.age, {'attr': {
'class': 'basic-view',
'min': '18',
'max': '100',
'placeholder': 'лет'
}}) }}
{% set error_message = form_errors(form.person_parameters.age) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.age.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field\">
<label>Вес:</label>
{{ form_widget(form.person_parameters.weight, {'attr': {
'class': 'basic-view',
'placeholder': 'кг',
'min': '25',
'max': '250'
}}) }}
{% set error_message = form_errors(form.person_parameters.weight) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.weight.vars.id }}_error\">{{ form_errors(form.person_parameters.weight) }}</p>
</div>
<div class=\"field\">
<label>Одежда:</label>
{{ form_widget(form.person_parameters.cloth_size, {'attr': {
'class': 'basic-view',
'placeholder': 'Размер',
'min': '38',
'max': '80'
}}) }}
{% set error_message = form_errors(form.person_parameters.cloth_size) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.cloth_size.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field\">
<label>Рост:</label>
{{ form_widget(form.person_parameters.height, {'attr': {
'class': 'basic-view',
'placeholder': 'см',
'min': '120',
'max': '220'
}}) }}
{% set error_message = form_errors(form.person_parameters.height) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.height.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field\">
<label>Грудь:</label>
{{ form_widget(form.person_parameters.breast_size, {'attr': {
'class': 'basic-view',
'placeholder': 'Размер',
'min': '1',
'max': '12'
}}) }}
{% set error_message = form_errors(form.person_parameters.breast_size) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.breast_size.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field\">
<label>Обувь:</label>
{{ form_widget(form.person_parameters.shoes_size, {'attr': {
'class': 'basic-view',
'placeholder': 'Размер',
'min': '33',
'max': '48'
}}) }}
{% set error_message = form_errors(form.person_parameters.shoes_size) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.shoes_size.vars.id }}_error\">{{ error_message }}</p>
</div>
</div>
<div class=\"checkboxes\">
<div class=\"field d-flex\">
<div class=\"additional d-flex\">
<div class=\"checkbox-form\">
{{ form_widget(form.person_parameters.has_tattoo, {'attr': {}}) }}
<label for=\"person_parameters_has_tattoo\" class=\"\">Тату</label>
</div>
<div class=\"checkbox-form\">
{{ form_widget(form.person_parameters.has_piercing, {'attr': {}}) }}
<label for=\"person_parameters_has_piercing\" class=\"\">Пирсинг</label>
</div>
</div>
</div>
</div>
<div class=\"dropdown-elements\">
<div class=\"field\">
<div class=\"wrap is-flex level\">
<label class=\"name\">Национальность:</label>
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
{{ form_widget(form.person_parameters.nationality, {'attr': {
'class': 'basic-view',
}}) }}
</div>
</div>
</div>
{% set error_message = form_errors(form.person_parameters.nationality) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
</div>
<div class=\"field\">
<div class=\"wrap is-flex level\">
<label class=\"name\">Телосложение:</label>
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
{{ form_widget(form.person_parameters.body_type, {'attr': {
'class': 'basic-view',
}}) }}
</div>
</div>
</div>
{% set error_message = form_errors(form.person_parameters.body_type) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
</div>
<div class=\"field\">
<div class=\"wrap is-flex level\">
<label class=\"name\">Цвет волос:</label>
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
{{ form_widget(form.person_parameters.hair_color, {'attr': {
'class': 'basic-view',
}}) }}
</div>
</div>
</div>
{% set error_message = form_errors(form.person_parameters.hair_color) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
</div>
<div class=\"field\">
<div class=\"wrap is-flex level\">
<label class=\"name\">Интимная стрижка:</label>
<div class=\"info selector\">
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\" data-noempty=\"true\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
{{ form_widget(form.person_parameters.private_haircut, {'attr': {
'class': 'basic-view',
}}) }}
</div>
</div>
</div>
{% set error_message = form_errors(form.person_parameters.private_haircut) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
</div>
</div>
</div>
<div class=\"block prices\">
<h2 class=\"border-line\">Расценки</h2>
<div class=\"wrap d-flex\">
<div class=\"apartments\">
<h3>
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-house\"></use>
</svg>
<span>Апартаменты</span>
</h3>
<div class=\"input-group d-flex\">
<div class=\"field\">
<label>1 час:</label>
{{ form_widget(form.apartments_pricing.one_hour_price, {'attr': {
'class': 'basic-view',
'min': '1',
maxlength: '6'
}}) }}
{% set error_message = form_errors(form.apartments_pricing.one_hour_price) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.apartments_pricing.one_hour_price.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field\">
<label>2 часа:</label>
{{ form_widget(form.apartments_pricing.two_hours_price, {'attr': {
'class': 'basic-view',
'min': '1',
maxlength: '6'
}}) }}
{% set error_message = form_errors(form.apartments_pricing.two_hours_price) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.apartments_pricing.two_hours_price.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field\">
<label>Ночь:</label>
{{ form_widget(form.apartments_pricing.night_price, {'attr': {
'class': 'basic-view',
'min': '1',
maxlength: '6'
}}) }}
{% set error_message = form_errors(form.apartments_pricing.night_price) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.apartments_pricing.night_price.vars.id }}_error\">{{ error_message }}</p>
</div>
</div>
</div>
<div class=\"takeout\">
<h3>
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-car\"></use>
</svg>
<span>Выезд</span>
</h3>
<div class=\"input-group d-flex\">
<div class=\"field\">
<label>1 час:</label>
{{ form_widget(form.take_out_pricing.one_hour_price, {'attr': {
'class': 'basic-view',
'min': '1',
maxlength: '6'
}}) }}
{% set error_message = form_errors(form.take_out_pricing.one_hour_price) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.take_out_pricing.one_hour_price.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field\">
<label>2 часа:</label>
{{ form_widget(form.take_out_pricing.two_hours_price, {'attr': {
'class': 'basic-view',
'min': '1',
maxlength: '6'
}}) }}
{% set error_message = form_errors(form.take_out_pricing.two_hours_price) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.take_out_pricing.two_hours_price.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"field\">
<label>Ночь:</label>
{{ form_widget(form.take_out_pricing.night_price, {'attr': {
'class': 'basic-view',
'min': '1',
maxlength: '6'
}}) }}
{% set error_message = form_errors(form.take_out_pricing.night_price) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.take_out_pricing.night_price.vars.id }}_error\">{{ error_message }}</p>
</div>
</div>
</div>
</div>
<div class=\"express{% if not form.express_pricing.provided.vars.checked %} no-ex1press{% endif %}\">
<div class=\"wrap\">
<div class=\"field\">
{{ form_widget(form.express_pricing.provided) }}
<label for=\"express_pricing_provided\" class=\"level\">Есть экспресс</label>
</div>
{{ form_widget(form.express_pricing.price, {'attr': {
'class': 'express-price basic-view',
'min': '1',
maxlength: '6'
}}) }}
</div>
{% set error_message = form_errors(form.express_pricing.price) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.express_pricing.price.vars.id }}_error\">{{ error_message }}</p>
</div>
<div class=\"services-special\">
<h3>Выезд:</h3>
<div class=\"services-list\">
{% for take_out_location in form.take_out_pricing.locations %}
<div class=\"checkbox-form\">
{{ form_widget(take_out_location) }}
<label for=\"{{ take_out_location.vars.id }}\" class=\"\">{{ take_out_location.vars.label|trans({}, 'take_out_location') }}</label>
</div>
{% endfor %}
<div class=\"checkbox-form\">
{{ form_widget(form.car_pricing.provided) }}
<label for=\"{{ form.car_pricing.provided.vars.id }}\" class=\"\">В машине</label>
</div>
</div>
{% set error_message = form_errors(form.take_out_pricing.locations) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
</div>
</div>
<div class=\"block about\">
<h2 class=\"border-line\">О себе</h2>
<div class=\"textarea\">
{{ form_widget(form.about, {'attr': {
'class': 'basic-view',
'placeholder': 'Напишите о себе',
'maxlength': '3000',
'minlength': '100'
}}) }}
</div>
<p class=\"info\">Напишите о себе (минимум 100 символов):</p>
{% set error_message = form_errors(form.about) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.about.vars.id }}_error\">{{ error_message }}</p>
</div>
</div>
{#<div class=\"additional-info masseur\">
<div class=\"field is-flex level\">
<div class=\"additional\">
<div class=\"checkbox-form level\">
{{ form_widget(form.is_masseur, {'attr': {}}) }}
<label for=\"is_masseur\" class=\"level\">Массажистка</label>
</div>
<p>Анкета будет показываться только в разделе \"Массажистки\"</p>
</div>
</div>
</div>#}
<div class=\"block map-block\">
<h2 class=\"border-line\">Расположение</h2>
<div class=\"metro d-flex\" id=\"metro-choice\">
<div class=\"info selector\">
<p>Выберите станции метро (максимум 3 станции):</p>
<div class=\"selector-block\">
<button class=\"\"
type=\"button\"
data-toggle=\"selector\"
data-limit=\"3\"
data-empty-text=\"Выберите станции метро\"></button>
<div class=\"tags\"></div>
</div>
<div class=\"form-data\">
{{ form_widget(form.stations) }}
</div>
{% set error_message = form_errors(form.stations) %}
<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
</div>
</div>
<div class=\"metro-selected-list\" id=\"metro-selected\">
</div>
{{ form_widget(form.primary_station) }}
<div class=\"map\">
<div style=\"display:none\">
{{ form_widget(form.map_coordinate.latitude) }}
{{ form_widget(form.map_coordinate.longitude) }}
</div>
<div class=\"info\">
<div class=\"map-wrap\"
id=\"ya-map\"
data-lat=\"{% if city.mapCoordinate.latitude %}{{city.mapCoordinate.latitude}}{% else %}55.752{% endif %}\"
data-lon=\"{% if city.mapCoordinate.longitude %}{{city.mapCoordinate.longitude}}{% else %}37.61{% endif %}\"></div>
</div>
</div>
</div>
<div class=\"block services-block\">
<h2 class=\"border-line\">Предоставляемые услуги</h2>
<ul class=\"about-services d-flex\">
<li class=\"d-flex include\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-include\"></use>
</svg>
<span>- включено в стоимость</span>
</li>
<li class=\"d-flex sympathy\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-sympathy\"></use>
</svg>
<span>- по настроению</span>
</li>
<li class=\"d-flex price\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-with-price\"></use>
</svg>
<span>- за дополнительную плату</span>
</li>
<li class=\"d-flex not-include\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-with-price\"></use>
</svg>
<span>- услуга не предоставляется</span>
</li>
</ul>
<div class=\"services\">
{# Пояснения
Эти открывающие дивы создаются вначале итерации. Но чтобы их закрыть, проще всего пихать закрывающий див при создании нового блока.
Так запутанней, но так легче работать.
<div class=\"group-6\"> <------- этот див открывает группу. Он создается при первой проверке. Там же он закрывается.
<p>Разное</p>
<div class=\"is-flex level\"> <------ этот див открывает блок чекбоксов. Тоже создается при первой проверке в цикле. закрывается тоже вначале цикла.
<div class=\"checkbox-form level\">
<input type=\"checkbox\" id=\"services_42\" name=\"services[]\" service-group=\"6\" class=\"input-for-valid\" value=\"42\">
<label class=\"b-checkbox__text\" for=\"services_42\">Ролевые игры</label>
</div>
<div class=\"checkbox-form level\">
<input type=\"checkbox\" id=\"services_43\" name=\"services[]\" service-group=\"6\" class=\"input-for-valid\" value=\"43\">
<label class=\"b-checkbox__text\" for=\"services_43\">Фото/видео съемка</label>
</div>
---------------------------------------------
</div>
</div>
#}
{% set current_group = 0 %}
{% set count_in_group = 0 %}
{% set title_group = 0 %}
{% set initional_group_2 = 0 %}
{% set group_2_minet = [] %}
{% set group_2_okon = [] %}
{% set group_2_okon_trigger = ['Окончание на грудь','Окончание на лицо','Окончание в рот'] %} {# Слова триггеры в 2 категории для блока Окончание. Все остальные уйдут в минет #}
{% for provided_service in form.provided_services %}
{% set service = services[provided_service.service.vars.value] %}
{% if current_group != service.group %}
{# Первый див это окончание блока checkbox-group предыдущего. Второй - тоже самое но для обёртки группы #}
{% if not loop.first and current_group != 2 %}</div></div>{% endif %}
{% set current_group = service.group %}
{# Нужно обернуть блок Заголовок+его чекбоксы в див #}
{% set title_group = current_group|service_group|trans({}, 'service_groups') %} {#Заголовок группы#}
{% set count_in_group = (services_array[current_group-1][1]/2)|round %} {#Кол-во элементов в группе#}
{% if current_group == 2 %}
{% elseif current_group == 3 %}
<div class=\"group-2-1\" data-group=\"2-1\">
<h3>Минет</h3>
<div class=\"checkbox-group count-{{ count_in_group }}\">
{% for data in group_2_minet %}
{% set _form = data.form %}
{% set _service = data.service %}
{{ _self._service_block(_form, _service) }}
{% endfor %}
</div>
</div>
<div class=\"group-2-2\" data-group=\"2-2\">
<h3>Окончание</h3>
<div class=\"checkbox-group count-{{ count_in_group }}\">
{% for data in group_2_okon %}
{% set _form = data.form %}
{% set _service = data.service %}
{{ _self._service_block(_form, _service) }}
{% endfor %}
</div>
</div>
{# Тут выводится третья категория #}
<div class=\"group-{{ current_group }}\" data-group=\"{{ current_group }}\">
<h3>{{ title_group }}</h3>
<div class=\"checkbox-group count-{{ count_in_group }}\">
{% else %}
<div class=\"group-{{ current_group }}\" data-group=\"{{ current_group }}\">
<h3>{{ title_group }}</h3>
<div class=\"checkbox-group count-{{ count_in_group }}\">
{% endif %}
{% endif %}
{% if current_group == 2 %}
{% if service.name|trans({}, 'left_menu') in group_2_okon_trigger %}
{% set group_2_okon = group_2_okon|merge([{form:provided_service, service: service}]) %}
{% else %}
{% set group_2_minet = group_2_minet|merge([{form:provided_service, service: service}]) %}
{% endif %}
{% else %}
{{ _self._service_block(provided_service, service) }}
{% endif %}
{% endfor %}
</div>
</div>
</div>
<div class=\"services-special\">
<h3>Услуги для:</h3>
<div class=\"services-list d-flex\">
{% for client_type in form.client_types %}
<div class=\"checkbox-form{{ client_type.vars.label == 'TRANS' ? ' d-none': '' }}\">
{{ form_widget(client_type) }}
<label for=\"{{ client_type.vars.id }}\" class=\"\">{{ client_type.vars.label|trans({}, 'client_types') }}</label>
</div>
{% endfor %}
</div>
</div>
</div>
<div class=\"block additional-info\">
<h2 class=\"border-line\">Дополнительная информация</h2>
<div class=\"age-prevent\">
<div class=\"field d-flex\">
<div class=\"text d-flex\">
<input type=\"checkbox\" id=\"age-prevent\">
<label for=\"age-prevent\">Ограничение по возрасту партнёра:</label>
</div>
<div class=\"age-prevent-cell d-flex\">
<span>от</span>
{{ form_widget(form.client_restrictions.min_age, {'attr': {
'class': 'basic-view',
'min': '18',
'max': '100',
'placeholder': '18'
}}) }}
<span>до</span>
{{ form_widget(form.client_restrictions.max_age, {'attr': {
'class': 'basic-view',
'min': '18',
'max': '100',
'placeholder': '100'
}}) }}
</div>
</div>
{% set error_message = form_errors(form.client_restrictions.min_age) %}
<p class=\"field-error field-error-min{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.client_restrictions.min_age.vars.id }}_error\">
Ошибка ввода минимального значения: {{ error_message }}
</p>
{% set error_message = form_errors(form.client_restrictions.max_age) %}
<p class=\"field-error field-error-max{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.client_restrictions.max_age.vars.id }}_error\">
Ошибка ввода максимального значения: {{ error_message }}</p>
</div>
{# <div class=\"has-friend\">
<div class=\"checkbox-form level\">
<input type=\"checkbox\" id=\"has-friend\">
<label for=\"has-friend\" class=\"level\">Есть подруга</label>
</div>
<a href=\"\">Пригласить подругу</a>
</div>
<div class=\"work-in-saloon\">
<div class=\"checkbox-form level\">
<input type=\"checkbox\" id=\"work-in-saloon\">
<label for=\"work-in-saloon\" class=\"level\">Работаю в салоне</label>
</div>
</div> #}
</div>
<div class=\"block media-block\">
<div class=\"tabs-block d-flex\" id=\"media-tabs\">
<div class=\"tab-header d-flex\">
<button type=\"button\" class=\"btn d-flex photo active\" data-toggle=\"photo\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-photo\"></use>
</svg>
<span>Фото</span>
</button>
{% if form.selfies is defined %}
<button type=\"button\" class=\"btn d-flex selfie\" data-toggle=\"selfie\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-selfie\"></use>
</svg>
<span>Селфи</span>
</button>
{% endif %}
<button type=\"button\" class=\"btn d-flex video\" data-toggle=\"video\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-video\"></use>
</svg>
<span>Видео</span>
</button>
<button type=\"button\" class=\"btn d-flex verify-photo\" data-toggle=\"verify-photo\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-approved\"></use>
</svg>
<span>Проверочное фото</span>
</button>
</div>
<div class=\"tab-content\">
<div class=\"tab photo active\" data-id=\"photo\">
<div class=\"photos-block\" id=\"photo-block\">
<div style=\"display:none\" id=\"photo_widget\">{{ form_widget(form.photos) }}</div>
<template id=\"template_photo_element\">
<div class=\"attach__element attach__element--loading\" data-media-rotater-element>
<img class=\"attach__element__photo\" data-image data-media-rotater-target/>
<button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M8.39 6.6a1.02 1.02 0 0 1 0-1.45l2.81-2.82a1.12 1.12 0 0 1 1.6 0l2.81 2.82a1.02 1.02 0 1 1-1.44 1.44l-1.15-1.14v5.53h5.53l-1.14-1.15a1.02 1.02 0 1 1 1.44-1.44l2.82 2.82a1.12 1.12 0 0 1 0 1.58l-2.82 2.82a1.02 1.02 0 0 1-1.44-1.44l1.14-1.15h-5.53v5.53l1.15-1.14a1.02 1.02 0 0 1 1.44 1.44l-2.82 2.82a1.12 1.12 0 0 1-1.59 0L8.4 18.85a1.02 1.02 0 1 1 1.44-1.44l1.15 1.14v-5.53H5.45l1.14 1.15a1.02 1.02 0 1 1-1.44 1.44L2.33 12.8a1.12 1.12 0 0 1 0-1.58l2.82-2.82a1.02 1.02 0 0 1 1.44 1.44l-1.14 1.15h5.53V5.45L9.83 6.59a1.02 1.02 0 0 1-1.44 0Z\" /></svg>
</button>
<button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M7.33 8h-.77v10.4c0 .42.16.83.45 1.13.3.3.69.47 1.1.47h7.78c.41 0 .8-.17 1.1-.47.3-.3.45-.7.45-1.13V8H7.34Zm3.11 9.6H8.9v-7.2h1.55v7.2Zm4.67 0h-1.55v-7.2h1.55v7.2Zm.48-12L14.33 4H9.67L8.4 5.6H5v1.6h14V5.6h-3.4Z\"/></svg>
</button>
<button class=\"btn attach__element__button attach__element__rotate\" type=\"button\" data-button-rotate data-media-rotater-button>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M3.86 18.46a8.98 8.98 0 0 0 10.74 2.8c.61-.28.74-1.1.27-1.57l-.05-.05a1 1 0 0 0-1.1-.19A7 7 0 0 1 5.19 9.1 6.95 6.95 0 0 1 11 6.03V7.8c0 .45.54.67.86.36l2.79-2.79a.5.5 0 0 0 0-.7l-2.8-2.8a.5.5 0 0 0-.85.35v1.8a8.98 8.98 0 0 0-7.14 14.45Z\"/><path d=\"M17.7 7.71a1 1 0 0 0-1.41 0L11.7 12.3a1 1 0 0 0 0 1.41l4.59 4.6a1 1 0 0 0 1.41 0l4.59-4.6a1 1 0 0 0 0-1.4L17.7 7.7Z\" /></svg>
</button>
<svg class=\"attach__element__progress\" data-progress width=\"100\" height=\"101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#F7901D\"/>
<circle data-progress-animate cx=\"50\" cy=\"50\" r=\"47\" transform=\"rotate(0 0 0)\" fill=\"none\" stroke-dashoffset=\"314\" stroke-dasharray=\"314\" stroke=\"#F7901D\" stroke-width=\"6\" />
<circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"#ffffff\"/>
<text data-progress-value x=\"33\" y=\"55\" font-family=\"Verdana\" font-size=\"20\" fill=\"#F7901D\">0%</text>
</svg>
</div>
</template>
<div class=\"attach attach--empty\" id=\"photo_list\"></div>
<div class=\"attach__add\">
<input
type=\"file\"
class=\"visually_hidden\"
id=\"profile-photo-input\"
multiple=\"\"
style=\"position:absolute;left:-999999px\"
accept=\"image/jpg,image/jpeg\"
data-url=\"{{ photo_media_upload_url }}\"
data-type=\"photo\"
/>
<label class=\"attach__add__label\" for=\"profile-photo-input\">
<svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
<span>Загрузить фото</span>
</label>
</div>
</div>
<p class=\"info\">Загрузите фотографии. Не больше 2500px по большей из сторон и не менее 500px по меньшей. <br>Формат: JPG или PNG</p>
</div>
{% if form.selfies is defined %}
<div class=\"tab selfie\" data-id=\"selfie\">
<div class=\"photos-block\" id=\"selfie-block\">
<div style=\"display:none\" id=\"selfie_widget\">{{ form_widget(form.selfies) }}</div>
<template id=\"template_selfie_element\">
<div class=\"attach__element attach__element--loading\" data-media-rotater-element>
<img class=\"attach__element__photo\" data-image data-media-rotater-target/>
<button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m12 22-4-4h8l-4 4Zm0-20 4 4H8l4-4Zm0 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM2 12l4-4v8l-4-4Zm20 0-4 4V8l4 4Z\" /></svg>
</button>
<button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m19.37 9-1 1.73-12.13-7 1-1.73 3.04 1.75 1.36-.37 4.33 2.5.37 1.37L19.37 9ZM5 19.09v-12h5.07l6.93 4v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Zm2 0h8v-6.8l-5.54-3.2H7v10Z\"/></svg>
</button>
<button class=\"btn attach__element__button attach__element__rotate\" type=\"button\" data-button-rotate data-media-rotater-button>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M19 11h3l-4 4-4-4h3a6 6 0 0 0-6-6l-1 .08V3.06L11 3a8 8 0 0 1 8 8ZM8 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-7L8 7Zm2 11H4V9h3v3h3v6Z\" /></svg>
</button>
<svg class=\"attach__element__progress\" data-progress width=\"100\" height=\"101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#F7901D\"/>
<circle data-progress-animate cx=\"50\" cy=\"50\" r=\"47\" transform=\"rotate(0 0 0)\" fill=\"none\" stroke-dashoffset=\"314\" stroke-dasharray=\"314\" stroke=\"#F7901D\" stroke-width=\"6\" />
<circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"#ffffff\"/>
<text data-progress-value x=\"33\" y=\"55\" font-family=\"Verdana\" font-size=\"20\" fill=\"#F7901D\">0%</text>
</svg>
</div>
</template>
<div class=\"attach attach--empty\" id=\"selfie_list\"></div>
<div class=\"attach__add\">
<input
type=\"file\"
class=\"visually_hidden\"
id=\"profile-selfie-input\"
multiple=\"\"
style=\"position:absolute;left:-999999px\"
accept=\"image/jpg,image/jpeg\"
data-url=\"{{ selfie_media_upload_url }}\"
data-type=\"selfie\"
/>
<label class=\"attach__add__label\" for=\"profile-selfie-input\">
<svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
<span>Загрузить селфи</span>
</label>
</div>
</div>
<p class=\"info\">Загрузите фотографии. Для удобства просмотра желательно что бы размер фотографии был не более 2500рх по большей стороне и не менее 1000рх по больше стороне.<br>Формат изображения: JPG или PNG</p>
</div>
{% endif %}
<div class=\"tab video\" data-id=\"video\">
<div class=\"photos-block videos-block\" id=\"video-block\">
<div style=\"display:none\" id=\"video_widget\" data-video-on-progress=\"{{videos_in_process}}\">{{ form_widget(form.videos) }}</div>
<template id=\"template_video_element\">
<div class=\"attach__element attach__element--loading attach__element-video\" data-media-rotater-element>
<video class=\"attach__element__video\" data-video data-media-rotater-target ></video>
{# <button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m12 22-4-4h8l-4 4Zm0-20 4 4H8l4-4Zm0 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM2 12l4-4v8l-4-4Zm20 0-4 4V8l4 4Z\" /></svg>
</button> #}
<button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
<svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m19.37 9-1 1.73-12.13-7 1-1.73 3.04 1.75 1.36-.37 4.33 2.5.37 1.37L19.37 9ZM5 19.09v-12h5.07l6.93 4v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Zm2 0h8v-6.8l-5.54-3.2H7v10Z\"/></svg>
</button>
<button class=\"attach__element__video__button\" type=\"button\" data-button-play>
<svg class=\"attach__element__video__play\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width=\"64\" height=\"64\" fill=\"none\"><g fill=\"#fff\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" opacity=\".6\"><path d=\"M32 7.332c-13.623 0-24.667 11.044-24.667 24.667 0 13.623 11.044 24.666 24.667 24.666 13.623 0 24.666-11.043 24.666-24.666C56.666 18.376 45.623 7.332 32 7.332ZM3.333 31.999C3.333 16.167 16.168 3.332 32 3.332s28.666 12.834 28.666 28.667c0 15.832-12.834 28.666-28.666 28.666S3.333 47.831 3.333 32Z\"/><path d=\"M25.723 19.569a2 2 0 0 1 2.053.099l16 10.667a2 2 0 0 1 0 3.328l-16 10.667a2 2 0 0 1-3.109-1.665V21.332a2 2 0 0 1 1.056-1.763Zm2.944 5.5v13.86l10.394-6.93-10.394-6.93Z\"/></g></svg>
</button>
<svg class=\"attach__element__progress\" data-progress xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width=\"64\" height=\"64\" fill=\"none\">
<circle cx=\"32\" cy=\"32\" r=\"29\" fill=\"#fff\" opacity=\".5\"/>
<circle data-progress-animate cx=\"32\" cy=\"32\" r=\"27\" stroke=\"#383838\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" stroke-dasharray=\"169.65\" stroke-dashoffset=\"169.65\"/>
<text data-progress-value x=\"22\" y=\"38\" font-size=\"16\" fill=\"#252525\">0%</text>
</svg>
</div>
</template>
<div class=\"attach attach--empty\" id=\"video_list\">
{% if videos_in_process > 0 -%}
{% for i in 1..videos_in_process %}
<div class=\"attach__element__container\">
<div class=\"attach__element attach__element-video\">
<div class=\"item item-processing\">
<svg viewBox=\"0 0 100 100\" width=\"100\" width=\"100\" height=\"100\" fill=\"none\"><path fill=\"#000\" fill-opacity=\".3\" fill-rule=\"evenodd\" d=\"M25 10c-8.284 0-15 6.716-15 15v50c0 8.284 6.716 15 15 15h50c8.284 0 15-6.716 15-15V25c0-8.284-6.716-15-15-15H25Zm33 26c2.206 0 4 1.794 4 4v6.666L70 40v20l-8-6.666V60c0 2.206-1.794 4-4 4H34c-2.206 0-4-1.794-4-4V40c0-2.206 1.794-4 4-4h24Z\" clip-rule=\"evenodd\"/></svg>
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
<div class=\"attach__add\">
<input
type=\"file\"
class=\"visually_hidden\"
id=\"profile-video-input\"
multiple=\"\"
style=\"position:absolute;left:-999999px\"
accept=\".mp4, .mov\"
data-url=\"{{ video_media_upload_url }}\"
data-type=\"video\"
/>
<label class=\"attach__add__label\" for=\"profile-video-input\">
<svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
<span>Загрузить видео</span>
</label>
</div>
</div>
<p class=\"info\">Загрузите видео. До 400 МБ. Mp4, Mov, HEVC</p>
</div>
<div class=\"tab verify-photo\" data-id=\"verify-photo\" id=\"approval_block\">
<div style=\"display:none\" id=\"approval_widget\" data-status=\"{{ form.approval_status.vars.value }}\">
{% if form.uploaded_approval_photo.vars.data is not null %}
<img id=\"uploaded_approval_photo\" src=\"{{ responsive_asset(form.uploaded_approval_photo.vars.data, \"profile_media_approval\", \"357x500\", \"jpg\") }}\" width=\"100\" height=\"100\"/><video id=\"uploaded_approval_photo\" src=\"{{ asset(form.uploaded_approval_photo.vars.data, \"profile_media_approval\") }}\" width=\"100\" height=\"100\"></video>
{% endif %}
<div class=\"form-error\">{{ form_errors(form.approval_photo) }}</div>
{{ form_widget(form.approval_photo, {'attr': {
'class': 'custom-file-input',
'data-type': \"verify\",
'accept':\"image/jpg,image/jpeg\",
'data-url':\"{{ approval_media_upload_url }}\",
'style': \"position:absolute;left:-999999px\"
}}) }}
</div>
{% set classVerify = form.approval_status.vars.value ? form.approval_status.vars.value : 'NO_ADD' %}
<div class=\"photos-verify-block d-flex\" id=\"approval_list\">
<div class=\"status-block\">
<div class=\"photo\">
<div class=\"empty-image\" id=\"approval_empty\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-empty-girl\"></use>
</svg>
</div>
<div class=\"current-image d-none status_image_{{ classVerify }}\" id=\"approval_image\">
<img class=\"main\" src=\"\" >
{# <img class=\"icon rejected\" src=\"{{ asset('assets/images/icons/alert.svg') }}\">
<img class=\"icon\" src=\"{{ asset('assets/images/icons/alert-grey.svg') }}\"> #}
</div>
</div>
<div class=\"status attach__approval__{{ classVerify }}\" data-t=\"{{form.approval_status.vars.value}}\" id=\"approval_photo_text\">
<div class=\"status-info status-info-empty\" id=\"status-info-empty\">
<p class=\"colored\">Ваша анкета ещё НЕ подтверждена.</p>
<p class=\"sub\">Рекомендуем загрузить проверочное фото.</p>
</div>
<div class=\"status-info status-info-wait\" id=\"status-info-wait\">
<p class=\"colored\">Ожидает модерации</p>
<p class=\"sub\">Ваша проверочная фотография ожидает подтверждения от администрации сайта.</p>
<p class=\"sub-2\">Проверка может занять до двух дней.<br>Пожалуйста, подождите.</p>
</div>
<div class=\"status-info status-info-rejected\" id=\"status-info-rejected\">
<p class=\"colored\">Фото отклонено</p>
<p class=\"sub\">К сожалению, <strong>Ваша анкета НЕ подтверждена</strong>.</p>
<p class=\"sub-2\">Попробуйте отправить новое фото</p>
</div>
<div class=\"status-info status-info-approved\" id=\"status-info-approved\">
<p class=\"colored d-flex\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-approved\"></use>
</svg>
<span>Подтверждено</span>
</p>
<p class=\"sub\">Поздравляем, Ваша анкета подтверждена.</p>
</div>
<div class=\"status-info status-info-wait-second-attempt\" id=\"status-info-wait-second-attempt\">
<p class=\"colored\">Проверяется</p>
<p class=\"sub\">Вы обновили свои фотографии. Знак верификации временно снят до проверки модератором.</p>
<p class=\"sub-2\">Если Вы хотите изменить проверочное фото - загрузите его заново.</p>
</div>
<div class=\"add-block\" id=\"status-info-add\">
<div class=\"add\">
<input class=\"custom-file-input d-none\"
type=\"file\"
id=\"profile-verify-input\"
data-type=\"verify\"
accept=\"image/jpg,image/jpeg\"
data-url=\"{{ approval_media_upload_url }}\"
/>
<label class=\"add-photo btn btn-secondary d-flex\" for=\"profile-verify-input\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-upload\"></use>
</svg>
<span>Загрузить фото</span>
</label>
</div>
</div>
</div>
</div>
<div class=\"description\">
<p class=\"heading\">Что такое проверочное фото?</p>
<p>Чтобы анкета была с отметкой \"<span class=\"colored-green\">фото проверено</span>\" и показывалась выше непроверенных анкет, <strong>Вам необходимо добавить проверочную фотографию</strong>.</p>
<p>Проверочная фотография - это фотография девушки из анкеты с листком бумаги, на котором от руки написана свежая дата.</p>
<p class=\"colored-red\">Фотошоп, плохое качество фотографии запрещены на проверочной фотографии.</p>
<p>Если Вы добавите новые фотографии к уже проверенной анкете - отметка \"фото проверено\" пропадёт, и Вам нужно будет снова присылать проверочную фотографию.</p>
<p>Если Вы удалите одну или несколько фотографий из уже проверенной анкеты - отметка \"фото проверено\" останется</p>
<div class=\"sale\">
<div class=\"info-box d-flex justify-content-center\">
<svg class=\"icon icon-verify\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-approval-check\"></use>
</svg>
<span class=\"info-box-center d-flex\">
<span class=\"sale\">10%</span>
<span class=\"text\">скидка за <span class=\"marked\">Проверенные анкеты</span></span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"submit-block\">
{{ form_widget(form.submit, {
'label': editCheck ? 'Сохранить изменения' : 'Сохранить',
'attr': {
'class': 'btn btn-danger'
}}) }}
</div>
<div>
{{ form_end(form) }}
</div>
<div
class=\"dialog-container\"
id=\"upload-dialog-id\"
aria-labelledby=\"upload-dialog-title-id\"
aria-hidden=\"true\"
>
<!-- 2. The dialog overlay -->
<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
<!-- 3. The actual dialog -->
<div class=\"dialog-content\" role=\"document\">
<!-- 4. The close button -->
<button class=\"dialog-button\" type=\"button\" data-a11y-dialog-hide aria-label=\"Close dialog\">
×
</button>
<!-- 5. The dialog title -->
<div class=\"dialog-title\" id=\"upload_dialog-title\">upload title</div>
<div class=\"dialog-body\" id=\"upload_dialog-content\">upload content</div>
<!-- 6. Dialog content -->
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
{{ encore_entry_script_tags('scripts/uploader', null, 'basicConfig') }}
<script>
// function is_click_masseur(load = false) {
// const checkBox = document.getElementById(\"is_masseur\");
// let group1 = document.querySelector('.group-1');
// let group2 = document.querySelector('.group-5');
// let group3 = document.querySelector('.group-6');
// let group4 = document.querySelector('.group-7');
// if (!load) {
// if (checkBox.checked == true){
// group1.style.display = \"block\";
// group2.style.display = \"block\";
// group3.style.display = \"block\";
// group4.style.display = \"block\";
// } else {
// group1.style.display = \"none\";
// group2.style.display = \"none\";
// group3.style.display = \"none\";
// group4.style.display = \"none\";
// }
// } else {
// if (checkBox.checked == true) {
// group1.style.display = \"none\";
// group2.style.display = \"none\";
// group3.style.display = \"none\";
// group4.style.display = \"none\";
// }
// }
// }
// is_click_masseur(true);
</script>
{% endblock %}
{% block javascriptss %}
{{ parent() }}
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.4/js/intlTelInput.min.js\"
integrity=\"sha256-Gf8PGNhkyd/4AuPWG7theaqc8hAvHzocloCkDN9pXFw=\"
crossorigin=\"anonymous\"></script>
<script>
\t\tvar input = document.querySelector(\"#phone\"),
\t\t\terrorMsg = document.querySelector(\"#error-msg\"),
\t\t\tvalidMsg = document.querySelector(\"#valid-msg\");
\t\t// here, the index maps to the error code returned from getValidationError - see readme
\t\tvar errorMap = [\"Invalid number\", \"Invalid country code\", \"Too short\", \"Too long\", \"Invalid number\"];
\t\tvar input = document.querySelector(\"#phone\");
\t\tvar iti = window.intlTelInput(input, {
\t\t\tonlyCountries: [\"al\", \"ad\", \"at\", \"by\", \"be\", \"ba\", \"bg\", \"hr\", \"cz\", \"dk\",
\t\t\t\t\"ee\", \"fo\", \"fi\", \"fr\", \"de\", \"gi\", \"gr\", \"va\", \"hu\", \"is\", \"ie\", \"it\", \"lv\",
\t\t\t\t\"li\", \"lt\", \"lu\", \"mk\", \"mt\", \"md\", \"mc\", \"me\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\",
\t\t\t\t\"ru\", \"sm\", \"rs\", \"sk\", \"si\", \"es\", \"se\", \"ch\", \"ua\", \"gb\"],
\t\t\tgeoIpLookup: function(callback) {
\t\t\t\t\$.get('https://ipinfo.io', function() {}, \"jsonp\").always(function(resp) {
\t\t\t\t\tvar countryCode = (resp && resp.country) ? resp.country : \"\";
\t\t\t\t\tcallback(countryCode);
\t\t\t\t});
\t\t\t},
\t\t\tutilsScript: \"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.4/js/utils.js\" // just for formatting/placeholders etc
\t\t});
\t\tvar reset = function() {
\t\t\tinput.classList.remove(\"error\");
\t\t\terrorMsg.innerHTML = \"\";
\t\t\terrorMsg.classList.add(\"hide\");
\t\t\tvalidMsg.classList.add(\"hide\");
\t\t};
\t\t// on blur: validate
\t\tinput.addEventListener('blur', function() {
\t\t\treset();
\t\t\tif (input.value.trim()) {
\t\t\t\tif (iti.isValidNumber()) {
\t\t\t\t\tvalidMsg.classList.remove(\"hide\");
\t\t\t\t} else {
\t\t\t\t\tinput.classList.add(\"error\");
\t\t\t\t\tvar errorCode = iti.getValidationError();
\t\t\t\t\terrorMsg.innerHTML = errorMap[errorCode];
\t\t\t\t\terrorMsg.classList.remove(\"hide\");
\t\t\t\t}
\t\t\t}
\t\t});
\t\t// on keyup / change flag: reset
\t\tinput.addEventListener('change', reset);
\t\tinput.addEventListener('keyup', reset);
\t\t//-----------
\t\tdocument.addEventListener(\"DOMContentLoaded\", function(event) {
\t\t\tdocument.querySelector('.selector-menu .menu').fakeScroll();
\t\t});
</script>
{% endblock %}
", "account/profiles/profile_form.html.twig", "/app/templates/account/profiles/profile_form.html.twig");
}
}