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'], 'form_label' => [$this, 'block_form_label'], 'button_label' => [$this, 'block_button_label'], '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 = []) { // line 3 $this->displayBlock('form_widget', $context, $blocks); // line 11 $this->displayBlock('form_widget_simple', $context, $blocks); // line 16 $this->displayBlock('form_widget_compound', $context, $blocks); // line 26 $this->displayBlock('collection_widget', $context, $blocks); // line 33 $this->displayBlock('textarea_widget', $context, $blocks); // line 37 $this->displayBlock('choice_widget', $context, $blocks); // line 45 $this->displayBlock('choice_widget_expanded', $context, $blocks); // line 54 $this->displayBlock('choice_widget_collapsed', $context, $blocks); // line 74 $this->displayBlock('choice_widget_options', $context, $blocks); // line 87 $this->displayBlock('checkbox_widget', $context, $blocks); // line 91 $this->displayBlock('radio_widget', $context, $blocks); // line 95 $this->displayBlock('datetime_widget', $context, $blocks); // line 108 $this->displayBlock('date_widget', $context, $blocks); // line 122 $this->displayBlock('time_widget', $context, $blocks); // line 133 $this->displayBlock('dateinterval_widget', $context, $blocks); // line 168 $this->displayBlock('number_widget', $context, $blocks); // line 174 $this->displayBlock('integer_widget', $context, $blocks); // line 179 $this->displayBlock('money_widget', $context, $blocks); // line 183 $this->displayBlock('url_widget', $context, $blocks); // line 188 $this->displayBlock('search_widget', $context, $blocks); // line 193 $this->displayBlock('percent_widget', $context, $blocks); // line 198 $this->displayBlock('password_widget', $context, $blocks); // line 203 $this->displayBlock('hidden_widget', $context, $blocks); // line 208 $this->displayBlock('email_widget', $context, $blocks); // line 213 $this->displayBlock('range_widget', $context, $blocks); // line 218 $this->displayBlock('button_widget', $context, $blocks); // line 232 $this->displayBlock('submit_widget', $context, $blocks); // line 237 $this->displayBlock('reset_widget', $context, $blocks); // line 242 $this->displayBlock('tel_widget', $context, $blocks); // line 247 $this->displayBlock('color_widget', $context, $blocks); // line 254 $this->displayBlock('form_label', $context, $blocks); // line 282 $this->displayBlock('button_label', $context, $blocks); // line 286 $this->displayBlock('repeated_row', $context, $blocks); // line 294 $this->displayBlock('form_row', $context, $blocks); // line 302 $this->displayBlock('button_row', $context, $blocks); // line 308 $this->displayBlock('hidden_row', $context, $blocks); // line 314 $this->displayBlock('form', $context, $blocks); // line 320 $this->displayBlock('form_start', $context, $blocks); // line 334 $this->displayBlock('form_end', $context, $blocks); // line 341 $this->displayBlock('form_errors', $context, $blocks); // line 351 $this->displayBlock('form_rest', $context, $blocks); // line 372 echo " "; // line 375 $this->displayBlock('form_rows', $context, $blocks); // line 381 $this->displayBlock('widget_attributes', $context, $blocks); // line 388 $this->displayBlock('widget_container_attributes', $context, $blocks); // line 393 $this->displayBlock('button_attributes', $context, $blocks); // line 398 $this->displayBlock('attributes', $context, $blocks); } // line 3 public function block_form_widget($context, array $blocks = []) { // line 4 if (($context["compound"] ?? null)) { // line 5 $this->displayBlock("form_widget_compound", $context, $blocks); } else { // line 7 $this->displayBlock("form_widget_simple", $context, $blocks); } } // line 11 public function block_form_widget_simple($context, array $blocks = []) { // line 12 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "text")) : ("text")); // line 13 echo "env, ($context["type"] ?? null), "html", null, true); echo "\" "; $this->displayBlock("widget_attributes", $context, $blocks); echo " "; if ( !twig_test_empty(($context["value"] ?? null))) { echo "value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" "; } echo "/>"; } // line 16 public function block_form_widget_compound($context, array $blocks = []) { // line 17 echo "
displayBlock("widget_container_attributes", $context, $blocks); echo ">"; // line 18 if (Symfony\Bridge\Twig\Extension\twig_is_root_form(($context["form"] ?? null))) { // line 19 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); } // line 21 $this->displayBlock("form_rows", $context, $blocks); // line 22 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'rest'); // line 23 echo "
"; } // line 26 public function block_collection_widget($context, array $blocks = []) { // line 27 if ((array_key_exists("prototype", $context) && !$this->getAttribute(($context["prototype"] ?? null), "rendered", []))) { // line 28 $context["attr"] = twig_array_merge(($context["attr"] ?? null), ["data-prototype" => $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["prototype"] ?? null), 'row')]); } // line 30 $this->displayBlock("form_widget", $context, $blocks); } // line 33 public function block_textarea_widget($context, array $blocks = []) { // line 34 echo ""; } // line 37 public function block_choice_widget($context, array $blocks = []) { // line 38 if (($context["expanded"] ?? null)) { // line 39 $this->displayBlock("choice_widget_expanded", $context, $blocks); } else { // line 41 $this->displayBlock("choice_widget_collapsed", $context, $blocks); } } // line 45 public function block_choice_widget_expanded($context, array $blocks = []) { // line 46 echo "
displayBlock("widget_container_attributes", $context, $blocks); echo ">"; // line 47 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["form"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 48 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget'); // line 49 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'label', ["translation_domain" => ($context["choice_translation_domain"] ?? null)]); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 51 echo "
"; } // line 54 public function block_choice_widget_collapsed($context, array $blocks = []) { // line 55 if (((((($context["required"] ?? null) && (null === ($context["placeholder"] ?? null))) && !($context["placeholder_in_choices"] ?? null)) && !($context["multiple"] ?? null)) && ( !$this->getAttribute(($context["attr"] ?? null), "size", [], "any", true, true) || ($this->getAttribute(($context["attr"] ?? null), "size", []) <= 1)))) { // line 56 $context["required"] = false; } // line 58 echo ""; } // line 74 public function block_choice_widget_options($context, array $blocks = []) { // line 75 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["options"] ?? null)); $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 76 if (twig_test_iterable($context["choice"])) { // line 77 echo "env, (((($context["choice_translation_domain"] ?? null) === false)) ? ($context["group_label"]) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans($context["group_label"], [], ($context["choice_translation_domain"] ?? null)))), "html", null, true); echo "\"> "; // line 78 $context["options"] = $context["choice"]; // line 79 $this->displayBlock("choice_widget_options", $context, $blocks); // line 80 echo ""; } else { // line 82 echo ""; } ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['group_label'], $context['choice'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } // line 87 public function block_checkbox_widget($context, array $blocks = []) { // line 88 echo "displayBlock("widget_attributes", $context, $blocks); if (array_key_exists("value", $context)) { echo " value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\""; } if (($context["checked"] ?? null)) { echo " checked=\"checked\""; } echo " />"; } // line 91 public function block_radio_widget($context, array $blocks = []) { // line 92 echo "displayBlock("widget_attributes", $context, $blocks); if (array_key_exists("value", $context)) { echo " value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\""; } if (($context["checked"] ?? null)) { echo " checked=\"checked\""; } echo " />"; } // line 95 public function block_datetime_widget($context, array $blocks = []) { // line 96 if ((($context["widget"] ?? null) == "single_text")) { // line 97 $this->displayBlock("form_widget_simple", $context, $blocks); } else { // line 99 echo "
displayBlock("widget_container_attributes", $context, $blocks); echo ">"; // line 100 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "date", []), 'errors'); // line 101 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "time", []), 'errors'); // line 102 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "date", []), 'widget'); // line 103 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "time", []), 'widget'); // line 104 echo "
"; } } // line 108 public function block_date_widget($context, array $blocks = []) { // line 109 if ((($context["widget"] ?? null) == "single_text")) { // line 110 $this->displayBlock("form_widget_simple", $context, $blocks); } else { // line 112 echo "
displayBlock("widget_container_attributes", $context, $blocks); echo ">"; // line 113 echo twig_replace_filter(($context["date_pattern"] ?? null), ["{{ year }}" => // line 114 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "year", []), 'widget'), "{{ month }}" => // line 115 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "month", []), 'widget'), "{{ day }}" => // line 116 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "day", []), 'widget')]); // line 118 echo "
"; } } // line 122 public function block_time_widget($context, array $blocks = []) { // line 123 if ((($context["widget"] ?? null) == "single_text")) { // line 124 $this->displayBlock("form_widget_simple", $context, $blocks); } else { // line 126 $context["vars"] = (((($context["widget"] ?? null) == "text")) ? (["attr" => ["size" => 1]]) : ([])); // line 127 echo "
displayBlock("widget_container_attributes", $context, $blocks); echo "> "; // line 128 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "hour", []), 'widget', ($context["vars"] ?? null)); if (($context["with_minutes"] ?? null)) { echo ":"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "minute", []), 'widget', ($context["vars"] ?? null)); } if (($context["with_seconds"] ?? null)) { echo ":"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "second", []), 'widget', ($context["vars"] ?? null)); } // line 129 echo "
"; } } // line 133 public function block_dateinterval_widget($context, array $blocks = []) { // line 134 if ((($context["widget"] ?? null) == "single_text")) { // line 135 $this->displayBlock("form_widget_simple", $context, $blocks); } else { // line 137 echo "
displayBlock("widget_container_attributes", $context, $blocks); echo ">"; // line 138 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 139 echo "env, ((array_key_exists("table_class", $context)) ? (_twig_default_filter(($context["table_class"] ?? null), "")) : ("")), "html", null, true); echo "\" role=\"presentation\"> "; // line 142 if (($context["with_years"] ?? null)) { echo ""; } // line 143 if (($context["with_months"] ?? null)) { echo ""; } // line 144 if (($context["with_weeks"] ?? null)) { echo ""; } // line 145 if (($context["with_days"] ?? null)) { echo ""; } // line 146 if (($context["with_hours"] ?? null)) { echo ""; } // line 147 if (($context["with_minutes"] ?? null)) { echo ""; } // line 148 if (($context["with_seconds"] ?? null)) { echo ""; } // line 149 echo ""; // line 153 if (($context["with_years"] ?? null)) { echo ""; } // line 154 if (($context["with_months"] ?? null)) { echo ""; } // line 155 if (($context["with_weeks"] ?? null)) { echo ""; } // line 156 if (($context["with_days"] ?? null)) { echo ""; } // line 157 if (($context["with_hours"] ?? null)) { echo ""; } // line 158 if (($context["with_minutes"] ?? null)) { echo ""; } // line 159 if (($context["with_seconds"] ?? null)) { echo ""; } // line 160 echo "
"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "years", []), 'label'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "months", []), 'label'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "weeks", []), 'label'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "days", []), 'label'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "hours", []), 'label'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "minutes", []), 'label'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "seconds", []), 'label'); echo "
"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "years", []), 'widget'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "months", []), 'widget'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "weeks", []), 'widget'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "days", []), 'widget'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "hours", []), 'widget'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "minutes", []), 'widget'); echo ""; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "seconds", []), 'widget'); echo "
"; // line 163 if (($context["with_invert"] ?? null)) { echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "invert", []), 'widget'); } // line 164 echo "
"; } } // line 168 public function block_number_widget($context, array $blocks = []) { // line 170 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "text")) : ("text")); // line 171 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 174 public function block_integer_widget($context, array $blocks = []) { // line 175 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "number")) : ("number")); // line 176 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 179 public function block_money_widget($context, array $blocks = []) { // line 180 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, ($context["money_pattern"] ?? null), $this->renderBlock("form_widget_simple", $context, $blocks)); } // line 183 public function block_url_widget($context, array $blocks = []) { // line 184 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "url")) : ("url")); // line 185 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 188 public function block_search_widget($context, array $blocks = []) { // line 189 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "search")) : ("search")); // line 190 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 193 public function block_percent_widget($context, array $blocks = []) { // line 194 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "text")) : ("text")); // line 195 $this->displayBlock("form_widget_simple", $context, $blocks); echo " %"; } // line 198 public function block_password_widget($context, array $blocks = []) { // line 199 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "password")) : ("password")); // line 200 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 203 public function block_hidden_widget($context, array $blocks = []) { // line 204 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "hidden")) : ("hidden")); // line 205 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 208 public function block_email_widget($context, array $blocks = []) { // line 209 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "email")) : ("email")); // line 210 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 213 public function block_range_widget($context, array $blocks = []) { // line 214 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "range")) : ("range")); // line 215 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 218 public function block_button_widget($context, array $blocks = []) { // line 219 if (twig_test_empty(($context["label"] ?? null))) { // line 220 if ( !twig_test_empty(($context["label_format"] ?? null))) { // line 221 $context["label"] = twig_replace_filter(($context["label_format"] ?? null), ["%name%" => // line 222 ($context["name"] ?? null), "%id%" => // line 223 ($context["id"] ?? null)]); } elseif ( !( // line 225 ($context["label"] ?? null) === false)) { // line 226 $context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? null)); } } // line 229 echo ""; } // line 232 public function block_submit_widget($context, array $blocks = []) { // line 233 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "submit")) : ("submit")); // line 234 $this->displayBlock("button_widget", $context, $blocks); } // line 237 public function block_reset_widget($context, array $blocks = []) { // line 238 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "reset")) : ("reset")); // line 239 $this->displayBlock("button_widget", $context, $blocks); } // line 242 public function block_tel_widget($context, array $blocks = []) { // line 243 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "tel")) : ("tel")); // line 244 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 247 public function block_color_widget($context, array $blocks = []) { // line 248 $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter(($context["type"] ?? null), "color")) : ("color")); // line 249 $this->displayBlock("form_widget_simple", $context, $blocks); } // line 254 public function block_form_label($context, array $blocks = []) { // line 255 if ( !(($context["label"] ?? null) === false)) { // line 256 if ( !($context["compound"] ?? null)) { // line 257 $context["label_attr"] = twig_array_merge(($context["label_attr"] ?? null), ["for" => ($context["id"] ?? null)]); } // line 259 if (($context["required"] ?? null)) { // line 260 $context["label_attr"] = twig_array_merge(($context["label_attr"] ?? null), ["class" => twig_trim_filter(((($this->getAttribute(($context["label_attr"] ?? null), "class", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["label_attr"] ?? null), "class", []), "")) : ("")) . " required"))]); } // line 262 if (twig_test_empty(($context["label"] ?? null))) { // line 263 if ( !twig_test_empty(($context["label_format"] ?? null))) { // line 264 $context["label"] = twig_replace_filter(($context["label_format"] ?? null), ["%name%" => // line 265 ($context["name"] ?? null), "%id%" => // line 266 ($context["id"] ?? null)]); } else { // line 269 $context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? null)); } } // line 272 echo "<"; echo twig_escape_filter($this->env, ((array_key_exists("element", $context)) ? (_twig_default_filter(($context["element"] ?? null), "label")) : ("label")), "html", null, true); if (($context["label_attr"] ?? null)) { $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ["attr" => ($context["label_attr"] ?? null)]; if (!twig_test_iterable($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 272, $this->getSourceContext()); } $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = twig_to_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144); $context['_parent'] = $context; $context = $this->env->mergeGlobals(array_merge($context, $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)); $this->displayBlock("attributes", $context, $blocks); $context = $context['_parent']; } echo ">"; // line 273 if ((($context["translation_domain"] ?? null) === false)) { // line 274 echo twig_escape_filter($this->env, ($context["label"] ?? null), "html", null, true); } else { // line 276 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans(($context["label"] ?? null), [], ($context["translation_domain"] ?? null)), "html", null, true); } // line 278 echo "env, ((array_key_exists("element", $context)) ? (_twig_default_filter(($context["element"] ?? null), "label")) : ("label")), "html", null, true); echo ">"; } } // line 282 public function block_button_label($context, array $blocks = []) { } // line 286 public function block_repeated_row($context, array $blocks = []) { // line 291 $this->displayBlock("form_rows", $context, $blocks); } // line 294 public function block_form_row($context, array $blocks = []) { // line 295 echo "
"; // line 296 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label'); // line 297 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 298 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 299 echo "
"; } // line 302 public function block_button_row($context, array $blocks = []) { // line 303 echo "
"; // line 304 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 305 echo "
"; } // line 308 public function block_hidden_row($context, array $blocks = []) { // line 309 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); } // line 314 public function block_form($context, array $blocks = []) { // line 315 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_start'); // line 316 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 317 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_end'); } // line 320 public function block_form_start($context, array $blocks = []) { // line 321 $this->getAttribute(($context["form"] ?? null), "setMethodRendered", [], "method"); // line 322 $context["method"] = twig_upper_filter($this->env, ($context["method"] ?? null)); // line 323 if (twig_in_filter(($context["method"] ?? null), [0 => "GET", 1 => "POST"])) { // line 324 $context["form_method"] = ($context["method"] ?? null); } else { // line 326 $context["form_method"] = "POST"; } // line 328 echo "env, ($context["name"] ?? null), "html", null, true); echo "\""; } echo " method=\""; echo twig_escape_filter($this->env, twig_lower_filter($this->env, ($context["form_method"] ?? null)), "html", null, true); echo "\""; if ((($context["action"] ?? null) != "")) { echo " action=\""; echo twig_escape_filter($this->env, ($context["action"] ?? null), "html", null, true); echo "\""; } $this->displayBlock("attributes", $context, $blocks); if (($context["multipart"] ?? null)) { echo " enctype=\"multipart/form-data\""; } echo ">"; // line 329 if ((($context["form_method"] ?? null) != ($context["method"] ?? null))) { // line 330 echo "env, ($context["method"] ?? null), "html", null, true); echo "\" />"; } } // line 334 public function block_form_end($context, array $blocks = []) { // line 335 if (( !array_key_exists("render_rest", $context) || ($context["render_rest"] ?? null))) { // line 336 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'rest'); } // line 338 echo ""; } // line 341 public function block_form_errors($context, array $blocks = []) { // line 342 if ((twig_length_filter($this->env, ($context["errors"] ?? null)) > 0)) { // line 343 echo ""; } } // line 351 public function block_form_rest($context, array $blocks = []) { // line 352 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["form"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 353 if ( !$this->getAttribute($context["child"], "rendered", [])) { // line 354 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'row'); } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 358 if (( !$this->getAttribute(($context["form"] ?? null), "methodRendered", []) && Symfony\Bridge\Twig\Extension\twig_is_root_form(($context["form"] ?? null)))) { // line 359 $this->getAttribute(($context["form"] ?? null), "setMethodRendered", [], "method"); // line 360 $context["method"] = twig_upper_filter($this->env, ($context["method"] ?? null)); // line 361 if (twig_in_filter(($context["method"] ?? null), [0 => "GET", 1 => "POST"])) { // line 362 $context["form_method"] = ($context["method"] ?? null); } else { // line 364 $context["form_method"] = "POST"; } // line 367 if ((($context["form_method"] ?? null) != ($context["method"] ?? null))) { // line 368 echo "env, ($context["method"] ?? null), "html", null, true); echo "\" />"; } } } // line 375 public function block_form_rows($context, array $blocks = []) { // line 376 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["form"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 377 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'row'); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } // line 381 public function block_widget_attributes($context, array $blocks = []) { // line 382 echo "id=\""; echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "\" name=\""; echo twig_escape_filter($this->env, ($context["full_name"] ?? null), "html", null, true); echo "\""; // line 383 if (($context["disabled"] ?? null)) { echo " disabled=\"disabled\""; } // line 384 if (($context["required"] ?? null)) { echo " required=\"required\""; } // line 385 $this->displayBlock("attributes", $context, $blocks); } // line 388 public function block_widget_container_attributes($context, array $blocks = []) { // line 389 if ( !twig_test_empty(($context["id"] ?? null))) { echo "id=\""; echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "\""; } // line 390 $this->displayBlock("attributes", $context, $blocks); } // line 393 public function block_button_attributes($context, array $blocks = []) { // line 394 echo "id=\""; echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "\" name=\""; echo twig_escape_filter($this->env, ($context["full_name"] ?? null), "html", null, true); echo "\""; if (($context["disabled"] ?? null)) { echo " disabled=\"disabled\""; } // line 395 $this->displayBlock("attributes", $context, $blocks); } // line 398 public function block_attributes($context, array $blocks = []) { // line 399 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["attr"] ?? null)); foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) { // line 400 echo " "; // line 401 if (twig_in_filter($context["attrname"], [0 => "placeholder", 1 => "title"])) { // line 402 echo twig_escape_filter($this->env, $context["attrname"], "html", null, true); echo "=\""; echo twig_escape_filter($this->env, ((((($context["translation_domain"] ?? null) === false) || (null === $context["attrvalue"]))) ? ($context["attrvalue"]) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans($context["attrvalue"], [], ($context["translation_domain"] ?? null)))), "html", null, true); echo "\""; } elseif (( // line 403 $context["attrvalue"] === true)) { // line 404 echo twig_escape_filter($this->env, $context["attrname"], "html", null, true); echo "=\""; echo twig_escape_filter($this->env, $context["attrname"], "html", null, true); echo "\""; } elseif ( !( // line 405 $context["attrvalue"] === false)) { // line 406 echo twig_escape_filter($this->env, $context["attrname"], "html", null, true); echo "=\""; echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true); echo "\""; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "form_div_layout.html.twig"; } public function getDebugInfo() { return array ( 1111 => 406, 1109 => 405, 1104 => 404, 1102 => 403, 1097 => 402, 1095 => 401, 1093 => 400, 1089 => 399, 1086 => 398, 1082 => 395, 1073 => 394, 1070 => 393, 1066 => 390, 1060 => 389, 1057 => 388, 1053 => 385, 1049 => 384, 1045 => 383, 1039 => 382, 1036 => 381, 1028 => 377, 1024 => 376, 1021 => 375, 1013 => 368, 1011 => 367, 1008 => 364, 1005 => 362, 1003 => 361, 1001 => 360, 999 => 359, 997 => 358, 990 => 354, 988 => 353, 984 => 352, 981 => 351, 976 => 347, 968 => 345, 964 => 344, 962 => 343, 960 => 342, 957 => 341, 953 => 338, 950 => 336, 948 => 335, 945 => 334, 938 => 330, 936 => 329, 916 => 328, 913 => 326, 910 => 324, 908 => 323, 906 => 322, 904 => 321, 901 => 320, 897 => 317, 895 => 316, 893 => 315, 890 => 314, 886 => 309, 883 => 308, 879 => 305, 877 => 304, 875 => 303, 872 => 302, 868 => 299, 866 => 298, 864 => 297, 862 => 296, 860 => 295, 857 => 294, 853 => 291, 850 => 286, 845 => 282, 838 => 278, 835 => 276, 832 => 274, 830 => 273, 815 => 272, 811 => 269, 808 => 266, 807 => 265, 806 => 264, 804 => 263, 802 => 262, 799 => 260, 797 => 259, 794 => 257, 792 => 256, 790 => 255, 787 => 254, 783 => 249, 781 => 248, 778 => 247, 774 => 244, 772 => 243, 769 => 242, 765 => 239, 763 => 238, 760 => 237, 756 => 234, 754 => 233, 751 => 232, 741 => 229, 737 => 226, 735 => 225, 733 => 223, 732 => 222, 731 => 221, 729 => 220, 727 => 219, 724 => 218, 720 => 215, 718 => 214, 715 => 213, 711 => 210, 709 => 209, 706 => 208, 702 => 205, 700 => 204, 697 => 203, 693 => 200, 691 => 199, 688 => 198, 683 => 195, 681 => 194, 678 => 193, 674 => 190, 672 => 189, 669 => 188, 665 => 185, 663 => 184, 660 => 183, 656 => 180, 653 => 179, 649 => 176, 647 => 175, 644 => 174, 640 => 171, 638 => 170, 635 => 168, 630 => 164, 626 => 163, 622 => 160, 616 => 159, 610 => 158, 604 => 157, 598 => 156, 592 => 155, 586 => 154, 580 => 153, 575 => 149, 569 => 148, 563 => 147, 557 => 146, 551 => 145, 545 => 144, 539 => 143, 533 => 142, 527 => 139, 525 => 138, 521 => 137, 518 => 135, 516 => 134, 513 => 133, 508 => 129, 498 => 128, 493 => 127, 491 => 126, 488 => 124, 486 => 123, 483 => 122, 478 => 118, 476 => 116, 475 => 115, 474 => 114, 473 => 113, 469 => 112, 466 => 110, 464 => 109, 461 => 108, 456 => 104, 454 => 103, 452 => 102, 450 => 101, 448 => 100, 444 => 99, 441 => 97, 439 => 96, 436 => 95, 422 => 92, 419 => 91, 405 => 88, 402 => 87, 366 => 82, 363 => 80, 361 => 79, 359 => 78, 354 => 77, 352 => 76, 335 => 75, 332 => 74, 328 => 71, 326 => 70, 324 => 69, 318 => 66, 316 => 65, 314 => 64, 312 => 63, 310 => 62, 301 => 60, 299 => 59, 292 => 58, 289 => 56, 287 => 55, 284 => 54, 280 => 51, 274 => 49, 272 => 48, 268 => 47, 264 => 46, 261 => 45, 256 => 41, 253 => 39, 251 => 38, 248 => 37, 240 => 34, 237 => 33, 233 => 30, 230 => 28, 228 => 27, 225 => 26, 221 => 23, 219 => 22, 217 => 21, 214 => 19, 212 => 18, 208 => 17, 205 => 16, 191 => 13, 189 => 12, 186 => 11, 181 => 7, 178 => 5, 176 => 4, 173 => 3, 169 => 398, 167 => 393, 165 => 388, 163 => 381, 161 => 375, 158 => 372, 156 => 351, 154 => 341, 152 => 334, 150 => 320, 148 => 314, 146 => 308, 144 => 302, 142 => 294, 140 => 286, 138 => 282, 136 => 254, 134 => 247, 132 => 242, 130 => 237, 128 => 232, 126 => 218, 124 => 213, 122 => 208, 120 => 203, 118 => 198, 116 => 193, 114 => 188, 112 => 183, 110 => 179, 108 => 174, 106 => 168, 104 => 133, 102 => 122, 100 => 108, 98 => 95, 96 => 91, 94 => 87, 92 => 74, 90 => 54, 88 => 45, 86 => 37, 84 => 33, 82 => 26, 80 => 16, 78 => 11, 76 => 3,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("", "form_div_layout.html.twig", "/home/admin/domains/masimmo.pl/public_html/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig"); } }