*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'form_widget' => [$this, 'block_form_widget'], 'form_widget_simple' => [$this, 'block_form_widget_simple'], 'form_widget_compound' => [$this, 'block_form_widget_compound'], 'collection_widget' => [$this, 'block_collection_widget'], 'textarea_widget' => [$this, 'block_textarea_widget'], 'choice_widget' => [$this, 'block_choice_widget'], 'choice_widget_expanded' => [$this, 'block_choice_widget_expanded'], 'choice_widget_collapsed' => [$this, 'block_choice_widget_collapsed'], 'choice_widget_options' => [$this, 'block_choice_widget_options'], 'checkbox_widget' => [$this, 'block_checkbox_widget'], 'radio_widget' => [$this, 'block_radio_widget'], 'datetime_widget' => [$this, 'block_datetime_widget'], 'date_widget' => [$this, 'block_date_widget'], 'time_widget' => [$this, 'block_time_widget'], 'dateinterval_widget' => [$this, 'block_dateinterval_widget'], 'number_widget' => [$this, 'block_number_widget'], 'integer_widget' => [$this, 'block_integer_widget'], 'money_widget' => [$this, 'block_money_widget'], 'url_widget' => [$this, 'block_url_widget'], 'search_widget' => [$this, 'block_search_widget'], 'percent_widget' => [$this, 'block_percent_widget'], 'password_widget' => [$this, 'block_password_widget'], 'hidden_widget' => [$this, 'block_hidden_widget'], 'email_widget' => [$this, 'block_email_widget'], 'range_widget' => [$this, 'block_range_widget'], 'button_widget' => [$this, 'block_button_widget'], 'submit_widget' => [$this, 'block_submit_widget'], 'reset_widget' => [$this, 'block_reset_widget'], 'tel_widget' => [$this, 'block_tel_widget'], 'color_widget' => [$this, 'block_color_widget'], 'week_widget' => [$this, 'block_week_widget'], 'form_label' => [$this, 'block_form_label'], 'form_label_content' => [$this, 'block_form_label_content'], 'button_label' => [$this, 'block_button_label'], 'form_help' => [$this, 'block_form_help'], 'form_help_content' => [$this, 'block_form_help_content'], 'repeated_row' => [$this, 'block_repeated_row'], 'form_row' => [$this, 'block_form_row'], 'button_row' => [$this, 'block_button_row'], 'hidden_row' => [$this, 'block_hidden_row'], 'form' => [$this, 'block_form'], 'form_start' => [$this, 'block_form_start'], 'form_end' => [$this, 'block_form_end'], 'form_errors' => [$this, 'block_form_errors'], 'form_rest' => [$this, 'block_form_rest'], 'form_rows' => [$this, 'block_form_rows'], 'widget_attributes' => [$this, 'block_widget_attributes'], 'widget_container_attributes' => [$this, 'block_widget_container_attributes'], 'button_attributes' => [$this, 'block_button_attributes'], 'attributes' => [$this, 'block_attributes'], ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "form_div_layout.html.twig")); // line 3 yield from $this->unwrap()->yieldBlock('form_widget', $context, $blocks); // line 11 yield from $this->unwrap()->yieldBlock('form_widget_simple', $context, $blocks); // line 20 yield from $this->unwrap()->yieldBlock('form_widget_compound', $context, $blocks); // line 30 yield from $this->unwrap()->yieldBlock('collection_widget', $context, $blocks); // line 37 yield from $this->unwrap()->yieldBlock('textarea_widget', $context, $blocks); // line 41 yield from $this->unwrap()->yieldBlock('choice_widget', $context, $blocks); // line 49 yield from $this->unwrap()->yieldBlock('choice_widget_expanded', $context, $blocks); // line 58 yield from $this->unwrap()->yieldBlock('choice_widget_collapsed', $context, $blocks); // line 84 yield from $this->unwrap()->yieldBlock('choice_widget_options', $context, $blocks); // line 97 yield from $this->unwrap()->yieldBlock('checkbox_widget', $context, $blocks); // line 101 yield from $this->unwrap()->yieldBlock('radio_widget', $context, $blocks); // line 105 yield from $this->unwrap()->yieldBlock('datetime_widget', $context, $blocks); // line 118 yield from $this->unwrap()->yieldBlock('date_widget', $context, $blocks); // line 132 yield from $this->unwrap()->yieldBlock('time_widget', $context, $blocks); // line 143 yield from $this->unwrap()->yieldBlock('dateinterval_widget', $context, $blocks); // line 178 yield from $this->unwrap()->yieldBlock('number_widget', $context, $blocks); // line 184 yield from $this->unwrap()->yieldBlock('integer_widget', $context, $blocks); // line 189 yield from $this->unwrap()->yieldBlock('money_widget', $context, $blocks); // line 193 yield from $this->unwrap()->yieldBlock('url_widget', $context, $blocks); // line 198 yield from $this->unwrap()->yieldBlock('search_widget', $context, $blocks); // line 203 yield from $this->unwrap()->yieldBlock('percent_widget', $context, $blocks); // line 208 yield from $this->unwrap()->yieldBlock('password_widget', $context, $blocks); // line 213 yield from $this->unwrap()->yieldBlock('hidden_widget', $context, $blocks); // line 218 yield from $this->unwrap()->yieldBlock('email_widget', $context, $blocks); // line 223 yield from $this->unwrap()->yieldBlock('range_widget', $context, $blocks); // line 228 yield from $this->unwrap()->yieldBlock('button_widget', $context, $blocks); // line 256 yield from $this->unwrap()->yieldBlock('submit_widget', $context, $blocks); // line 261 yield from $this->unwrap()->yieldBlock('reset_widget', $context, $blocks); // line 266 yield from $this->unwrap()->yieldBlock('tel_widget', $context, $blocks); // line 271 yield from $this->unwrap()->yieldBlock('color_widget', $context, $blocks); // line 276 yield from $this->unwrap()->yieldBlock('week_widget', $context, $blocks); // line 289 yield from $this->unwrap()->yieldBlock('form_label', $context, $blocks); // line 303 yield from $this->unwrap()->yieldBlock('form_label_content', $context, $blocks); // line 329 yield from $this->unwrap()->yieldBlock('button_label', $context, $blocks); // line 332 yield " "; // line 333 yield from $this->unwrap()->yieldBlock('form_help', $context, $blocks); // line 341 yield " "; // line 342 yield from $this->unwrap()->yieldBlock('form_help_content', $context, $blocks); // line 357 yield " "; // line 360 yield from $this->unwrap()->yieldBlock('repeated_row', $context, $blocks); // line 368 yield from $this->unwrap()->yieldBlock('form_row', $context, $blocks); // line 381 yield from $this->unwrap()->yieldBlock('button_row', $context, $blocks); // line 387 yield from $this->unwrap()->yieldBlock('hidden_row', $context, $blocks); // line 393 yield from $this->unwrap()->yieldBlock('form', $context, $blocks); // line 399 yield from $this->unwrap()->yieldBlock('form_start', $context, $blocks); // line 413 yield from $this->unwrap()->yieldBlock('form_end', $context, $blocks); // line 420 yield from $this->unwrap()->yieldBlock('form_errors', $context, $blocks); // line 430 yield from $this->unwrap()->yieldBlock('form_rest', $context, $blocks); // line 451 yield " "; // line 454 yield from $this->unwrap()->yieldBlock('form_rows', $context, $blocks); // line 460 yield from $this->unwrap()->yieldBlock('widget_attributes', $context, $blocks); // line 467 yield from $this->unwrap()->yieldBlock('widget_container_attributes', $context, $blocks); // line 472 yield from $this->unwrap()->yieldBlock('button_attributes', $context, $blocks); // line 477 yield from $this->unwrap()->yieldBlock('attributes', $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 3 /** * @return iterable */ public function block_form_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget")); // line 4 if ((isset($context["compound"]) || array_key_exists("compound", $context) ? $context["compound"] : (function () { throw new RuntimeError('Variable "compound" does not exist.', 4, $this->source); })())) { // line 5 yield from $this->unwrap()->yieldBlock("form_widget_compound", $context, $blocks); } else { // line 7 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 11 /** * @return iterable */ public function block_form_widget_simple(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget_simple")); // line 12 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 12, $this->source); })()), "text")) : ("text")); // line 13 if ((((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 13, $this->source); })()) == "range") || ((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 13, $this->source); })()) == "color"))) { // line 15 $context["required"] = false; } // line 17 yield "env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 17, $this->source); })()), "html", null, true); yield "\" "; yield from $this->unwrap()->yieldBlock("widget_attributes", $context, $blocks); yield " "; if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 17, $this->source); })()))) { yield "value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 17, $this->source); })()), "html", null, true); yield "\" "; } yield "/>"; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 20 /** * @return iterable */ public function block_form_widget_compound(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget_compound")); // line 21 yield "
unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield ">"; // line 22 if (Symfony\Bridge\Twig\Extension\twig_is_root_form((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 22, $this->source); })()))) { // line 23 yield $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.', 23, $this->source); })()), 'errors'); } // line 25 yield from $this->unwrap()->yieldBlock("form_rows", $context, $blocks); // line 26 yield $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.', 26, $this->source); })()), 'rest'); // line 27 yield "
"; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 30 /** * @return iterable */ public function block_collection_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "collection_widget")); // line 31 if ((array_key_exists("prototype", $context) && !CoreExtension::getAttribute($this->env, $this->source, (isset($context["prototype"]) || array_key_exists("prototype", $context) ? $context["prototype"] : (function () { throw new RuntimeError('Variable "prototype" does not exist.', 31, $this->source); })()), "rendered", [], "any", false, false, false, 31))) { // line 32 $context["attr"] = Twig\Extension\CoreExtension::merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 32, $this->source); })()), ["data-prototype" => $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["prototype"]) || array_key_exists("prototype", $context) ? $context["prototype"] : (function () { throw new RuntimeError('Variable "prototype" does not exist.', 32, $this->source); })()), 'row')]); } // line 34 yield from $this->unwrap()->yieldBlock("form_widget", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 37 /** * @return iterable */ public function block_textarea_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "textarea_widget")); // line 38 yield ""; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 41 /** * @return iterable */ public function block_choice_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget")); // line 42 if ((isset($context["expanded"]) || array_key_exists("expanded", $context) ? $context["expanded"] : (function () { throw new RuntimeError('Variable "expanded" does not exist.', 42, $this->source); })())) { // line 43 yield from $this->unwrap()->yieldBlock("choice_widget_expanded", $context, $blocks); } else { // line 45 yield from $this->unwrap()->yieldBlock("choice_widget_collapsed", $context, $blocks); } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 49 /** * @return iterable */ public function block_choice_widget_expanded(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_expanded")); // line 50 yield "
unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield ">"; // line 51 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 51, $this->source); })())); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 52 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget'); // line 53 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'label', ["translation_domain" => (isset($context["choice_translation_domain"]) || array_key_exists("choice_translation_domain", $context) ? $context["choice_translation_domain"] : (function () { throw new RuntimeError('Variable "choice_translation_domain" does not exist.', 53, $this->source); })())]); } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['child'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 55 yield "
"; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 58 /** * @return iterable */ public function block_choice_widget_collapsed(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_collapsed")); // line 59 if ((((((isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 59, $this->source); })()) && (null === (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 59, $this->source); })()))) && !(isset($context["placeholder_in_choices"]) || array_key_exists("placeholder_in_choices", $context) ? $context["placeholder_in_choices"] : (function () { throw new RuntimeError('Variable "placeholder_in_choices" does not exist.', 59, $this->source); })())) && !(isset($context["multiple"]) || array_key_exists("multiple", $context) ? $context["multiple"] : (function () { throw new RuntimeError('Variable "multiple" does not exist.', 59, $this->source); })())) && ( !CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "size", [], "any", true, true, false, 59) || (CoreExtension::getAttribute($this->env, $this->source, (isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 59, $this->source); })()), "size", [], "any", false, false, false, 59) <= 1)))) { // line 60 $context["required"] = false; } // line 62 yield ""; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 84 /** * @return iterable */ public function block_choice_widget_options(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_options")); // line 85 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 85, $this->source); })())); $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["group_label"] => $context["choice"]) { // line 86 if (is_iterable($context["choice"])) { // line 87 yield "env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((isset($context["choice_translation_domain"]) || array_key_exists("choice_translation_domain", $context) ? $context["choice_translation_domain"] : (function () { throw new RuntimeError('Variable "choice_translation_domain" does not exist.', 87, $this->source); })()) === false)) ? ($context["group_label"]) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["group_label"], [], (isset($context["choice_translation_domain"]) || array_key_exists("choice_translation_domain", $context) ? $context["choice_translation_domain"] : (function () { throw new RuntimeError('Variable "choice_translation_domain" does not exist.', 87, $this->source); })())))), "html", null, true); yield "\"> "; // line 88 $context["options"] = $context["choice"]; // line 89 yield from $this->unwrap()->yieldBlock("choice_widget_options", $context, $blocks); // line 90 yield ""; } else { // line 92 yield ""; } ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['group_label'], $context['choice'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 97 /** * @return iterable */ public function block_checkbox_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_widget")); // line 98 yield "unwrap()->yieldBlock("widget_attributes", $context, $blocks); if (array_key_exists("value", $context)) { yield " value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 98, $this->source); })()), "html", null, true); yield "\""; } if ((isset($context["checked"]) || array_key_exists("checked", $context) ? $context["checked"] : (function () { throw new RuntimeError('Variable "checked" does not exist.', 98, $this->source); })())) { yield " checked=\"checked\""; } yield " />"; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 101 /** * @return iterable */ public function block_radio_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "radio_widget")); // line 102 yield "unwrap()->yieldBlock("widget_attributes", $context, $blocks); if (array_key_exists("value", $context)) { yield " value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 102, $this->source); })()), "html", null, true); yield "\""; } if ((isset($context["checked"]) || array_key_exists("checked", $context) ? $context["checked"] : (function () { throw new RuntimeError('Variable "checked" does not exist.', 102, $this->source); })())) { yield " checked=\"checked\""; } yield " />"; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 105 /** * @return iterable */ public function block_datetime_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "datetime_widget")); // line 106 if (((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 106, $this->source); })()) == "single_text")) { // line 107 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } else { // line 109 yield "
unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield ">"; // line 110 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 110, $this->source); })()), "date", [], "any", false, false, false, 110), 'errors'); // line 111 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 111, $this->source); })()), "time", [], "any", false, false, false, 111), 'errors'); // line 112 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 112, $this->source); })()), "date", [], "any", false, false, false, 112), 'widget'); // line 113 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 113, $this->source); })()), "time", [], "any", false, false, false, 113), 'widget'); // line 114 yield "
"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 118 /** * @return iterable */ public function block_date_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "date_widget")); // line 119 if (((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 119, $this->source); })()) == "single_text")) { // line 120 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } else { // line 122 yield "
unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield ">"; // line 123 yield Twig\Extension\CoreExtension::replace((isset($context["date_pattern"]) || array_key_exists("date_pattern", $context) ? $context["date_pattern"] : (function () { throw new RuntimeError('Variable "date_pattern" does not exist.', 123, $this->source); })()), ["{{ year }}" => // line 124 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 124, $this->source); })()), "year", [], "any", false, false, false, 124), 'widget'), "{{ month }}" => // line 125 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 125, $this->source); })()), "month", [], "any", false, false, false, 125), 'widget'), "{{ day }}" => // line 126 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 126, $this->source); })()), "day", [], "any", false, false, false, 126), 'widget')]); // line 128 yield "
"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 132 /** * @return iterable */ public function block_time_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "time_widget")); // line 133 if (((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 133, $this->source); })()) == "single_text")) { // line 134 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } else { // line 136 $context["vars"] = ((((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 136, $this->source); })()) == "text")) ? (["attr" => ["size" => 1]]) : ([])); // line 137 yield "
unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield "> "; // line 138 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 138, $this->source); })()), "hour", [], "any", false, false, false, 138), 'widget', (isset($context["vars"]) || array_key_exists("vars", $context) ? $context["vars"] : (function () { throw new RuntimeError('Variable "vars" does not exist.', 138, $this->source); })())); if ((isset($context["with_minutes"]) || array_key_exists("with_minutes", $context) ? $context["with_minutes"] : (function () { throw new RuntimeError('Variable "with_minutes" does not exist.', 138, $this->source); })())) { yield ":"; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 138, $this->source); })()), "minute", [], "any", false, false, false, 138), 'widget', (isset($context["vars"]) || array_key_exists("vars", $context) ? $context["vars"] : (function () { throw new RuntimeError('Variable "vars" does not exist.', 138, $this->source); })())); } if ((isset($context["with_seconds"]) || array_key_exists("with_seconds", $context) ? $context["with_seconds"] : (function () { throw new RuntimeError('Variable "with_seconds" does not exist.', 138, $this->source); })())) { yield ":"; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 138, $this->source); })()), "second", [], "any", false, false, false, 138), 'widget', (isset($context["vars"]) || array_key_exists("vars", $context) ? $context["vars"] : (function () { throw new RuntimeError('Variable "vars" does not exist.', 138, $this->source); })())); } // line 139 yield "
"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 143 /** * @return iterable */ public function block_dateinterval_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "dateinterval_widget")); // line 144 if (((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 144, $this->source); })()) == "single_text")) { // line 145 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } else { // line 147 yield "
unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield ">"; // line 148 yield $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.', 148, $this->source); })()), 'errors'); // line 149 yield "env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("table_class", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["table_class"]) || array_key_exists("table_class", $context) ? $context["table_class"] : (function () { throw new RuntimeError('Variable "table_class" does not exist.', 149, $this->source); })()), "")) : ("")), "html", null, true); yield "\" role=\"presentation\"> "; // line 152 if ((isset($context["with_years"]) || array_key_exists("with_years", $context) ? $context["with_years"] : (function () { throw new RuntimeError('Variable "with_years" does not exist.', 152, $this->source); })())) { yield ""; } // line 153 if ((isset($context["with_months"]) || array_key_exists("with_months", $context) ? $context["with_months"] : (function () { throw new RuntimeError('Variable "with_months" does not exist.', 153, $this->source); })())) { yield ""; } // line 154 if ((isset($context["with_weeks"]) || array_key_exists("with_weeks", $context) ? $context["with_weeks"] : (function () { throw new RuntimeError('Variable "with_weeks" does not exist.', 154, $this->source); })())) { yield ""; } // line 155 if ((isset($context["with_days"]) || array_key_exists("with_days", $context) ? $context["with_days"] : (function () { throw new RuntimeError('Variable "with_days" does not exist.', 155, $this->source); })())) { yield ""; } // line 156 if ((isset($context["with_hours"]) || array_key_exists("with_hours", $context) ? $context["with_hours"] : (function () { throw new RuntimeError('Variable "with_hours" does not exist.', 156, $this->source); })())) { yield ""; } // line 157 if ((isset($context["with_minutes"]) || array_key_exists("with_minutes", $context) ? $context["with_minutes"] : (function () { throw new RuntimeError('Variable "with_minutes" does not exist.', 157, $this->source); })())) { yield ""; } // line 158 if ((isset($context["with_seconds"]) || array_key_exists("with_seconds", $context) ? $context["with_seconds"] : (function () { throw new RuntimeError('Variable "with_seconds" does not exist.', 158, $this->source); })())) { yield ""; } // line 159 yield ""; // line 163 if ((isset($context["with_years"]) || array_key_exists("with_years", $context) ? $context["with_years"] : (function () { throw new RuntimeError('Variable "with_years" does not exist.', 163, $this->source); })())) { yield ""; } // line 164 if ((isset($context["with_months"]) || array_key_exists("with_months", $context) ? $context["with_months"] : (function () { throw new RuntimeError('Variable "with_months" does not exist.', 164, $this->source); })())) { yield ""; } // line 165 if ((isset($context["with_weeks"]) || array_key_exists("with_weeks", $context) ? $context["with_weeks"] : (function () { throw new RuntimeError('Variable "with_weeks" does not exist.', 165, $this->source); })())) { yield ""; } // line 166 if ((isset($context["with_days"]) || array_key_exists("with_days", $context) ? $context["with_days"] : (function () { throw new RuntimeError('Variable "with_days" does not exist.', 166, $this->source); })())) { yield ""; } // line 167 if ((isset($context["with_hours"]) || array_key_exists("with_hours", $context) ? $context["with_hours"] : (function () { throw new RuntimeError('Variable "with_hours" does not exist.', 167, $this->source); })())) { yield ""; } // line 168 if ((isset($context["with_minutes"]) || array_key_exists("with_minutes", $context) ? $context["with_minutes"] : (function () { throw new RuntimeError('Variable "with_minutes" does not exist.', 168, $this->source); })())) { yield ""; } // line 169 if ((isset($context["with_seconds"]) || array_key_exists("with_seconds", $context) ? $context["with_seconds"] : (function () { throw new RuntimeError('Variable "with_seconds" does not exist.', 169, $this->source); })())) { yield ""; } // line 170 yield "
"; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 152, $this->source); })()), "years", [], "any", false, false, false, 152), 'label'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 153, $this->source); })()), "months", [], "any", false, false, false, 153), 'label'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 154, $this->source); })()), "weeks", [], "any", false, false, false, 154), 'label'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 155, $this->source); })()), "days", [], "any", false, false, false, 155), 'label'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 156, $this->source); })()), "hours", [], "any", false, false, false, 156), 'label'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 157, $this->source); })()), "minutes", [], "any", false, false, false, 157), 'label'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($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); })()), "seconds", [], "any", false, false, false, 158), 'label'); yield "
"; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 163, $this->source); })()), "years", [], "any", false, false, false, 163), 'widget'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($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); })()), "months", [], "any", false, false, false, 164), 'widget'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 165, $this->source); })()), "weeks", [], "any", false, false, false, 165), 'widget'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 166, $this->source); })()), "days", [], "any", false, false, false, 166), 'widget'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 167, $this->source); })()), "hours", [], "any", false, false, false, 167), 'widget'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 168, $this->source); })()), "minutes", [], "any", false, false, false, 168), 'widget'); yield ""; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 169, $this->source); })()), "seconds", [], "any", false, false, false, 169), 'widget'); yield "
"; // line 173 if ((isset($context["with_invert"]) || array_key_exists("with_invert", $context) ? $context["with_invert"] : (function () { throw new RuntimeError('Variable "with_invert" does not exist.', 173, $this->source); })())) { yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($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); })()), "invert", [], "any", false, false, false, 173), 'widget'); } // line 174 yield "
"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 178 /** * @return iterable */ public function block_number_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "number_widget")); // line 180 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 180, $this->source); })()), "text")) : ("text")); // line 181 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 184 /** * @return iterable */ public function block_integer_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "integer_widget")); // line 185 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 185, $this->source); })()), "number")) : ("number")); // line 186 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 189 /** * @return iterable */ public function block_money_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "money_widget")); // line 190 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, (isset($context["money_pattern"]) || array_key_exists("money_pattern", $context) ? $context["money_pattern"] : (function () { throw new RuntimeError('Variable "money_pattern" does not exist.', 190, $this->source); })()), $this->unwrap()->renderBlock("form_widget_simple", $context, $blocks)); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 193 /** * @return iterable */ public function block_url_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "url_widget")); // line 194 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 194, $this->source); })()), "url")) : ("url")); // line 195 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 198 /** * @return iterable */ public function block_search_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_widget")); // line 199 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 199, $this->source); })()), "search")) : ("search")); // line 200 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 203 /** * @return iterable */ public function block_percent_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "percent_widget")); // line 204 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 204, $this->source); })()), "text")) : ("text")); // line 205 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); if ((isset($context["symbol"]) || array_key_exists("symbol", $context) ? $context["symbol"] : (function () { throw new RuntimeError('Variable "symbol" does not exist.', 205, $this->source); })())) { yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("symbol", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["symbol"]) || array_key_exists("symbol", $context) ? $context["symbol"] : (function () { throw new RuntimeError('Variable "symbol" does not exist.', 205, $this->source); })()), "%")) : ("%")), "html", null, true); } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 208 /** * @return iterable */ public function block_password_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "password_widget")); // line 209 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 209, $this->source); })()), "password")) : ("password")); // line 210 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 213 /** * @return iterable */ public function block_hidden_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hidden_widget")); // line 214 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 214, $this->source); })()), "hidden")) : ("hidden")); // line 215 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 218 /** * @return iterable */ public function block_email_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "email_widget")); // line 219 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 219, $this->source); })()), "email")) : ("email")); // line 220 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 223 /** * @return iterable */ public function block_range_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "range_widget")); // line 224 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 224, $this->source); })()), "range")) : ("range")); // line 225 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 228 /** * @return iterable */ public function block_button_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_widget")); // line 229 if (Twig\Extension\CoreExtension::testEmpty((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 229, $this->source); })()))) { // line 230 if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["label_format"]) || array_key_exists("label_format", $context) ? $context["label_format"] : (function () { throw new RuntimeError('Variable "label_format" does not exist.', 230, $this->source); })()))) { // line 231 $context["label"] = Twig\Extension\CoreExtension::replace((isset($context["label_format"]) || array_key_exists("label_format", $context) ? $context["label_format"] : (function () { throw new RuntimeError('Variable "label_format" does not exist.', 231, $this->source); })()), ["%name%" => // line 232 (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 232, $this->source); })()), "%id%" => // line 233 (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 233, $this->source); })())]); } elseif ( !( // line 235 (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 235, $this->source); })()) === false)) { // line 236 $context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize((isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 236, $this->source); })())); } } // line 239 yield ""; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 256 /** * @return iterable */ public function block_submit_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "submit_widget")); // line 257 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 257, $this->source); })()), "submit")) : ("submit")); // line 258 yield from $this->unwrap()->yieldBlock("button_widget", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 261 /** * @return iterable */ public function block_reset_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "reset_widget")); // line 262 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 262, $this->source); })()), "reset")) : ("reset")); // line 263 yield from $this->unwrap()->yieldBlock("button_widget", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 266 /** * @return iterable */ public function block_tel_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "tel_widget")); // line 267 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 267, $this->source); })()), "tel")) : ("tel")); // line 268 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 271 /** * @return iterable */ public function block_color_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "color_widget")); // line 272 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 272, $this->source); })()), "color")) : ("color")); // line 273 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 276 /** * @return iterable */ public function block_week_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "week_widget")); // line 277 if (((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 277, $this->source); })()) == "single_text")) { // line 278 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } else { // line 280 $context["vars"] = ((((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 280, $this->source); })()) == "text")) ? (["attr" => ["size" => 1]]) : ([])); // line 281 yield "
unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield "> "; // line 282 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 282, $this->source); })()), "year", [], "any", false, false, false, 282), 'widget', (isset($context["vars"]) || array_key_exists("vars", $context) ? $context["vars"] : (function () { throw new RuntimeError('Variable "vars" does not exist.', 282, $this->source); })())); yield "-"; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 282, $this->source); })()), "week", [], "any", false, false, false, 282), 'widget', (isset($context["vars"]) || array_key_exists("vars", $context) ? $context["vars"] : (function () { throw new RuntimeError('Variable "vars" does not exist.', 282, $this->source); })())); yield "
"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 289 /** * @return iterable */ public function block_form_label(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label")); // line 290 if ( !((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 290, $this->source); })()) === false)) { // line 291 if ( !(isset($context["compound"]) || array_key_exists("compound", $context) ? $context["compound"] : (function () { throw new RuntimeError('Variable "compound" does not exist.', 291, $this->source); })())) { // line 292 $context["label_attr"] = Twig\Extension\CoreExtension::merge((isset($context["label_attr"]) || array_key_exists("label_attr", $context) ? $context["label_attr"] : (function () { throw new RuntimeError('Variable "label_attr" does not exist.', 292, $this->source); })()), ["for" => (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 292, $this->source); })())]); } // line 294 if ((isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 294, $this->source); })())) { // line 295 $context["label_attr"] = Twig\Extension\CoreExtension::merge((isset($context["label_attr"]) || array_key_exists("label_attr", $context) ? $context["label_attr"] : (function () { throw new RuntimeError('Variable "label_attr" does not exist.', 295, $this->source); })()), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 295)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 295), "")) : ("")) . " required"))]); } // line 297 yield "<"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["element"]) || array_key_exists("element", $context) ? $context["element"] : (function () { throw new RuntimeError('Variable "element" does not exist.', 297, $this->source); })()), "label")) : ("label")), "html", null, true); if ((isset($context["label_attr"]) || array_key_exists("label_attr", $context) ? $context["label_attr"] : (function () { throw new RuntimeError('Variable "label_attr" does not exist.', 297, $this->source); })())) { $__internal_compile_4 = $context; $__internal_compile_5 = ["attr" => (isset($context["label_attr"]) || array_key_exists("label_attr", $context) ? $context["label_attr"] : (function () { throw new RuntimeError('Variable "label_attr" does not exist.', 297, $this->source); })())]; if (!is_iterable($__internal_compile_5)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 297, $this->getSourceContext()); } $__internal_compile_5 = CoreExtension::toArray($__internal_compile_5); $context = $__internal_compile_5 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_4; } yield ">"; // line 298 yield from $this->unwrap()->yieldBlock("form_label_content", $context, $blocks); // line 299 yield "env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["element"]) || array_key_exists("element", $context) ? $context["element"] : (function () { throw new RuntimeError('Variable "element" does not exist.', 299, $this->source); })()), "label")) : ("label")), "html", null, true); yield ">"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 303 /** * @return iterable */ public function block_form_label_content(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label_content")); // line 304 if (Twig\Extension\CoreExtension::testEmpty((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 304, $this->source); })()))) { // line 305 if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["label_format"]) || array_key_exists("label_format", $context) ? $context["label_format"] : (function () { throw new RuntimeError('Variable "label_format" does not exist.', 305, $this->source); })()))) { // line 306 $context["label"] = Twig\Extension\CoreExtension::replace((isset($context["label_format"]) || array_key_exists("label_format", $context) ? $context["label_format"] : (function () { throw new RuntimeError('Variable "label_format" does not exist.', 306, $this->source); })()), ["%name%" => // line 307 (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 307, $this->source); })()), "%id%" => // line 308 (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 308, $this->source); })())]); } else { // line 311 $context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize((isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 311, $this->source); })())); } } // line 314 if (((isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 314, $this->source); })()) === false)) { // line 315 if (((isset($context["label_html"]) || array_key_exists("label_html", $context) ? $context["label_html"] : (function () { throw new RuntimeError('Variable "label_html" does not exist.', 315, $this->source); })()) === false)) { // line 316 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 316, $this->source); })()), "html", null, true); } else { // line 318 yield (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 318, $this->source); })()); } } else { // line 321 if (((isset($context["label_html"]) || array_key_exists("label_html", $context) ? $context["label_html"] : (function () { throw new RuntimeError('Variable "label_html" does not exist.', 321, $this->source); })()) === false)) { // line 322 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 322, $this->source); })()), (isset($context["label_translation_parameters"]) || array_key_exists("label_translation_parameters", $context) ? $context["label_translation_parameters"] : (function () { throw new RuntimeError('Variable "label_translation_parameters" does not exist.', 322, $this->source); })()), (isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 322, $this->source); })())), "html", null, true); } else { // line 324 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 324, $this->source); })()), (isset($context["label_translation_parameters"]) || array_key_exists("label_translation_parameters", $context) ? $context["label_translation_parameters"] : (function () { throw new RuntimeError('Variable "label_translation_parameters" does not exist.', 324, $this->source); })()), (isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 324, $this->source); })())); } } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 329 /** * @return iterable */ public function block_button_label(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_label")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 333 /** * @return iterable */ public function block_form_help(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_help")); // line 334 if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["help"]) || array_key_exists("help", $context) ? $context["help"] : (function () { throw new RuntimeError('Variable "help" does not exist.', 334, $this->source); })()))) { // line 335 $context["help_attr"] = Twig\Extension\CoreExtension::merge((isset($context["help_attr"]) || array_key_exists("help_attr", $context) ? $context["help_attr"] : (function () { throw new RuntimeError('Variable "help_attr" does not exist.', 335, $this->source); })()), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["help_attr"] ?? null), "class", [], "any", true, true, false, 335)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["help_attr"] ?? null), "class", [], "any", false, false, false, 335), "")) : ("")) . " help-text"))]); // line 336 yield "<"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["element"]) || array_key_exists("element", $context) ? $context["element"] : (function () { throw new RuntimeError('Variable "element" does not exist.', 336, $this->source); })()), "div")) : ("div")), "html", null, true); yield " id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 336, $this->source); })()), "html", null, true); yield "_help\""; $__internal_compile_6 = $context; $__internal_compile_7 = ["attr" => (isset($context["help_attr"]) || array_key_exists("help_attr", $context) ? $context["help_attr"] : (function () { throw new RuntimeError('Variable "help_attr" does not exist.', 336, $this->source); })())]; if (!is_iterable($__internal_compile_7)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 336, $this->getSourceContext()); } $__internal_compile_7 = CoreExtension::toArray($__internal_compile_7); $context = $__internal_compile_7 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_6; yield ">"; // line 337 yield from $this->unwrap()->yieldBlock("form_help_content", $context, $blocks); // line 338 yield "env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["element"]) || array_key_exists("element", $context) ? $context["element"] : (function () { throw new RuntimeError('Variable "element" does not exist.', 338, $this->source); })()), "div")) : ("div")), "html", null, true); yield ">"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 342 /** * @return iterable */ public function block_form_help_content(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_help_content")); // line 343 if (((isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 343, $this->source); })()) === false)) { // line 344 if (((isset($context["help_html"]) || array_key_exists("help_html", $context) ? $context["help_html"] : (function () { throw new RuntimeError('Variable "help_html" does not exist.', 344, $this->source); })()) === false)) { // line 345 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["help"]) || array_key_exists("help", $context) ? $context["help"] : (function () { throw new RuntimeError('Variable "help" does not exist.', 345, $this->source); })()), "html", null, true); } else { // line 347 yield (isset($context["help"]) || array_key_exists("help", $context) ? $context["help"] : (function () { throw new RuntimeError('Variable "help" does not exist.', 347, $this->source); })()); } } else { // line 350 if (((isset($context["help_html"]) || array_key_exists("help_html", $context) ? $context["help_html"] : (function () { throw new RuntimeError('Variable "help_html" does not exist.', 350, $this->source); })()) === false)) { // line 351 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["help"]) || array_key_exists("help", $context) ? $context["help"] : (function () { throw new RuntimeError('Variable "help" does not exist.', 351, $this->source); })()), (isset($context["help_translation_parameters"]) || array_key_exists("help_translation_parameters", $context) ? $context["help_translation_parameters"] : (function () { throw new RuntimeError('Variable "help_translation_parameters" does not exist.', 351, $this->source); })()), (isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 351, $this->source); })())), "html", null, true); } else { // line 353 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["help"]) || array_key_exists("help", $context) ? $context["help"] : (function () { throw new RuntimeError('Variable "help" does not exist.', 353, $this->source); })()), (isset($context["help_translation_parameters"]) || array_key_exists("help_translation_parameters", $context) ? $context["help_translation_parameters"] : (function () { throw new RuntimeError('Variable "help_translation_parameters" does not exist.', 353, $this->source); })()), (isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 353, $this->source); })())); } } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 360 /** * @return iterable */ public function block_repeated_row(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "repeated_row")); // line 365 yield from $this->unwrap()->yieldBlock("form_rows", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 368 /** * @return iterable */ public function block_form_row(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_row")); // line 369 $context["widget_attr"] = []; // line 370 if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["help"]) || array_key_exists("help", $context) ? $context["help"] : (function () { throw new RuntimeError('Variable "help" does not exist.', 370, $this->source); })()))) { // line 371 $context["widget_attr"] = ["attr" => ["aria-describedby" => ((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 371, $this->source); })()) . "_help")]]; } // line 373 yield " (isset($context["row_attr"]) || array_key_exists("row_attr", $context) ? $context["row_attr"] : (function () { throw new RuntimeError('Variable "row_attr" does not exist.', 373, $this->source); })())]; if (!is_iterable($__internal_compile_9)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 373, $this->getSourceContext()); } $__internal_compile_9 = CoreExtension::toArray($__internal_compile_9); $context = $__internal_compile_9 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_8; yield ">"; // line 374 yield $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.', 374, $this->source); })()), 'label'); // line 375 yield $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.', 375, $this->source); })()), 'errors'); // line 376 yield $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.', 376, $this->source); })()), 'widget', (isset($context["widget_attr"]) || array_key_exists("widget_attr", $context) ? $context["widget_attr"] : (function () { throw new RuntimeError('Variable "widget_attr" does not exist.', 376, $this->source); })())); // line 377 yield $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.', 377, $this->source); })()), 'help'); // line 378 yield ""; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 381 /** * @return iterable */ public function block_button_row(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_row")); // line 382 yield " (isset($context["row_attr"]) || array_key_exists("row_attr", $context) ? $context["row_attr"] : (function () { throw new RuntimeError('Variable "row_attr" does not exist.', 382, $this->source); })())]; if (!is_iterable($__internal_compile_11)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 382, $this->getSourceContext()); } $__internal_compile_11 = CoreExtension::toArray($__internal_compile_11); $context = $__internal_compile_11 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_10; yield ">"; // line 383 yield $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.', 383, $this->source); })()), 'widget'); // line 384 yield ""; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 387 /** * @return iterable */ public function block_hidden_row(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hidden_row")); // line 388 yield $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.', 388, $this->source); })()), 'widget'); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 393 /** * @return iterable */ public function block_form(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form")); // line 394 yield $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.', 394, $this->source); })()), 'form_start'); // line 395 yield $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.', 395, $this->source); })()), 'widget'); // line 396 yield $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.', 396, $this->source); })()), 'form_end'); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 399 /** * @return iterable */ public function block_form_start(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_start")); // line 400 CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 400, $this->source); })()), "setMethodRendered", [], "method", false, false, false, 400); // line 401 $context["method"] = Twig\Extension\CoreExtension::upper($this->env->getCharset(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 401, $this->source); })())); // line 402 if (CoreExtension::inFilter((isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 402, $this->source); })()), ["GET", "POST"])) { // line 403 $context["form_method"] = (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 403, $this->source); })()); } else { // line 405 $context["form_method"] = "POST"; } // line 407 yield "source); })()) != "")) { yield " name=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 407, $this->source); })()), "html", null, true); yield "\""; } yield " method=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), (isset($context["form_method"]) || array_key_exists("form_method", $context) ? $context["form_method"] : (function () { throw new RuntimeError('Variable "form_method" does not exist.', 407, $this->source); })())), "html", null, true); yield "\""; if (((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 407, $this->source); })()) != "")) { yield " action=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 407, $this->source); })()), "html", null, true); yield "\""; } yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); if ((isset($context["multipart"]) || array_key_exists("multipart", $context) ? $context["multipart"] : (function () { throw new RuntimeError('Variable "multipart" does not exist.', 407, $this->source); })())) { yield " enctype=\"multipart/form-data\""; } yield ">"; // line 408 if (((isset($context["form_method"]) || array_key_exists("form_method", $context) ? $context["form_method"] : (function () { throw new RuntimeError('Variable "form_method" does not exist.', 408, $this->source); })()) != (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 408, $this->source); })()))) { // line 409 yield "env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 409, $this->source); })()), "html", null, true); yield "\" />"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 413 /** * @return iterable */ public function block_form_end(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_end")); // line 414 if (( !array_key_exists("render_rest", $context) || (isset($context["render_rest"]) || array_key_exists("render_rest", $context) ? $context["render_rest"] : (function () { throw new RuntimeError('Variable "render_rest" does not exist.', 414, $this->source); })()))) { // line 415 yield $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.', 415, $this->source); })()), 'rest'); } // line 417 yield ""; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 420 /** * @return iterable */ public function block_form_errors(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_errors")); // line 421 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["errors"]) || array_key_exists("errors", $context) ? $context["errors"] : (function () { throw new RuntimeError('Variable "errors" does not exist.', 421, $this->source); })())) > 0)) { // line 422 yield "
    "; // line 423 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((isset($context["errors"]) || array_key_exists("errors", $context) ? $context["errors"] : (function () { throw new RuntimeError('Variable "errors" does not exist.', 423, $this->source); })())); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 424 yield "
  • "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 424), "html", null, true); yield "
  • "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['error'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 426 yield "
"; } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 430 /** * @return iterable */ public function block_form_rest(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_rest")); // line 431 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 431, $this->source); })())); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 432 if ( !CoreExtension::getAttribute($this->env, $this->source, $context["child"], "rendered", [], "any", false, false, false, 432)) { // line 433 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'row'); } } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['child'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 437 if (( !CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 437, $this->source); })()), "methodRendered", [], "any", false, false, false, 437) && Symfony\Bridge\Twig\Extension\twig_is_root_form((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 437, $this->source); })())))) { // line 438 CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 438, $this->source); })()), "setMethodRendered", [], "method", false, false, false, 438); // line 439 $context["method"] = Twig\Extension\CoreExtension::upper($this->env->getCharset(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 439, $this->source); })())); // line 440 if (CoreExtension::inFilter((isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 440, $this->source); })()), ["GET", "POST"])) { // line 441 $context["form_method"] = (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 441, $this->source); })()); } else { // line 443 $context["form_method"] = "POST"; } // line 446 if (((isset($context["form_method"]) || array_key_exists("form_method", $context) ? $context["form_method"] : (function () { throw new RuntimeError('Variable "form_method" does not exist.', 446, $this->source); })()) != (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 446, $this->source); })()))) { // line 447 yield "env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 447, $this->source); })()), "html", null, true); yield "\" />"; } } $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 454 /** * @return iterable */ public function block_form_rows(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_rows")); // line 455 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::filter($this->env, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 455, $this->source); })()), function ($__child__) use ($context, $macros) { $context["child"] = $__child__; return !CoreExtension::getAttribute($this->env, $this->source, $context["child"], "rendered", [], "any", false, false, false, 455); })); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 456 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'row'); } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['child'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 460 /** * @return iterable */ public function block_widget_attributes(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "widget_attributes")); // line 461 yield "id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 461, $this->source); })()), "html", null, true); yield "\" name=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["full_name"]) || array_key_exists("full_name", $context) ? $context["full_name"] : (function () { throw new RuntimeError('Variable "full_name" does not exist.', 461, $this->source); })()), "html", null, true); yield "\""; // line 462 if ((isset($context["disabled"]) || array_key_exists("disabled", $context) ? $context["disabled"] : (function () { throw new RuntimeError('Variable "disabled" does not exist.', 462, $this->source); })())) { yield " disabled=\"disabled\""; } // line 463 if ((isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 463, $this->source); })())) { yield " required=\"required\""; } // line 464 yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 467 /** * @return iterable */ public function block_widget_container_attributes(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "widget_container_attributes")); // line 468 if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 468, $this->source); })()))) { yield "id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 468, $this->source); })()), "html", null, true); yield "\""; } // line 469 yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 472 /** * @return iterable */ public function block_button_attributes(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_attributes")); // line 473 yield "id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 473, $this->source); })()), "html", null, true); yield "\" name=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["full_name"]) || array_key_exists("full_name", $context) ? $context["full_name"] : (function () { throw new RuntimeError('Variable "full_name" does not exist.', 473, $this->source); })()), "html", null, true); yield "\""; if ((isset($context["disabled"]) || array_key_exists("disabled", $context) ? $context["disabled"] : (function () { throw new RuntimeError('Variable "disabled" does not exist.', 473, $this->source); })())) { yield " disabled=\"disabled\""; } // line 474 yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 477 /** * @return iterable */ public function block_attributes(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "attributes")); // line 478 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 478, $this->source); })())); foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) { // line 479 yield " "; // line 480 if (CoreExtension::inFilter($context["attrname"], ["placeholder", "title"])) { // line 481 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["attrname"], "html", null, true); yield "=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((((isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 481, $this->source); })()) === false) || (null === $context["attrvalue"]))) ? ($context["attrvalue"]) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["attrvalue"], (isset($context["attr_translation_parameters"]) || array_key_exists("attr_translation_parameters", $context) ? $context["attr_translation_parameters"] : (function () { throw new RuntimeError('Variable "attr_translation_parameters" does not exist.', 481, $this->source); })()), (isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 481, $this->source); })())))), "html", null, true); yield "\""; } elseif (( // line 482 $context["attrvalue"] === true)) { // line 483 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["attrname"], "html", null, true); yield "=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["attrname"], "html", null, true); yield "\""; } elseif ( !( // line 484 $context["attrvalue"] === false)) { // line 485 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["attrname"], "html", null, true); yield "=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["attrvalue"], "html", null, true); yield "\""; } } $_parent = $context['_parent']; unset($context['_seq'], $context['attrname'], $context['attrvalue'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "form_div_layout.html.twig"; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 1880 => 485, 1878 => 484, 1873 => 483, 1871 => 482, 1866 => 481, 1864 => 480, 1862 => 479, 1858 => 478, 1848 => 477, 1840 => 474, 1831 => 473, 1821 => 472, 1813 => 469, 1807 => 468, 1797 => 467, 1789 => 464, 1785 => 463, 1781 => 462, 1775 => 461, 1765 => 460, 1753 => 456, 1749 => 455, 1739 => 454, 1727 => 447, 1725 => 446, 1722 => 443, 1719 => 441, 1717 => 440, 1715 => 439, 1713 => 438, 1711 => 437, 1704 => 433, 1702 => 432, 1698 => 431, 1688 => 430, 1679 => 426, 1671 => 424, 1667 => 423, 1665 => 422, 1663 => 421, 1653 => 420, 1645 => 417, 1642 => 415, 1640 => 414, 1630 => 413, 1619 => 409, 1617 => 408, 1597 => 407, 1594 => 405, 1591 => 403, 1589 => 402, 1587 => 401, 1585 => 400, 1575 => 399, 1567 => 396, 1565 => 395, 1563 => 394, 1553 => 393, 1545 => 388, 1535 => 387, 1527 => 384, 1525 => 383, 1513 => 382, 1503 => 381, 1495 => 378, 1493 => 377, 1491 => 376, 1489 => 375, 1487 => 374, 1475 => 373, 1472 => 371, 1470 => 370, 1468 => 369, 1458 => 368, 1450 => 365, 1440 => 360, 1430 => 353, 1427 => 351, 1425 => 350, 1421 => 347, 1418 => 345, 1416 => 344, 1414 => 343, 1404 => 342, 1393 => 338, 1391 => 337, 1375 => 336, 1373 => 335, 1371 => 334, 1361 => 333, 1345 => 329, 1335 => 324, 1332 => 322, 1330 => 321, 1326 => 318, 1323 => 316, 1321 => 315, 1319 => 314, 1315 => 311, 1312 => 308, 1311 => 307, 1310 => 306, 1308 => 305, 1306 => 304, 1296 => 303, 1285 => 299, 1283 => 298, 1268 => 297, 1265 => 295, 1263 => 294, 1260 => 292, 1258 => 291, 1256 => 290, 1246 => 289, 1233 => 282, 1228 => 281, 1226 => 280, 1223 => 278, 1221 => 277, 1211 => 276, 1203 => 273, 1201 => 272, 1191 => 271, 1183 => 268, 1181 => 267, 1171 => 266, 1163 => 263, 1161 => 262, 1151 => 261, 1143 => 258, 1141 => 257, 1131 => 256, 1123 => 253, 1119 => 250, 1116 => 248, 1114 => 247, 1110 => 244, 1107 => 242, 1105 => 241, 1103 => 240, 1097 => 239, 1093 => 236, 1091 => 235, 1089 => 233, 1088 => 232, 1087 => 231, 1085 => 230, 1083 => 229, 1073 => 228, 1065 => 225, 1063 => 224, 1053 => 223, 1045 => 220, 1043 => 219, 1033 => 218, 1025 => 215, 1023 => 214, 1013 => 213, 1005 => 210, 1003 => 209, 993 => 208, 981 => 205, 979 => 204, 969 => 203, 961 => 200, 959 => 199, 949 => 198, 941 => 195, 939 => 194, 929 => 193, 921 => 190, 911 => 189, 903 => 186, 901 => 185, 891 => 184, 883 => 181, 881 => 180, 871 => 178, 862 => 174, 858 => 173, 854 => 170, 848 => 169, 842 => 168, 836 => 167, 830 => 166, 824 => 165, 818 => 164, 812 => 163, 807 => 159, 801 => 158, 795 => 157, 789 => 156, 783 => 155, 777 => 154, 771 => 153, 765 => 152, 759 => 149, 757 => 148, 753 => 147, 750 => 145, 748 => 144, 738 => 143, 729 => 139, 719 => 138, 714 => 137, 712 => 136, 709 => 134, 707 => 133, 697 => 132, 688 => 128, 686 => 126, 685 => 125, 684 => 124, 683 => 123, 679 => 122, 676 => 120, 674 => 119, 664 => 118, 655 => 114, 653 => 113, 651 => 112, 649 => 111, 647 => 110, 643 => 109, 640 => 107, 638 => 106, 628 => 105, 610 => 102, 600 => 101, 582 => 98, 572 => 97, 532 => 92, 529 => 90, 527 => 89, 525 => 88, 520 => 87, 518 => 86, 501 => 85, 491 => 84, 483 => 81, 481 => 80, 479 => 79, 477 => 78, 469 => 74, 463 => 72, 461 => 71, 459 => 70, 457 => 69, 454 => 68, 452 => 67, 450 => 66, 430 => 64, 428 => 63, 421 => 62, 418 => 60, 416 => 59, 406 => 58, 398 => 55, 392 => 53, 390 => 52, 386 => 51, 382 => 50, 372 => 49, 363 => 45, 360 => 43, 358 => 42, 348 => 41, 336 => 38, 326 => 37, 318 => 34, 315 => 32, 313 => 31, 303 => 30, 295 => 27, 293 => 26, 291 => 25, 288 => 23, 286 => 22, 282 => 21, 272 => 20, 254 => 17, 251 => 15, 249 => 13, 247 => 12, 237 => 11, 228 => 7, 225 => 5, 223 => 4, 213 => 3, 205 => 477, 203 => 472, 201 => 467, 199 => 460, 197 => 454, 194 => 451, 192 => 430, 190 => 420, 188 => 413, 186 => 399, 184 => 393, 182 => 387, 180 => 381, 178 => 368, 176 => 360, 173 => 357, 171 => 342, 168 => 341, 166 => 333, 163 => 332, 161 => 329, 159 => 303, 157 => 289, 155 => 276, 153 => 271, 151 => 266, 149 => 261, 147 => 256, 145 => 228, 143 => 223, 141 => 218, 139 => 213, 137 => 208, 135 => 203, 133 => 198, 131 => 193, 129 => 189, 127 => 184, 125 => 178, 123 => 143, 121 => 132, 119 => 118, 117 => 105, 115 => 101, 113 => 97, 111 => 84, 109 => 58, 107 => 49, 105 => 41, 103 => 37, 101 => 30, 99 => 20, 97 => 11, 95 => 3,); } public function getSourceContext(): Source { return new Source("{# Widgets #} {%- block form_widget -%} {% if compound %} {{- block('form_widget_compound') -}} {% else %} {{- block('form_widget_simple') -}} {% endif %} {%- endblock form_widget -%} {%- block form_widget_simple -%} {%- set type = type|default('text') -%} {%- if type == 'range' or type == 'color' -%} {# Attribute \"required\" is not supported #} {%- set required = false -%} {%- endif -%} {%- endblock form_widget_simple -%} {%- block form_widget_compound -%}
{%- if form is rootform -%} {{ form_errors(form) }} {%- endif -%} {{- block('form_rows') -}} {{- form_rest(form) -}}
{%- endblock form_widget_compound -%} {%- block collection_widget -%} {% if prototype is defined and not prototype.rendered %} {%- set attr = attr|merge({'data-prototype': form_row(prototype) }) -%} {% endif %} {{- block('form_widget') -}} {%- endblock collection_widget -%} {%- block textarea_widget -%} {%- endblock textarea_widget -%} {%- block choice_widget -%} {% if expanded %} {{- block('choice_widget_expanded') -}} {% else %} {{- block('choice_widget_collapsed') -}} {% endif %} {%- endblock choice_widget -%} {%- block choice_widget_expanded -%}
{%- for child in form %} {{- form_widget(child) -}} {{- form_label(child, null, {translation_domain: choice_translation_domain}) -}} {% endfor -%}
{%- endblock choice_widget_expanded -%} {%- block choice_widget_collapsed -%} {%- if required and placeholder is none and not placeholder_in_choices and not multiple and (attr.size is not defined or attr.size <= 1) -%} {% set required = false %} {%- endif -%} {%- endblock choice_widget_collapsed -%} {%- block choice_widget_options -%} {% for group_label, choice in options %} {%- if choice is iterable -%} {% set options = choice %} {{- block('choice_widget_options') -}} {%- else -%} {%- endif -%} {% endfor %} {%- endblock choice_widget_options -%} {%- block checkbox_widget -%} {%- endblock checkbox_widget -%} {%- block radio_widget -%} {%- endblock radio_widget -%} {%- block datetime_widget -%} {% if widget == 'single_text' %} {{- block('form_widget_simple') -}} {%- else -%}
{{- form_errors(form.date) -}} {{- form_errors(form.time) -}} {{- form_widget(form.date) -}} {{- form_widget(form.time) -}}
{%- endif -%} {%- endblock datetime_widget -%} {%- block date_widget -%} {%- if widget == 'single_text' -%} {{ block('form_widget_simple') }} {%- else -%}
{{- date_pattern|replace({ '{{ year }}': form_widget(form.year), '{{ month }}': form_widget(form.month), '{{ day }}': form_widget(form.day), })|raw -}}
{%- endif -%} {%- endblock date_widget -%} {%- block time_widget -%} {%- if widget == 'single_text' -%} {{ block('form_widget_simple') }} {%- else -%} {%- set vars = widget == 'text' ? { 'attr': { 'size': 1 }} : {} -%}
{{ form_widget(form.hour, vars) }}{% if with_minutes %}:{{ form_widget(form.minute, vars) }}{% endif %}{% if with_seconds %}:{{ form_widget(form.second, vars) }}{% endif %}
{%- endif -%} {%- endblock time_widget -%} {%- block dateinterval_widget -%} {%- if widget == 'single_text' -%} {{- block('form_widget_simple') -}} {%- else -%}
{{- form_errors(form) -}} {%- if with_years %}{% endif -%} {%- if with_months %}{% endif -%} {%- if with_weeks %}{% endif -%} {%- if with_days %}{% endif -%} {%- if with_hours %}{% endif -%} {%- if with_minutes %}{% endif -%} {%- if with_seconds %}{% endif -%} {%- if with_years %}{% endif -%} {%- if with_months %}{% endif -%} {%- if with_weeks %}{% endif -%} {%- if with_days %}{% endif -%} {%- if with_hours %}{% endif -%} {%- if with_minutes %}{% endif -%} {%- if with_seconds %}{% endif -%}
{{ form_label(form.years) }}{{ form_label(form.months) }}{{ form_label(form.weeks) }}{{ form_label(form.days) }}{{ form_label(form.hours) }}{{ form_label(form.minutes) }}{{ form_label(form.seconds) }}
{{ form_widget(form.years) }}{{ form_widget(form.months) }}{{ form_widget(form.weeks) }}{{ form_widget(form.days) }}{{ form_widget(form.hours) }}{{ form_widget(form.minutes) }}{{ form_widget(form.seconds) }}
{%- if with_invert %}{{ form_widget(form.invert) }}{% endif -%}
{%- endif -%} {%- endblock dateinterval_widget -%} {%- block number_widget -%} {# type=\"number\" doesn't work with floats in localized formats #} {%- set type = type|default('text') -%} {{ block('form_widget_simple') }} {%- endblock number_widget -%} {%- block integer_widget -%} {%- set type = type|default('number') -%} {{ block('form_widget_simple') }} {%- endblock integer_widget -%} {%- block money_widget -%} {{ money_pattern|form_encode_currency(block('form_widget_simple')) }} {%- endblock money_widget -%} {%- block url_widget -%} {%- set type = type|default('url') -%} {{ block('form_widget_simple') }} {%- endblock url_widget -%} {%- block search_widget -%} {%- set type = type|default('search') -%} {{ block('form_widget_simple') }} {%- endblock search_widget -%} {%- block percent_widget -%} {%- set type = type|default('text') -%} {{ block('form_widget_simple') }}{% if symbol %} {{ symbol|default('%') }}{% endif %} {%- endblock percent_widget -%} {%- block password_widget -%} {%- set type = type|default('password') -%} {{ block('form_widget_simple') }} {%- endblock password_widget -%} {%- block hidden_widget -%} {%- set type = type|default('hidden') -%} {{ block('form_widget_simple') }} {%- endblock hidden_widget -%} {%- block email_widget -%} {%- set type = type|default('email') -%} {{ block('form_widget_simple') }} {%- endblock email_widget -%} {%- block range_widget -%} {% set type = type|default('range') %} {{- block('form_widget_simple') -}} {%- endblock range_widget %} {%- block button_widget -%} {%- if label is empty -%} {%- if label_format is not empty -%} {% set label = label_format|replace({ '%name%': name, '%id%': id, }) %} {%- elseif label is not same as(false) -%} {% set label = name|humanize %} {%- endif -%} {%- endif -%} {%- endblock button_widget -%} {%- block submit_widget -%} {%- set type = type|default('submit') -%} {{ block('button_widget') }} {%- endblock submit_widget -%} {%- block reset_widget -%} {%- set type = type|default('reset') -%} {{ block('button_widget') }} {%- endblock reset_widget -%} {%- block tel_widget -%} {%- set type = type|default('tel') -%} {{ block('form_widget_simple') }} {%- endblock tel_widget -%} {%- block color_widget -%} {%- set type = type|default('color') -%} {{ block('form_widget_simple') }} {%- endblock color_widget -%} {%- block week_widget -%} {%- if widget == 'single_text' -%} {{ block('form_widget_simple') }} {%- else -%} {%- set vars = widget == 'text' ? { 'attr': { 'size': 1 }} : {} -%}
{{ form_widget(form.year, vars) }}-{{ form_widget(form.week, vars) }}
{%- endif -%} {%- endblock week_widget -%} {# Labels #} {%- block form_label -%} {% if label is not same as(false) -%} {% if not compound -%} {% set label_attr = label_attr|merge({'for': id}) %} {%- endif -%} {% if required -%} {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' required')|trim}) %} {%- endif -%} <{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %}> {{- block('form_label_content') -}} {%- endif -%} {%- endblock form_label -%} {%- block form_label_content -%} {%- if label is empty -%} {%- if label_format is not empty -%} {% set label = label_format|replace({ '%name%': name, '%id%': id, }) %} {%- else -%} {% set label = name|humanize %} {%- endif -%} {%- endif -%} {%- if translation_domain is same as(false) -%} {%- if label_html is same as(false) -%} {{- label -}} {%- else -%} {{- label|raw -}} {%- endif -%} {%- else -%} {%- if label_html is same as(false) -%} {{- label|trans(label_translation_parameters, translation_domain) -}} {%- else -%} {{- label|trans(label_translation_parameters, translation_domain)|raw -}} {%- endif -%} {%- endif -%} {%- endblock form_label_content -%} {%- block button_label -%}{%- endblock -%} {# Help #} {% block form_help -%} {%- if help is not empty -%} {%- set help_attr = help_attr|merge({class: (help_attr.class|default('') ~ ' help-text')|trim}) -%} <{{ element|default('div') }} id=\"{{ id }}_help\"{% with { attr: help_attr } %}{{ block('attributes') }}{% endwith %}> {{- block('form_help_content') -}} {%- endif -%} {%- endblock form_help %} {% block form_help_content -%} {%- if translation_domain is same as(false) -%} {%- if help_html is same as(false) -%} {{- help -}} {%- else -%} {{- help|raw -}} {%- endif -%} {%- else -%} {%- if help_html is same as(false) -%} {{- help|trans(help_translation_parameters, translation_domain) -}} {%- else -%} {{- help|trans(help_translation_parameters, translation_domain)|raw -}} {%- endif -%} {%- endif -%} {%- endblock form_help_content %} {# Rows #} {%- block repeated_row -%} {# No need to render the errors here, as all errors are mapped to the first child (see RepeatedTypeValidatorExtension). #} {{- block('form_rows') -}} {%- endblock repeated_row -%} {%- block form_row -%} {%- set widget_attr = {} -%} {%- if help is not empty -%} {%- set widget_attr = {attr: {'aria-describedby': id ~\"_help\"}} -%} {%- endif -%} {{- form_label(form) -}} {{- form_errors(form) -}} {{- form_widget(form, widget_attr) -}} {{- form_help(form) -}} {%- endblock form_row -%} {%- block button_row -%} {{- form_widget(form) -}} {%- endblock button_row -%} {%- block hidden_row -%} {{ form_widget(form) }} {%- endblock hidden_row -%} {# Misc #} {%- block form -%} {{ form_start(form) }} {{- form_widget(form) -}} {{ form_end(form) }} {%- endblock form -%} {%- block form_start -%} {%- do form.setMethodRendered() -%} {% set method = method|upper %} {%- if method in [\"GET\", \"POST\"] -%} {% set form_method = method %} {%- else -%} {% set form_method = \"POST\" %} {%- endif -%} {%- if form_method != method -%} {%- endif -%} {%- endblock form_start -%} {%- block form_end -%} {%- if not render_rest is defined or render_rest -%} {{ form_rest(form) }} {%- endif -%} {%- endblock form_end -%} {%- block form_errors -%} {%- if errors|length > 0 -%}
    {%- for error in errors -%}
  • {{ error.message }}
  • {%- endfor -%}
{%- endif -%} {%- endblock form_errors -%} {%- block form_rest -%} {% for child in form -%} {% if not child.rendered %} {{- form_row(child) -}} {% endif %} {%- endfor -%} {% if not form.methodRendered and form is rootform %} {%- do form.setMethodRendered() -%} {% set method = method|upper %} {%- if method in [\"GET\", \"POST\"] -%} {% set form_method = method %} {%- else -%} {% set form_method = \"POST\" %} {%- endif -%} {%- if form_method != method -%} {%- endif -%} {% endif -%} {% endblock form_rest %} {# Support #} {%- block form_rows -%} {% for child in form|filter(child => not child.rendered) %} {{- form_row(child) -}} {% endfor %} {%- endblock form_rows -%} {%- block widget_attributes -%} id=\"{{ id }}\" name=\"{{ full_name }}\" {%- if disabled %} disabled=\"disabled\"{% endif -%} {%- if required %} required=\"required\"{% endif -%} {{ block('attributes') }} {%- endblock widget_attributes -%} {%- block widget_container_attributes -%} {%- if id is not empty %}id=\"{{ id }}\"{% endif -%} {{ block('attributes') }} {%- endblock widget_container_attributes -%} {%- block button_attributes -%} id=\"{{ id }}\" name=\"{{ full_name }}\"{% if disabled %} disabled=\"disabled\"{% endif -%} {{ block('attributes') }} {%- endblock button_attributes -%} {% block attributes -%} {%- for attrname, attrvalue in attr -%} {{- \" \" -}} {%- if attrname in ['placeholder', 'title'] -%} {{- attrname }}=\"{{ translation_domain is same as(false) or attrvalue is null ? attrvalue : attrvalue|trans(attr_translation_parameters, translation_domain) }}\" {%- elseif attrvalue is same as(true) -%} {{- attrname }}=\"{{ attrname }}\" {%- elseif attrvalue is not same as(false) -%} {{- attrname }}=\"{{ attrvalue }}\" {%- endif -%} {%- endfor -%} {%- endblock attributes -%} ", "form_div_layout.html.twig", "/home/skylar/Projects/mycomments-api/vendor/symfony/twig-bridge/Resources/views/Form/form_div_layout.html.twig"); } }