Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
var /
cache /
.!!QgY /
twig /
d6 /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
d6a650e457085de9d35b8c27fd78e281.php
38.37
KB
-rwxrwxr-x
2026-05-18 12:54
Save
Rename
<?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; use Twig\TemplateWrapper; /* bootstrap_3_layout.html.twig */ class __TwigTemplate_e2bc7cb150c551b4ca1b072aadece57a extends Template { private Source $source; /** * @var array<string, Template> */ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; // line 1 $_trait_0 = $this->load("bootstrap_base_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, [ 'form_widget_simple' => [$this, 'block_form_widget_simple'], 'button_widget' => [$this, 'block_button_widget'], 'money_widget' => [$this, 'block_money_widget'], 'checkbox_widget' => [$this, 'block_checkbox_widget'], 'radio_widget' => [$this, 'block_radio_widget'], 'choice_widget_collapsed' => [$this, 'block_choice_widget_collapsed'], 'form_label' => [$this, 'block_form_label'], 'choice_label' => [$this, 'block_choice_label'], 'checkbox_label' => [$this, 'block_checkbox_label'], 'radio_label' => [$this, 'block_radio_label'], 'checkbox_radio_label' => [$this, 'block_checkbox_radio_label'], 'form_row' => [$this, 'block_form_row'], 'button_row' => [$this, 'block_button_row'], 'choice_row' => [$this, 'block_choice_row'], 'date_row' => [$this, 'block_date_row'], 'time_row' => [$this, 'block_time_row'], 'datetime_row' => [$this, 'block_datetime_row'], 'checkbox_row' => [$this, 'block_checkbox_row'], 'radio_row' => [$this, 'block_radio_row'], 'form_errors' => [$this, 'block_form_errors'], 'form_help' => [$this, 'block_form_help'], ] ); } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 2 yield " "; // line 4 yield " "; // line 5 yield from $this->unwrap()->yieldBlock('form_widget_simple', $context, $blocks); // line 11 yield " "; // line 12 yield from $this->unwrap()->yieldBlock('button_widget', $context, $blocks); // line 16 yield " "; // line 17 yield from $this->unwrap()->yieldBlock('money_widget', $context, $blocks); // line 34 yield " "; // line 35 yield from $this->unwrap()->yieldBlock('checkbox_widget', $context, $blocks); // line 45 yield " "; // line 46 yield from $this->unwrap()->yieldBlock('radio_widget', $context, $blocks); // line 56 yield " "; // line 57 yield from $this->unwrap()->yieldBlock('choice_widget_collapsed', $context, $blocks); // line 61 yield " "; // line 63 yield " "; // line 64 yield from $this->unwrap()->yieldBlock('form_label', $context, $blocks); // line 68 yield " "; // line 69 yield from $this->unwrap()->yieldBlock('choice_label', $context, $blocks); // line 74 yield " "; // line 75 yield from $this->unwrap()->yieldBlock('checkbox_label', $context, $blocks); // line 80 yield " "; // line 81 yield from $this->unwrap()->yieldBlock('radio_label', $context, $blocks); // line 86 yield " "; // line 87 yield from $this->unwrap()->yieldBlock('checkbox_radio_label', $context, $blocks); // line 127 yield " "; // line 129 yield " "; // line 130 yield from $this->unwrap()->yieldBlock('form_row', $context, $blocks); // line 142 yield " "; // line 143 yield from $this->unwrap()->yieldBlock('button_row', $context, $blocks); // line 148 yield " "; // line 149 yield from $this->unwrap()->yieldBlock('choice_row', $context, $blocks); // line 153 yield " "; // line 154 yield from $this->unwrap()->yieldBlock('date_row', $context, $blocks); // line 158 yield " "; // line 159 yield from $this->unwrap()->yieldBlock('time_row', $context, $blocks); // line 163 yield " "; // line 164 yield from $this->unwrap()->yieldBlock('datetime_row', $context, $blocks); // line 168 yield " "; // line 169 yield from $this->unwrap()->yieldBlock('checkbox_row', $context, $blocks); // line 176 yield " "; // line 177 yield from $this->unwrap()->yieldBlock('radio_row', $context, $blocks); // line 184 yield " "; // line 186 yield " "; // line 187 yield from $this->unwrap()->yieldBlock('form_errors', $context, $blocks); // line 198 yield " "; // line 200 yield " "; // line 201 yield from $this->unwrap()->yieldBlock('form_help', $context, $blocks); yield from []; } // line 5 /** * @return iterable<null|scalar|\Stringable> */ public function block_form_widget_simple(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 6 if (( !array_key_exists("type", $context) || !CoreExtension::inFilter(($context["type"] ?? null), ["file", "hidden"]))) { // line 7 $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, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 7), "")) : ("")) . " form-control"))]); } // line 9 yield from $this->yieldParentBlock("form_widget_simple", $context, $blocks); yield from []; } // line 12 /** * @return iterable<null|scalar|\Stringable> */ public function block_button_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 13 $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, 13)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 13), "btn-default")) : ("btn-default")) . " btn"))]); // line 14 yield from $this->yieldParentBlock("button_widget", $context, $blocks); yield from []; } // line 17 /** * @return iterable<null|scalar|\Stringable> */ public function block_money_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 18 $context["prepend"] = !(is_string($_v0 = ($context["money_pattern"] ?? null)) && is_string($_v1 = "{{") && str_starts_with($_v0, $_v1)); // line 19 yield " "; $context["append"] = !(is_string($_v2 = ($context["money_pattern"] ?? null)) && is_string($_v3 = "}}") && str_ends_with($_v2, $_v3)); // line 20 yield " "; if ((($context["prepend"] ?? null) || ($context["append"] ?? null))) { // line 21 yield " <div class=\"input-group\"> "; // line 22 if ((($tmp = ($context["prepend"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 23 yield " <span class=\"input-group-addon\">"; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, ($context["money_pattern"] ?? null)); yield "</span> "; } // line 25 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); // line 26 if ((($tmp = ($context["append"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 27 yield " <span class=\"input-group-addon\">"; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, ($context["money_pattern"] ?? null)); yield "</span> "; } // line 29 yield " </div> "; } else { // line 31 yield from $this->unwrap()->yieldBlock("form_widget_simple", $context, $blocks); } yield from []; } // line 35 /** * @return iterable<null|scalar|\Stringable> */ public function block_checkbox_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 36 $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, 36)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 36), "")) : ("")))) : (((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 36)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 36), "")) : ("")))); // line 37 if (CoreExtension::inFilter("checkbox-inline", ($context["parent_label_class"] ?? null))) { // line 38 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("checkbox_widget", $context, $blocks)]); } else { // line 40 yield "<div class=\"checkbox\">"; // line 41 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("checkbox_widget", $context, $blocks)]); // line 42 yield "</div>"; } yield from []; } // line 46 /** * @return iterable<null|scalar|\Stringable> */ public function block_radio_widget(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 47 $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, 47)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 47), "")) : ("")))) : (((CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 47)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 47), "")) : ("")))); // line 48 if (CoreExtension::inFilter("radio-inline", ($context["parent_label_class"] ?? null))) { // line 49 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("radio_widget", $context, $blocks)]); } else { // line 51 yield "<div class=\"radio\">"; // line 52 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label', ["widget" => $this->renderParentBlock("radio_widget", $context, $blocks)]); // line 53 yield "</div>"; } yield from []; } // line 57 /** * @return iterable<null|scalar|\Stringable> */ public function block_choice_widget_collapsed(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 58 $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, 58)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 58), "")) : ("")) . " form-control"))]); // line 59 yield from $this->yieldParentBlock("choice_widget_collapsed", $context, $blocks); yield from []; } // line 64 /** * @return iterable<null|scalar|\Stringable> */ public function block_form_label(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 65 $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, 65)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 65), "")) : ("")) . " control-label"))]); // line 66 yield from $this->yieldParentBlock("form_label", $context, $blocks); yield from []; } // line 69 /** * @return iterable<null|scalar|\Stringable> */ public function block_choice_label(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 71 $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, 71)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 71), "")) : ("")), ["checkbox-inline" => "", "radio-inline" => ""]))]); // line 72 yield from $this->unwrap()->yieldBlock("form_label", $context, $blocks); yield from []; } // line 75 /** * @return iterable<null|scalar|\Stringable> */ public function block_checkbox_label(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 76 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["for" => ($context["id"] ?? null)]); // line 78 yield from $this->unwrap()->yieldBlock("checkbox_radio_label", $context, $blocks); yield from []; } // line 81 /** * @return iterable<null|scalar|\Stringable> */ public function block_radio_label(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 82 $context["label_attr"] = Twig\Extension\CoreExtension::merge(($context["label_attr"] ?? null), ["for" => ($context["id"] ?? null)]); // line 84 yield from $this->unwrap()->yieldBlock("checkbox_radio_label", $context, $blocks); yield from []; } // line 87 /** * @return iterable<null|scalar|\Stringable> */ public function block_checkbox_radio_label(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 89 if (array_key_exists("widget", $context)) { // line 90 if ((($tmp = ($context["required"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 91 $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, 91)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 91), "")) : ("")) . " required"))]); } // line 93 if (array_key_exists("parent_label_class", $context)) { // line 94 $context["embed_label_classes"] = Twig\Extension\CoreExtension::filter($this->env, Twig\Extension\CoreExtension::split($this->env->getCharset(), ($context["parent_label_class"] ?? null), " "), function ($__class__) use ($context, $macros) { $context["class"] = $__class__; return CoreExtension::inFilter(($context["class"] ?? null), ["checkbox-inline", "radio-inline"]); }); // line 95 $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, 95)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 95), "")) : ("")) . " ") . Twig\Extension\CoreExtension::join(($context["embed_label_classes"] ?? null), " ")))]); } // line 97 if (( !(($context["label"] ?? null) === false) && Twig\Extension\CoreExtension::testEmpty(($context["label"] ?? null)))) { // line 98 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["label_format"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 99 $context["label"] = Twig\Extension\CoreExtension::replace(($context["label_format"] ?? null), ["%name%" => // line 100 ($context["name"] ?? null), "%id%" => // line 101 ($context["id"] ?? null)]); } else { // line 104 $context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? null)); } } // line 107 yield "<label"; $_v4 = $context; $_v5 = ["attr" => ($context["label_attr"] ?? null)]; if (!is_iterable($_v5)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 107, $this->getSourceContext()); } $_v5 = CoreExtension::toArray($_v5); $context = $_v5 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $_v4; yield ">"; // line 109 yield ($context["widget"] ?? null); yield " "; if ((($tmp = !(($context["label"] ?? null) === false)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 110 if ((($context["translation_domain"] ?? null) === false)) { // line 111 if ((($context["label_html"] ?? null) === false)) { // line 112 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["label"] ?? null), "html", null, true); } else { // line 114 yield ($context["label"] ?? null); } } else { // line 117 if ((($context["label_html"] ?? null) === false)) { // line 118 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 120 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["label"] ?? null), ($context["label_translation_parameters"] ?? null), ($context["translation_domain"] ?? null)); } } } // line 124 yield "</label>"; } yield from []; } // line 130 /** * @return iterable<null|scalar|\Stringable> */ public function block_form_row(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 131 $context["widget_attr"] = []; // line 132 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["help"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 133 $context["widget_attr"] = ["attr" => ["aria-describedby" => (($context["id"] ?? null) . "_help")]]; } // line 135 yield "<div"; $_v6 = $context; $_v7 = ["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, 135)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 135), "")) : ("")) . " form-group") . (((( !($context["compound"] ?? null) || ((array_key_exists("force_error", $context)) ? (Twig\Extension\CoreExtension::default(($context["force_error"] ?? null), false)) : (false))) && !($context["valid"] ?? null))) ? (" has-error") : (""))))])]; if (!is_iterable($_v7)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 135, $this->getSourceContext()); } $_v7 = CoreExtension::toArray($_v7); $context = $_v7 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $_v6; yield ">"; // line 136 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label'); yield " "; // line 137 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget', ($context["widget_attr"] ?? null)); yield " "; // line 138 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 139 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); yield " "; // line 140 yield "</div> "; yield from []; } // line 143 /** * @return iterable<null|scalar|\Stringable> */ public function block_button_row(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 144 yield "<div"; $_v8 = $context; $_v9 = ["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, 144)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 144), "")) : ("")) . " form-group"))])]; if (!is_iterable($_v9)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 144, $this->getSourceContext()); } $_v9 = CoreExtension::toArray($_v9); $context = $_v9 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $_v8; yield ">"; // line 145 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 146 yield "</div>"; yield from []; } // line 149 /** * @return iterable<null|scalar|\Stringable> */ public function block_choice_row(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 150 $context["force_error"] = true; // line 151 yield from $this->unwrap()->yieldBlock("form_row", $context, $blocks); yield from []; } // line 154 /** * @return iterable<null|scalar|\Stringable> */ public function block_date_row(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 155 $context["force_error"] = true; // line 156 yield from $this->unwrap()->yieldBlock("form_row", $context, $blocks); yield from []; } // line 159 /** * @return iterable<null|scalar|\Stringable> */ public function block_time_row(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 160 $context["force_error"] = true; // line 161 yield from $this->unwrap()->yieldBlock("form_row", $context, $blocks); yield from []; } // line 164 /** * @return iterable<null|scalar|\Stringable> */ public function block_datetime_row(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 165 $context["force_error"] = true; // line 166 yield from $this->unwrap()->yieldBlock("form_row", $context, $blocks); yield from []; } // line 169 /** * @return iterable<null|scalar|\Stringable> */ public function block_checkbox_row(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 170 yield "<div"; $_v10 = $context; $_v11 = ["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, 170)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 170), "")) : ("")) . " form-group") . (((($tmp = !($context["valid"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (" has-error") : (""))))])]; if (!is_iterable($_v11)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 170, $this->getSourceContext()); } $_v11 = CoreExtension::toArray($_v11); $context = $_v11 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $_v10; yield ">"; // line 171 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 172 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 173 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 174 yield "</div>"; yield from []; } // line 177 /** * @return iterable<null|scalar|\Stringable> */ public function block_radio_row(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 178 yield "<div"; $_v12 = $context; $_v13 = ["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, 178)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 178), "")) : ("")) . " form-group") . (((($tmp = !($context["valid"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (" has-error") : (""))))])]; if (!is_iterable($_v13)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 178, $this->getSourceContext()); } $_v13 = CoreExtension::toArray($_v13); $context = $_v13 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $_v12; yield ">"; // line 179 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 180 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 181 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 182 yield "</div>"; yield from []; } // line 187 /** * @return iterable<null|scalar|\Stringable> */ public function block_form_errors(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 188 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["errors"] ?? null)) > 0)) { // line 189 if ((($tmp = !Symfony\Bridge\Twig\Extension\twig_is_root_form(($context["form"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { yield "<span class=\"help-block\">"; } else { yield "<div class=\"alert alert-danger\">"; } // line 190 yield " <ul class=\"list-unstyled\">"; // line 191 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["errors"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 192 yield "<li><span class=\"glyphicon glyphicon-exclamation-sign\"></span> "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 192), "html", null, true); yield "</li>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['error'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 194 yield "</ul> "; // line 195 if ((($tmp = !Symfony\Bridge\Twig\Extension\twig_is_root_form(($context["form"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { yield "</span>"; } else { yield "</div>"; } } yield from []; } // line 201 /** * @return iterable<null|scalar|\Stringable> */ public function block_form_help(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 202 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["help"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 203 $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, 203)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["help_attr"] ?? null), "class", [], "any", false, false, false, 203), "")) : ("")) . " help-block"))]); // line 204 yield "<span id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id"] ?? null), "html", null, true); yield "_help\""; $_v14 = $context; $_v15 = ["attr" => ($context["help_attr"] ?? null)]; if (!is_iterable($_v15)) { throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 204, $this->getSourceContext()); } $_v15 = CoreExtension::toArray($_v15); $context = $_v15 + $context + $this->env->getGlobals(); yield from $this->unwrap()->yieldBlock("attributes", $context, $blocks); $context = $_v14; yield ">"; // line 205 if ((($context["translation_domain"] ?? null) === false)) { // line 206 if ((($context["help_html"] ?? null) === false)) { // line 207 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["help"] ?? null), "html", null, true); } else { // line 209 yield ($context["help"] ?? null); } } else { // line 212 if ((($context["help_html"] ?? null) === false)) { // line 213 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 215 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["help"] ?? null), ($context["help_translation_parameters"] ?? null), ($context["translation_domain"] ?? null)); } } // line 218 yield "</span>"; } yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "bootstrap_3_layout.html.twig"; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 741 => 218, 737 => 215, 734 => 213, 732 => 212, 728 => 209, 725 => 207, 723 => 206, 721 => 205, 707 => 204, 705 => 203, 703 => 202, 696 => 201, 686 => 195, 683 => 194, 675 => 192, 671 => 191, 669 => 190, 663 => 189, 661 => 188, 654 => 187, 649 => 182, 647 => 181, 645 => 180, 643 => 179, 631 => 178, 624 => 177, 619 => 174, 617 => 173, 615 => 172, 613 => 171, 601 => 170, 594 => 169, 589 => 166, 587 => 165, 580 => 164, 575 => 161, 573 => 160, 566 => 159, 561 => 156, 559 => 155, 552 => 154, 547 => 151, 545 => 150, 538 => 149, 533 => 146, 531 => 145, 519 => 144, 512 => 143, 507 => 140, 504 => 139, 502 => 138, 499 => 137, 496 => 136, 484 => 135, 481 => 133, 479 => 132, 477 => 131, 470 => 130, 464 => 124, 459 => 120, 456 => 118, 454 => 117, 450 => 114, 447 => 112, 445 => 111, 443 => 110, 439 => 109, 427 => 107, 423 => 104, 420 => 101, 419 => 100, 418 => 99, 416 => 98, 414 => 97, 411 => 95, 409 => 94, 407 => 93, 404 => 91, 402 => 90, 400 => 89, 393 => 87, 388 => 84, 386 => 82, 379 => 81, 374 => 78, 372 => 76, 365 => 75, 360 => 72, 358 => 71, 351 => 69, 346 => 66, 344 => 65, 337 => 64, 332 => 59, 330 => 58, 323 => 57, 317 => 53, 315 => 52, 313 => 51, 310 => 49, 308 => 48, 306 => 47, 299 => 46, 293 => 42, 291 => 41, 289 => 40, 286 => 38, 284 => 37, 282 => 36, 275 => 35, 269 => 31, 265 => 29, 259 => 27, 257 => 26, 255 => 25, 249 => 23, 247 => 22, 244 => 21, 241 => 20, 238 => 19, 236 => 18, 229 => 17, 224 => 14, 222 => 13, 215 => 12, 210 => 9, 207 => 7, 205 => 6, 198 => 5, 193 => 201, 190 => 200, 187 => 198, 185 => 187, 182 => 186, 179 => 184, 177 => 177, 174 => 176, 172 => 169, 169 => 168, 167 => 164, 164 => 163, 162 => 159, 159 => 158, 157 => 154, 154 => 153, 152 => 149, 149 => 148, 147 => 143, 144 => 142, 142 => 130, 139 => 129, 136 => 127, 134 => 87, 131 => 86, 129 => 81, 126 => 80, 124 => 75, 121 => 74, 119 => 69, 116 => 68, 114 => 64, 111 => 63, 108 => 61, 106 => 57, 103 => 56, 101 => 46, 98 => 45, 96 => 35, 93 => 34, 91 => 17, 88 => 16, 86 => 12, 83 => 11, 81 => 5, 78 => 4, 75 => 2, 35 => 1,); } public function getSourceContext(): Source { return new Source("", "bootstrap_3_layout.html.twig", "/var/www/v3.cesa.co.za/vendor/symfony/twig-bridge/Resources/views/Form/bootstrap_3_layout.html.twig"); } }