/
var
/
www
/
html
/
boazapp
/
var
/
cache
/
prod
/
twig
/
66
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* bootstrap_4_layout.html.twig */ class __TwigTemplate_b7b53ad87a246299fa51c0c964f52b69ded69ce876c88cdec1e1e7df15e10402 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; // line 1 $_trait_0 = $this->loadTemplate("bootstrap_base_layout.html.twig", "bootstrap_4_layout.html.twig", 1); if (!$_trait_0->unwrap()->isTraitable()) { throw new RuntimeError('Template "'."bootstrap_base_layout.html.twig".'" cannot be used as a trait.', 1, $this->source); } $_trait_0_blocks = $_trait_0->unwrap()->getBlocks(); $this->traits = $_trait_0_blocks; $this->blocks = array_merge( $this->traits, [ 'money_widget' => [$this, 'block_money_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'], 'percent_widget' => [$this, 'block_percent_widget'], 'file_widget' => [$this, 'block_file_widget'], 'form_widget_simple' => [$this, 'block_form_widget_simple'], 'widget_attributes' => [$this, 'block_widget_attributes'], 'button_widget' => [$this, 'block_button_widget'], 'submit_widget' => [$this, 'block_submit_widget'], 'checkbox_widget' => [$this, 'block_checkbox_widget'], 'radio_widget' => [$this, 'block_radio_widget'], 'choice_widget_expanded' => [$this, 'block_choice_widget_expanded'], 'form_label' => [$this, 'block_form_label'], 'form_label_errors' => [$this, 'block_form_label_errors'], 'checkbox_radio_label' => [$this, 'block_checkbox_radio_label'], 'form_row' => [$this, 'block_form_row'], 'form_errors' => [$this, 'block_form_errors'], 'form_help' => [$this, 'block_form_help'], ] ); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 yield " "; // line 4 yield " "; // line 5 yield from $this->unwrap()->yieldBlock('money_widget', $context, $blocks); // line 26 yield " "; // line 27 yield from $this->unwrap()->yieldBlock('datetime_widget', $context, $blocks); // line 34 yield " "; // line 35 yield from $this->unwrap()->yieldBlock('date_widget', $context, $blocks); // line 42 yield " "; // line 43 yield from $this->unwrap()->yieldBlock('time_widget', $context, $blocks); // line 50 yield " "; // line 51 yield from $this->unwrap()->yieldBlock('dateinterval_widget', $context, $blocks); // line 107 yield " "; // line 108 yield from $this->unwrap()->yieldBlock('percent_widget', $context, $blocks); // line 120 yield " "; // line 121 yield from $this->unwrap()->yieldBlock('file_widget', $context, $blocks); // line 135 yield " "; // line 136 yield from $this->unwrap()->yieldBlock('form_widget_simple', $context, $blocks); // line 147 yield from $this->unwrap()->yieldBlock('widget_attributes', $context, $blocks); // line 154 yield from $this->unwrap()->yieldBlock('button_widget', $context, $blocks); // line 158 yield " "; // line 159 yield from $this->unwrap()->yieldBlock('submit_widget', $context, $blocks); // line 163 yield " "; // line 164 yield from $this->unwrap()->yieldBlock('checkbox_widget', $context, $blocks); // line 183 yield " "; // line 184 yield from $this->unwrap()->yieldBlock('radio_widget', $context, $blocks); // line 198 yield " "; // line 199 yield from $this->unwrap()->yieldBlock('choice_widget_expanded', $context, $blocks); // line 210 yield " "; // line 212 yield " "; // line 213 yield from $this->unwrap()->yieldBlock('form_label', $context, $blocks); // line 257 yield " "; // line 258 yield from $this->unwrap()->yieldBlock('checkbox_radio_label', $context, $blocks); // line 309 yield " "; // line 311 yield " "; // line 312 yield from $this->unwrap()->yieldBlock('form_row', $context, $blocks); // line 326 yield " "; // line 328 yield " "; // line 329 yield from $this->unwrap()->yieldBlock('form_errors', $context, $blocks); // line 340 yield " "; // line 342 yield " "; // line 343 yield from $this->unwrap()->yieldBlock('form_help', $context, $blocks); return; yield ''; } // line 5 public function block_money_widget($context, array $blocks = []) { $macros = $this->macros; // line 6 $context["prepend"] = !(is_string($__internal_compile_0 = ($context["money_pattern"] ?? null)) && is_string($__internal_compile_1 = "{{") && str_starts_with($__internal_compile_0, $__internal_compile_1)); // line 7 $context["append"] = !(is_string($__internal_compile_2 = ($context["money_pattern"] ?? null)) && is_string($__internal_compile_3 = "}}") && str_ends_with($__internal_compile_2, $__internal_compile_3)); // line 8 if ((($context["prepend"] ?? null) || ($context["append"] ?? null))) { // line 9 yield "<div class=\"input-group"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("group_class", $context)) ? (Twig\Extension\CoreExtension::default(($context["group_class"] ?? null), "")) : ("")), "html", null, true); yield "\">"; // line 10 if (($context["prepend"] ?? null)) { // line 11 yield "<div class=\"input-group-prepend\"> <span class=\"input-group-text\">"; // line 12 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, ($context["money_pattern"] ?? null)); yield "</span> </div>"; } // line 15 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); // line 16 if (($context["append"] ?? null)) { // line 17 yield "<div class=\"input-group-append\"> <span class=\"input-group-text\">"; // line 18 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, ($context["money_pattern"] ?? null)); yield "</span> </div>"; } // line 21 yield "</div>"; } else { // line 23 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } return; yield ''; } // line 27 public function block_datetime_widget($context, array $blocks = []) { $macros = $this->macros; // line 28 if (((0 !== CoreExtension::compare(($context["widget"] ?? null), "single_text")) && !($context["valid"] ?? null))) { // line 29 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 29)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 29), "")) : ("")) . " form-control is-invalid"))]); // line 30 $context["valid"] = true; } // line 32 yield from $this->yieldParentBlock("datetime_widget", $context, $blocks); return; yield ''; } // line 35 public function block_date_widget($context, array $blocks = []) { $macros = $this->macros; // line 36 if (((0 !== CoreExtension::compare(($context["widget"] ?? null), "single_text")) && !($context["valid"] ?? null))) { // line 37 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 37)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 37), "")) : ("")) . " form-control is-invalid"))]); // line 38 $context["valid"] = true; } // line 40 yield from $this->yieldParentBlock("date_widget", $context, $blocks); return; yield ''; } // line 43 public function block_time_widget($context, array $blocks = []) { $macros = $this->macros; // line 44 if (((0 !== CoreExtension::compare(($context["widget"] ?? null), "single_text")) && !($context["valid"] ?? null))) { // line 45 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 45)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 45), "")) : ("")) . " form-control is-invalid"))]); // line 46 $context["valid"] = true; } // line 48 yield from $this->yieldParentBlock("time_widget", $context, $blocks); return; yield ''; } // line 51 public function block_dateinterval_widget($context, array $blocks = []) { $macros = $this->macros; // line 52 if (((0 !== CoreExtension::compare(($context["widget"] ?? null), "single_text")) && !($context["valid"] ?? null))) { // line 53 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 53)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 53), "")) : ("")) . " form-control is-invalid"))]); // line 54 $context["valid"] = true; } // line 56 if ((0 === CoreExtension::compare(($context["widget"] ?? null), "single_text"))) { // line 57 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } else { // line 59 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 59)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 59), "")) : ("")) . " form-inline"))]); // line 60 yield "<div "; yield from $this->unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield ">"; // line 61 if (($context["with_years"] ?? null)) { // line 62 yield "<div class=\"col-auto\"> "; // line 63 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "years", [], "any", false, false, false, 63), 'label'); yield " "; // line 64 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "years", [], "any", false, false, false, 64), 'widget'); yield " </div>"; } // line 67 if (($context["with_months"] ?? null)) { // line 68 yield "<div class=\"col-auto\"> "; // line 69 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "months", [], "any", false, false, false, 69), 'label'); yield " "; // line 70 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "months", [], "any", false, false, false, 70), 'widget'); yield " </div>"; } // line 73 if (($context["with_weeks"] ?? null)) { // line 74 yield "<div class=\"col-auto\"> "; // line 75 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "weeks", [], "any", false, false, false, 75), 'label'); yield " "; // line 76 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "weeks", [], "any", false, false, false, 76), 'widget'); yield " </div>"; } // line 79 if (($context["with_days"] ?? null)) { // line 80 yield "<div class=\"col-auto\"> "; // line 81 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "days", [], "any", false, false, false, 81), 'label'); yield " "; // line 82 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "days", [], "any", false, false, false, 82), 'widget'); yield " </div>"; } // line 85 if (($context["with_hours"] ?? null)) { // line 86 yield "<div class=\"col-auto\"> "; // line 87 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "hours", [], "any", false, false, false, 87), 'label'); yield " "; // line 88 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "hours", [], "any", false, false, false, 88), 'widget'); yield " </div>"; } // line 91 if (($context["with_minutes"] ?? null)) { // line 92 yield "<div class=\"col-auto\"> "; // line 93 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "minutes", [], "any", false, false, false, 93), 'label'); yield " "; // line 94 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "minutes", [], "any", false, false, false, 94), 'widget'); yield " </div>"; } // line 97 if (($context["with_seconds"] ?? null)) { // line 98 yield "<div class=\"col-auto\"> "; // line 99 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "seconds", [], "any", false, false, false, 99), 'label'); yield " "; // line 100 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "seconds", [], "any", false, false, false, 100), 'widget'); yield " </div>"; } // line 103 if (($context["with_invert"] ?? null)) { yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "invert", [], "any", false, false, false, 103), 'widget'); } // line 104 yield "</div>"; } return; yield ''; } // line 108 public function block_percent_widget($context, array $blocks = []) { $macros = $this->macros; // line 109 if (($context["symbol"] ?? null)) { // line 110 yield "<div class=\"input-group\">"; // line 111 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); // line 112 yield "<div class=\"input-group-append\"> <span class=\"input-group-text\">"; // line 113 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("symbol", $context)) ? (Twig\Extension\CoreExtension::default(($context["symbol"] ?? null), "%")) : ("%")), "html", null, true); yield "</span> </div> </div>"; } else { // line 117 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } return; yield ''; } // line 121 public function block_file_widget($context, array $blocks = []) { $macros = $this->macros; // line 122 yield "<"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default(($context["element"] ?? null), "div")) : ("div")), "html", null, true); yield " class=\"custom-file\">"; // line 123 $context["type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default(($context["type"] ?? null), "file")) : ("file")); // line 124 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); // line 125 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 125)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 125), "")) : ("")) . " custom-file-label"))]); // line 126 $context["input_lang"] = "en"; // line 127 if ((array_key_exists("app", $context) && CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", true, true, false, 127))) { $context["input_lang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 127), "locale", [], "any", false, false, false, 127); } // line 128 yield "<label for=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "vars", [], "any", false, false, false, 128), "id", [], "any", false, false, false, 128), "html", null, true); yield "\" lang=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["input_lang"] ?? null), "html", null, true); yield "\" "; $__internal_compile_4 = $context; $__internal_compile_5 = ["attr" => ($context["label_attr"] ?? null)]; if (!is_iterable($__internal_compile_5)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 128, $this->getSourceContext()); } $__internal_compile_5 = CoreExtension::toArray($__internal_compile_5); $context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_5)); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_4; yield ">"; // line 129 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "placeholder", [], "any", true, true, false, 129) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "placeholder", [], "any", false, false, false, 129)))) { // line 130 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((($context["translation_domain"] ?? null) === false)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "placeholder", [], "any", false, false, false, 130)) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "placeholder", [], "any", false, false, false, 130), [], ($context["translation_domain"] ?? null)))), "html", null, true); } // line 132 yield "</label> </"; // line 133 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default(($context["element"] ?? null), "div")) : ("div")), "html", null, true); yield "> "; return; yield ''; } // line 136 public function block_form_widget_simple($context, array $blocks = []) { $macros = $this->macros; // line 137 if (( !array_key_exists("type", $context) || (0 !== CoreExtension::compare(($context["type"] ?? null), "hidden")))) { // line 138 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 138)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 138), "")) : ("")) . (((0 === CoreExtension::compare(((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default(($context["type"] ?? null), "")) : ("")), "file"))) ? (" custom-file-input") : (" form-control"))))]); } // line 140 if ((array_key_exists("type", $context) && ((0 === CoreExtension::compare(($context["type"] ?? null), "range")) || (0 === CoreExtension::compare(($context["type"] ?? null), "color"))))) { // line 141 yield " "; // line 142 $context["required"] = false; } // line 144 yield from $this->yieldParentBlock("form_widget_simple", $context, $blocks); return; yield ''; } // line 147 public function block_widget_attributes($context, array $blocks = []) { $macros = $this->macros; // line 148 if ( !($context["valid"] ?? null)) { // line 149 yield " "; $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 149)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 149), "")) : ("")) . " is-invalid"))]); // line 150 yield " "; } // line 151 yield from $this->yieldParentBlock("widget_attributes", $context, $blocks); return; yield ''; } // line 154 public function block_button_widget($context, array $blocks = []) { $macros = $this->macros; // line 155 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 155)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 155), "btn-secondary")) : ("btn-secondary")) . " btn"))]); // line 156 yield from $this->yieldParentBlock("button_widget", $context, $blocks); return; yield ''; } // line 159 public function block_submit_widget($context, array $blocks = []) { $macros = $this->macros; // line 160 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim(((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 160)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 160), "btn-primary")) : ("btn-primary")))]); // line 161 yield from $this->yieldParentBlock("submit_widget", $context, $blocks); return; yield ''; } // line 164 public function block_checkbox_widget($context, array $blocks = []) { $macros = $this->macros; // line 165 $context["parent_label_class"] = ((array_key_exists("parent_label_class", $context)) ? (Twig\Extension\CoreExtension::default(($context["parent_label_class"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 165)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 165), "")) : ("")))) : (((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 165)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 165), "")) : ("")))); // line 166 if (CoreExtension::inFilter("checkbox-custom", ($context["parent_label_class"] ?? null))) { // line 167 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 167)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 167), "")) : ("")) . " custom-control-input"))]); // line 168 yield "<div class=\"custom-control custom-checkbox"; yield ((CoreExtension::inFilter("checkbox-inline", ($context["parent_label_class"] ?? null))) ? (" custom-control-inline") : ("")); yield "\">"; // line 169 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("checkbox_widget", $context, $blocks)]); // line 170 yield "</div>"; } elseif (CoreExtension::inFilter("switch-custom", // line 171 ($context["parent_label_class"] ?? null))) { // line 172 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 172)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 172), "")) : ("")) . " custom-control-input"))]); // line 173 yield "<div class=\"custom-control custom-switch"; yield ((CoreExtension::inFilter("switch-inline", ($context["parent_label_class"] ?? null))) ? (" custom-control-inline") : ("")); yield "\">"; // line 174 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("checkbox_widget", $context, $blocks)]); // line 175 yield "</div>"; } else { // line 177 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 177)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 177), "")) : ("")) . " form-check-input"))]); // line 178 yield "<div class=\"form-check"; yield ((CoreExtension::inFilter("checkbox-inline", ($context["parent_label_class"] ?? null))) ? (" form-check-inline") : ("")); yield "\">"; // line 179 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("checkbox_widget", $context, $blocks)]); // line 180 yield "</div>"; } return; yield ''; } // line 184 public function block_radio_widget($context, array $blocks = []) { $macros = $this->macros; // line 185 $context["parent_label_class"] = ((array_key_exists("parent_label_class", $context)) ? (Twig\Extension\CoreExtension::default(($context["parent_label_class"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 185)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 185), "")) : ("")))) : (((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 185)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 185), "")) : ("")))); // line 186 if (CoreExtension::inFilter("radio-custom", ($context["parent_label_class"] ?? null))) { // line 187 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 187)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 187), "")) : ("")) . " custom-control-input"))]); // line 188 yield "<div class=\"custom-control custom-radio"; yield ((CoreExtension::inFilter("radio-inline", ($context["parent_label_class"] ?? null))) ? (" custom-control-inline") : ("")); yield "\">"; // line 189 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("radio_widget", $context, $blocks)]); // line 190 yield "</div>"; } else { // line 192 $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 192)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 192), "")) : ("")) . " form-check-input"))]); // line 193 yield "<div class=\"form-check"; yield ((CoreExtension::inFilter("radio-inline", ($context["parent_label_class"] ?? null))) ? (" form-check-inline") : ("")); yield "\">"; // line 194 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("radio_widget", $context, $blocks)]); // line 195 yield "</div>"; } return; yield ''; } // line 199 public function block_choice_widget_expanded($context, array $blocks = []) { $macros = $this->macros; // line 200 yield "<div "; yield from $this->unwrap()->yieldBlock("widget_container_attributes", $context, $blocks); yield ">"; // line 201 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["form"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 202 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget', ["parent_label_class" => ((CoreExtension::getAttribute($this->env, $this->source, // line 203 ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 203)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 203), "")) : ("")), "translation_domain" => // line 204 ($context["choice_translation_domain"] ?? null), "valid" => // line 205 ($context["valid"] ?? 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 208 yield "</div>"; return; yield ''; } // line 213 public function block_form_label($context, array $blocks = []) { $macros = $this->macros; // line 214 if ( !(($context["label"] ?? null) === false)) { // line 215 if ((array_key_exists("compound", $context) && ($context["compound"] ?? null))) { // line 216 $context["element"] = "legend"; // line 217 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 217)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 217), "")) : ("")) . " col-form-label"))]); } else { // line 219 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["for" => ($context["id"] ?? null)]); } // line 221 if (($context["required"] ?? null)) { // line 222 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 222)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 222), "")) : ("")) . " required"))]); } // line 224 if (Twig\Extension\CoreExtension::testEmpty(($context["label"] ?? null))) { // line 225 if ( !Twig\Extension\CoreExtension::testEmpty(($context["label_format"] ?? null))) { // line 226 $context["label"] = Twig\Extension\CoreExtension::replace(($context["label_format"] ?? null), ["%name%" => // line 227 ($context["name"] ?? null), "%id%" => // line 228 ($context["id"] ?? null)]); } else { // line 231 $context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? null)); } } // line 234 yield "<"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default(($context["element"] ?? null), "label")) : ("label")), "html", null, true); if (($context["label_attr"] ?? null)) { $__internal_compile_6 = $context; $__internal_compile_7 = ["attr" => ($context["label_attr"] ?? null)]; if (!is_iterable($__internal_compile_7)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 234, $this->getSourceContext()); } $__internal_compile_7 = CoreExtension::toArray($__internal_compile_7); $context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_7)); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_6; } yield ">"; // line 235 if ((($context["translation_domain"] ?? null) === false)) { // line 236 if ((($context["label_html"] ?? null) === false)) { // line 237 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["label"] ?? null), "html", null, true); } else { // line 239 yield ($context["label"] ?? null); } } else { // line 242 if ((($context["label_html"] ?? null) === false)) { // line 243 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["label"] ?? null), ($context["label_translation_parameters"] ?? null), ($context["translation_domain"] ?? null)), "html", null, true); } else { // line 245 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["label"] ?? null), ($context["label_translation_parameters"] ?? null), ($context["translation_domain"] ?? null)); } } // line 248 yield from $this->unwrap()->yieldBlock('form_label_errors', $context, $blocks); yield "</"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default(($context["element"] ?? null), "label")) : ("label")), "html", null, true); yield ">"; } else { // line 250 if ((1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["errors"] ?? null)), 0))) { // line 251 yield "<div id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id"] ?? null), "html", null, true); yield "_errors\" class=\"mb-2\">"; // line 252 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 253 yield "</div>"; } } return; yield ''; } // line 248 public function block_form_label_errors($context, array $blocks = []) { $macros = $this->macros; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); return; yield ''; } // line 258 public function block_checkbox_radio_label($context, array $blocks = []) { $macros = $this->macros; // line 260 if (array_key_exists("widget", $context)) { // line 261 $context["is_parent_custom"] = (array_key_exists("parent_label_class", $context) && ((CoreExtension::inFilter("checkbox-custom", ($context["parent_label_class"] ?? null)) || CoreExtension::inFilter("radio-custom", ($context["parent_label_class"] ?? null))) || CoreExtension::inFilter("switch-custom", ($context["parent_label_class"] ?? null)))); // line 262 yield " "; $context["is_custom"] = (CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 262) && ((CoreExtension::inFilter("checkbox-custom", CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 262)) || CoreExtension::inFilter("radio-custom", CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 262))) || CoreExtension::inFilter("switch-custom", CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 262)))); // line 263 if ((($context["is_parent_custom"] ?? null) || ($context["is_custom"] ?? null))) { // line 264 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 264)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 264), "")) : ("")) . " custom-control-label"))]); } else { // line 266 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 266)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 266), "")) : ("")) . " form-check-label"))]); } // line 268 if ( !($context["compound"] ?? null)) { // line 269 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["for" => ($context["id"] ?? null)]); } // line 271 if (($context["required"] ?? null)) { // line 272 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 272)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 272), "")) : ("")) . " required"))]); } // line 274 if (array_key_exists("parent_label_class", $context)) { // line 275 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim(Twig\Extension\CoreExtension::replace(((((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 275)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 275), "")) : ("")) . " ") . ($context["parent_label_class"] ?? null)), ["checkbox-inline" => "", "radio-inline" => "", "checkbox-custom" => "", "radio-custom" => ""]))]); } // line 277 if (( !(($context["label"] ?? null) === false) && Twig\Extension\CoreExtension::testEmpty(($context["label"] ?? null)))) { // line 278 if ( !Twig\Extension\CoreExtension::testEmpty(($context["label_format"] ?? null))) { // line 279 $context["label"] = Twig\Extension\CoreExtension::replace(($context["label_format"] ?? null), ["%name%" => // line 280 ($context["name"] ?? null), "%id%" => // line 281 ($context["id"] ?? null)]); } else { // line 284 $context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? null)); } } // line 288 yield ($context["widget"] ?? null); yield " <label"; // line 289 $__internal_compile_8 = $context; $__internal_compile_9 = ["attr" => ($context["label_attr"] ?? null)]; if (!is_iterable($__internal_compile_9)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 289, $this->getSourceContext()); } $__internal_compile_9 = CoreExtension::toArray($__internal_compile_9); $context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_9)); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_8; yield ">"; // line 290 if ( !(($context["label"] ?? null) === false)) { // line 291 if ((($context["translation_domain"] ?? null) === false)) { // line 292 if ((($context["label_html"] ?? null) === false)) { // line 293 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["label"] ?? null), "html", null, true); } else { // line 295 yield ($context["label"] ?? null); } } else { // line 298 if ((($context["label_html"] ?? null) === false)) { // line 299 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["label"] ?? null), ($context["label_translation_parameters"] ?? null), ($context["translation_domain"] ?? null)), "html", null, true); } else { // line 301 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["label"] ?? null), ($context["label_translation_parameters"] ?? null), ($context["translation_domain"] ?? null)); } } } // line 305 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 306 yield "</label>"; } return; yield ''; } // line 312 public function block_form_row($context, array $blocks = []) { $macros = $this->macros; // line 313 if ((array_key_exists("compound", $context) && ($context["compound"] ?? null))) { // line 314 $context["element"] = "fieldset"; } // line 316 $context["widget_attr"] = []; // line 317 if ( !Twig\Extension\CoreExtension::testEmpty(($context["help"] ?? null))) { // line 318 $context["widget_attr"] = ["attr" => ["aria-describedby" => (($context["id"] ?? null) . "_help")]]; } // line 320 yield "<"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default(($context["element"] ?? null), "div")) : ("div")), "html", null, true); $__internal_compile_10 = $context; $__internal_compile_11 = ["attr" => Twig\Extension\CoreExtension::merge(($context["row_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 320)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 320), "")) : ("")) . " form-group"))])]; if (!is_iterable($__internal_compile_11)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 320, $this->getSourceContext()); } $__internal_compile_11 = CoreExtension::toArray($__internal_compile_11); $context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_11)); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_10; yield ">"; // line 321 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label'); // line 322 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget', ($context["widget_attr"] ?? null)); // line 323 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 324 yield "</"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("element", $context)) ? (Twig\Extension\CoreExtension::default(($context["element"] ?? null), "div")) : ("div")), "html", null, true); yield ">"; return; yield ''; } // line 329 public function block_form_errors($context, array $blocks = []) { $macros = $this->macros; // line 330 if ((1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["errors"] ?? null)), 0))) { // line 331 yield "<span class=\""; if ( !Symfony\Bridge\Twig\Extension\twig_is_root_form(($context["form"] ?? null))) { yield "invalid-feedback"; } else { yield "alert alert-danger"; } yield " d-block\">"; // line 332 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["errors"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 333 yield "<span class=\"d-block\"> <span class=\"form-error-icon badge badge-danger text-uppercase\">"; // line 334 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Error", [], "validators"), "html", null, true); yield "</span> <span class=\"form-error-message\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 334), "html", null, true); yield "</span> </span>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 337 yield "</span>"; } return; yield ''; } // line 343 public function block_form_help($context, array $blocks = []) { $macros = $this->macros; // line 344 if ( !Twig\Extension\CoreExtension::testEmpty(($context["help"] ?? null))) { // line 345 $context["help_attr"] = Twig\Extension\CoreExtension::merge(($context["help_attr"] ?? null), ["class" => Twig\Extension\CoreExtension::trim((((CoreExtension::getAttribute($this->env, $this->source, ($context["help_attr"] ?? null), "class", [], "any", true, true, false, 345)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["help_attr"] ?? null), "class", [], "any", false, false, false, 345), "")) : ("")) . " form-text text-muted"))]); // line 346 yield "<small id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id"] ?? null), "html", null, true); yield "_help\""; $__internal_compile_12 = $context; $__internal_compile_13 = ["attr" => ($context["help_attr"] ?? null)]; if (!is_iterable($__internal_compile_13)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 346, $this->getSourceContext()); } $__internal_compile_13 = CoreExtension::toArray($__internal_compile_13); $context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_13)); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $__internal_compile_12; yield ">"; // line 347 if ((($context["translation_domain"] ?? null) === false)) { // line 348 if ((($context["help_html"] ?? null) === false)) { // line 349 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["help"] ?? null), "html", null, true); } else { // line 351 yield ($context["help"] ?? null); } } else { // line 354 if ((($context["help_html"] ?? null) === false)) { // line 355 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["help"] ?? null), ($context["help_translation_parameters"] ?? null), ($context["translation_domain"] ?? null)), "html", null, true); } else { // line 357 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["help"] ?? null), ($context["help_translation_parameters"] ?? null), ($context["translation_domain"] ?? null)); } } // line 360 yield "</small>"; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "bootstrap_4_layout.html.twig"; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 952 => 360, 948 => 357, 945 => 355, 943 => 354, 939 => 351, 936 => 349, 934 => 348, 932 => 347, 918 => 346, 916 => 345, 914 => 344, 910 => 343, 904 => 337, 894 => 334, 891 => 333, 887 => 332, 879 => 331, 877 => 330, 873 => 329, 866 => 324, 864 => 323, 862 => 322, 860 => 321, 847 => 320, 844 => 318, 842 => 317, 840 => 316, 837 => 314, 835 => 313, 831 => 312, 825 => 306, 823 => 305, 818 => 301, 815 => 299, 813 => 298, 809 => 295, 806 => 293, 804 => 292, 802 => 291, 800 => 290, 789 => 289, 785 => 288, 781 => 284, 778 => 281, 777 => 280, 776 => 279, 774 => 278, 772 => 277, 769 => 275, 767 => 274, 764 => 272, 762 => 271, 759 => 269, 757 => 268, 754 => 266, 751 => 264, 749 => 263, 746 => 262, 744 => 261, 742 => 260, 738 => 258, 730 => 248, 723 => 253, 721 => 252, 717 => 251, 715 => 250, 709 => 248, 705 => 245, 702 => 243, 700 => 242, 696 => 239, 693 => 237, 691 => 236, 689 => 235, 674 => 234, 670 => 231, 667 => 228, 666 => 227, 665 => 226, 663 => 225, 661 => 224, 658 => 222, 656 => 221, 653 => 219, 650 => 217, 648 => 216, 646 => 215, 644 => 214, 640 => 213, 635 => 208, 629 => 205, 628 => 204, 627 => 203, 626 => 202, 622 => 201, 618 => 200, 614 => 199, 608 => 195, 606 => 194, 602 => 193, 600 => 192, 597 => 190, 595 => 189, 591 => 188, 589 => 187, 587 => 186, 585 => 185, 581 => 184, 575 => 180, 573 => 179, 569 => 178, 567 => 177, 564 => 175, 562 => 174, 558 => 173, 556 => 172, 554 => 171, 552 => 170, 550 => 169, 546 => 168, 544 => 167, 542 => 166, 540 => 165, 536 => 164, 531 => 161, 529 => 160, 525 => 159, 520 => 156, 518 => 155, 514 => 154, 509 => 151, 506 => 150, 503 => 149, 501 => 148, 497 => 147, 492 => 144, 489 => 142, 487 => 141, 485 => 140, 482 => 138, 480 => 137, 476 => 136, 469 => 133, 466 => 132, 463 => 130, 461 => 129, 445 => 128, 441 => 127, 439 => 126, 437 => 125, 435 => 124, 433 => 123, 429 => 122, 425 => 121, 419 => 117, 413 => 113, 410 => 112, 408 => 111, 406 => 110, 404 => 109, 400 => 108, 394 => 104, 390 => 103, 385 => 100, 381 => 99, 378 => 98, 376 => 97, 371 => 94, 367 => 93, 364 => 92, 362 => 91, 357 => 88, 353 => 87, 350 => 86, 348 => 85, 343 => 82, 339 => 81, 336 => 80, 334 => 79, 329 => 76, 325 => 75, 322 => 74, 320 => 73, 315 => 70, 311 => 69, 308 => 68, 306 => 67, 301 => 64, 297 => 63, 294 => 62, 292 => 61, 288 => 60, 286 => 59, 283 => 57, 281 => 56, 278 => 54, 276 => 53, 274 => 52, 270 => 51, 265 => 48, 262 => 46, 260 => 45, 258 => 44, 254 => 43, 249 => 40, 246 => 38, 244 => 37, 242 => 36, 238 => 35, 233 => 32, 230 => 30, 228 => 29, 226 => 28, 222 => 27, 216 => 23, 213 => 21, 208 => 18, 205 => 17, 203 => 16, 201 => 15, 196 => 12, 193 => 11, 191 => 10, 187 => 9, 185 => 8, 183 => 7, 181 => 6, 177 => 5, 172 => 343, 169 => 342, 166 => 340, 164 => 329, 161 => 328, 158 => 326, 156 => 312, 153 => 311, 150 => 309, 148 => 258, 145 => 257, 143 => 213, 140 => 212, 137 => 210, 135 => 199, 132 => 198, 130 => 184, 127 => 183, 125 => 164, 122 => 163, 120 => 159, 117 => 158, 115 => 154, 113 => 147, 111 => 136, 108 => 135, 106 => 121, 103 => 120, 101 => 108, 98 => 107, 96 => 51, 93 => 50, 91 => 43, 88 => 42, 86 => 35, 83 => 34, 81 => 27, 78 => 26, 76 => 5, 73 => 4, 70 => 2, 31 => 1,); } public function getSourceContext() { return new Source("", "bootstrap_4_layout.html.twig", "/var/www/html/boazapp/vendor/symfony/twig-bridge/Resources/views/Form/bootstrap_4_layout.html.twig"); } }