/
var
/
www
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
d6
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* bootstrap_4_horizontal_layout.html.twig */ class __TwigTemplate_9dea307af05e4585dc25243645806f1c6279fac2bb70b018dd35ce337078deb2 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_4_layout.html.twig", "bootstrap_4_horizontal_layout.html.twig", 1); if (!$_trait_0->isTraitable()) { throw new RuntimeError('Template "'."bootstrap_4_layout.html.twig".'" cannot be used as a trait.', 1, $this->source); } $_trait_0_blocks = $_trait_0->getBlocks(); $this->traits = $_trait_0_blocks; $this->blocks = array_merge( $this->traits, [ 'form_label' => [$this, 'block_form_label'], 'form_label_class' => [$this, 'block_form_label_class'], 'form_row' => [$this, 'block_form_row'], 'fieldset_form_row' => [$this, 'block_fieldset_form_row'], 'submit_row' => [$this, 'block_submit_row'], 'reset_row' => [$this, 'block_reset_row'], 'form_group_class' => [$this, 'block_form_group_class'], 'checkbox_row' => [$this, 'block_checkbox_row'], ] ); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 echo " "; // line 4 echo " "; // line 5 $this->displayBlock('form_label', $context, $blocks); // line 16 echo " "; // line 17 $this->displayBlock('form_label_class', $context, $blocks); // line 20 echo " "; // line 22 echo " "; // line 23 $this->displayBlock('form_row', $context, $blocks); // line 40 echo " "; // line 41 $this->displayBlock('fieldset_form_row', $context, $blocks); // line 56 echo " "; // line 57 $this->displayBlock('submit_row', $context, $blocks); // line 65 echo " "; // line 66 $this->displayBlock('reset_row', $context, $blocks); // line 74 echo " "; // line 75 $this->displayBlock('form_group_class', $context, $blocks); // line 78 echo " "; // line 79 $this->displayBlock('checkbox_row', $context, $blocks); } // line 5 public function block_form_label($context, array $blocks = []) { $macros = $this->macros; // line 6 if ((($context["label"] ?? null) === false)) { // line 7 echo "<div class=\""; $this->displayBlock("form_label_class", $context, $blocks); echo "\"></div>"; } else { // line 9 if (( !array_key_exists("expanded", $context) || !($context["expanded"] ?? null))) { // line 10 $context["label_attr"] = twig_array_merge(($context["label_attr"] ?? null), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 10)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 10), "")) : ("")) . " col-form-label"))]); } // line 12 $context["label_attr"] = twig_array_merge(($context["label_attr"] ?? null), ["class" => twig_trim_filter(((((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 12)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 12), "")) : ("")) . " ") . $this->renderBlock("form_label_class", $context, $blocks)))]); // line 13 $this->displayParentBlock("form_label", $context, $blocks); } } // line 17 public function block_form_label_class($context, array $blocks = []) { $macros = $this->macros; // line 18 echo "col-sm-2"; } // line 23 public function block_form_row($context, array $blocks = []) { $macros = $this->macros; // line 24 if ((array_key_exists("expanded", $context) && ($context["expanded"] ?? null))) { // line 25 $this->displayBlock("fieldset_form_row", $context, $blocks); } else { // line 27 $context["widget_attr"] = []; // line 28 if ( !twig_test_empty(($context["help"] ?? null))) { // line 29 $context["widget_attr"] = ["attr" => ["aria-describedby" => (($context["id"] ?? null) . "_help")]]; } // line 31 echo "<div"; $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $context; $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ["attr" => twig_array_merge(($context["row_attr"] ?? null), ["class" => twig_trim_filter(((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 31)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 31), "")) : ("")) . " form-group row") . (((( !($context["compound"] ?? null) || ((array_key_exists("force_error", $context)) ? (_twig_default_filter(($context["force_error"] ?? null), false)) : (false))) && !($context["valid"] ?? null))) ? (" is-invalid") : (""))))])]; if (!twig_test_iterable($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 31, $this->getSourceContext()); } $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = twig_to_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144); $context = $this->env->mergeGlobals(array_merge($context, $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)); $this->displayBlock("attributes", $context, $blocks); $context = $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4; echo ">"; // line 32 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label'); // line 33 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 34 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget', ($context["widget_attr"] ?? null)); // line 35 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 36 echo "</div> "; // line 37 echo "</div>"; } } // line 41 public function block_fieldset_form_row($context, array $blocks = []) { $macros = $this->macros; // line 42 $context["widget_attr"] = []; // line 43 if ( !twig_test_empty(($context["help"] ?? null))) { // line 44 $context["widget_attr"] = ["attr" => ["aria-describedby" => (($context["id"] ?? null) . "_help")]]; } // line 46 echo "<fieldset"; $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = $context; $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ["attr" => twig_array_merge(($context["row_attr"] ?? null), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 46)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 46), "")) : ("")) . " form-group"))])]; if (!twig_test_iterable($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 46, $this->getSourceContext()); } $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = twig_to_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002); $context = $this->env->mergeGlobals(array_merge($context, $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002)); $this->displayBlock("attributes", $context, $blocks); $context = $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b; echo "> <div class=\"row"; // line 47 if ((( !($context["compound"] ?? null) || ((array_key_exists("force_error", $context)) ? (_twig_default_filter(($context["force_error"] ?? null), false)) : (false))) && !($context["valid"] ?? null))) { echo " is-invalid"; } echo "\">"; // line 48 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label'); // line 49 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 50 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget', ($context["widget_attr"] ?? null)); // line 51 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 52 echo "</div> </div> "; // line 54 echo "</fieldset>"; } // line 57 public function block_submit_row($context, array $blocks = []) { $macros = $this->macros; // line 58 echo "<div"; $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = $context; $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ["attr" => twig_array_merge(($context["row_attr"] ?? null), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 58)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 58), "")) : ("")) . " form-group row"))])]; if (!twig_test_iterable($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 58, $this->getSourceContext()); } $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = twig_to_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666); $context = $this->env->mergeGlobals(array_merge($context, $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666)); $this->displayBlock("attributes", $context, $blocks); $context = $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4; echo ">"; // line 59 echo "<div class=\""; $this->displayBlock("form_label_class", $context, $blocks); echo "\"></div>"; // line 60 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 61 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 62 echo "</div>"; // line 63 echo "</div>"; } // line 66 public function block_reset_row($context, array $blocks = []) { $macros = $this->macros; // line 67 echo "<div"; $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = $context; $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ["attr" => twig_array_merge(($context["row_attr"] ?? null), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 67)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 67), "")) : ("")) . " form-group row"))])]; if (!twig_test_iterable($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 67, $this->getSourceContext()); } $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = twig_to_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52); $context = $this->env->mergeGlobals(array_merge($context, $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52)); $this->displayBlock("attributes", $context, $blocks); $context = $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e; echo ">"; // line 68 echo "<div class=\""; $this->displayBlock("form_label_class", $context, $blocks); echo "\"></div>"; // line 69 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 70 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 71 echo "</div>"; // line 72 echo "</div>"; } // line 75 public function block_form_group_class($context, array $blocks = []) { $macros = $this->macros; // line 76 echo "col-sm-10"; } // line 79 public function block_checkbox_row($context, array $blocks = []) { $macros = $this->macros; // line 80 echo "<div"; $__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 = $context; $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = ["attr" => twig_array_merge(($context["row_attr"] ?? null), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 80)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 80), "")) : ("")) . " form-group row"))])]; if (!twig_test_iterable($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 80, $this->getSourceContext()); } $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = twig_to_array($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386); $context = $this->env->mergeGlobals(array_merge($context, $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386)); $this->displayBlock("attributes", $context, $blocks); $context = $__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136; echo ">"; // line 81 echo "<div class=\""; $this->displayBlock("form_label_class", $context, $blocks); echo "\"></div>"; // line 82 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 83 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 84 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 85 echo "</div>"; // line 86 echo "</div>"; } public function getTemplateName() { return "bootstrap_4_horizontal_layout.html.twig"; } public function getDebugInfo() { return array ( 331 => 86, 329 => 85, 327 => 84, 325 => 83, 321 => 82, 317 => 81, 305 => 80, 301 => 79, 297 => 76, 293 => 75, 289 => 72, 287 => 71, 285 => 70, 281 => 69, 277 => 68, 265 => 67, 261 => 66, 257 => 63, 255 => 62, 253 => 61, 249 => 60, 245 => 59, 233 => 58, 229 => 57, 225 => 54, 221 => 52, 219 => 51, 217 => 50, 213 => 49, 211 => 48, 206 => 47, 193 => 46, 190 => 44, 188 => 43, 186 => 42, 182 => 41, 177 => 37, 174 => 36, 172 => 35, 170 => 34, 166 => 33, 164 => 32, 152 => 31, 149 => 29, 147 => 28, 145 => 27, 142 => 25, 140 => 24, 136 => 23, 132 => 18, 128 => 17, 123 => 13, 121 => 12, 118 => 10, 116 => 9, 111 => 7, 109 => 6, 105 => 5, 101 => 79, 98 => 78, 96 => 75, 93 => 74, 91 => 66, 88 => 65, 86 => 57, 83 => 56, 81 => 41, 78 => 40, 76 => 23, 73 => 22, 70 => 20, 68 => 17, 65 => 16, 63 => 5, 60 => 4, 57 => 2, 30 => 1,); } public function getSourceContext() { return new Source("", "bootstrap_4_horizontal_layout.html.twig", "/var/www/html/amply/vendor/symfony/twig-bridge/Resources/views/Form/bootstrap_4_horizontal_layout.html.twig"); } }