/
home
/
obinna
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
25
/
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_3_horizontal_layout.html.twig */ class __TwigTemplate_726619ef6d45e424ba05948acb9b5512062c19278a73d18249381fa08a4a902f 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_3_layout.html.twig", "bootstrap_3_horizontal_layout.html.twig", 1); if (!$_trait_0->isTraitable()) { throw new RuntimeError('Template "'."bootstrap_3_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_start' => [$this, 'block_form_start'], 'form_label' => [$this, 'block_form_label'], 'form_label_class' => [$this, 'block_form_label_class'], 'form_row' => [$this, 'block_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 3 $this->displayBlock('form_start', $context, $blocks); // line 7 echo " "; // line 9 echo " "; // line 10 $this->displayBlock('form_label', $context, $blocks); // line 18 echo " "; // line 19 $this->displayBlock('form_label_class', $context, $blocks); // line 22 echo " "; // line 24 echo " "; // line 25 $this->displayBlock('form_row', $context, $blocks); // line 39 echo " "; // line 40 $this->displayBlock('submit_row', $context, $blocks); // line 48 echo " "; // line 49 $this->displayBlock('reset_row', $context, $blocks); // line 57 echo " "; // line 58 $this->displayBlock('form_group_class', $context, $blocks); // line 61 echo " "; // line 62 $this->displayBlock('checkbox_row', $context, $blocks); } // line 3 public function block_form_start($context, array $blocks = []) { $macros = $this->macros; // line 4 $context["attr"] = twig_array_merge(($context["attr"] ?? null), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 4)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 4), "")) : ("")) . " form-horizontal"))]); // line 5 $this->displayParentBlock("form_start", $context, $blocks); } // line 10 public function block_form_label($context, array $blocks = []) { $macros = $this->macros; // line 11 if ((($context["label"] ?? null) === false)) { // line 12 echo "<div class=\""; $this->displayBlock("form_label_class", $context, $blocks); echo "\"></div>"; } else { // line 14 $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, 14)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 14), "")) : ("")) . " ") . $this->renderBlock("form_label_class", $context, $blocks)))]); // line 15 $this->displayParentBlock("form_label", $context, $blocks); } } // line 19 public function block_form_label_class($context, array $blocks = []) { $macros = $this->macros; // line 20 echo "col-sm-2"; } // line 25 public function block_form_row($context, array $blocks = []) { $macros = $this->macros; // line 26 $context["widget_attr"] = []; // line 27 if ( !twig_test_empty(($context["help"] ?? null))) { // line 28 $context["widget_attr"] = ["attr" => ["aria-describedby" => (($context["id"] ?? null) . "_help")]]; } // line 30 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, 30)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 30), "")) : ("")) . " form-group") . (((( !($context["compound"] ?? null) || ((array_key_exists("force_error", $context)) ? (_twig_default_filter(($context["force_error"] ?? null), false)) : (false))) && !($context["valid"] ?? null))) ? (" has-error") : (""))))])]; if (!twig_test_iterable($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 30, $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 31 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label'); // line 32 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 33 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget', ($context["widget_attr"] ?? null)); // line 34 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 35 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 36 echo "</div> "; // line 37 echo "</div>"; } // line 40 public function block_submit_row($context, array $blocks = []) { $macros = $this->macros; // line 41 echo "<div"; $__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, 41)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 41), "")) : ("")) . " form-group"))])]; if (!twig_test_iterable($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 41, $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 ">"; // line 42 echo "<div class=\""; $this->displayBlock("form_label_class", $context, $blocks); echo "\"></div>"; // line 43 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 44 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 45 echo "</div>"; // line 46 echo "</div>"; } // line 49 public function block_reset_row($context, array $blocks = []) { $macros = $this->macros; // line 50 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, 50)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 50), "")) : ("")) . " form-group"))])]; if (!twig_test_iterable($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 50, $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 51 echo "<div class=\""; $this->displayBlock("form_label_class", $context, $blocks); echo "\"></div>"; // line 52 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 53 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 54 echo "</div>"; // line 55 echo "</div>"; } // line 58 public function block_form_group_class($context, array $blocks = []) { $macros = $this->macros; // line 59 echo "col-sm-10"; } // line 62 public function block_checkbox_row($context, array $blocks = []) { $macros = $this->macros; // line 63 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, 63)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 63), "")) : ("")) . " form-group") . (( !($context["valid"] ?? null)) ? (" has-error") : (""))))])]; if (!twig_test_iterable($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 63, $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 64 echo "<div class=\""; $this->displayBlock("form_label_class", $context, $blocks); echo "\"></div>"; // line 65 echo "<div class=\""; $this->displayBlock("form_group_class", $context, $blocks); echo "\">"; // line 66 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 67 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'help'); // line 68 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 69 echo "</div>"; // line 70 echo "</div>"; } public function getTemplateName() { return "bootstrap_3_horizontal_layout.html.twig"; } public function getDebugInfo() { return array ( 287 => 70, 285 => 69, 283 => 68, 281 => 67, 279 => 66, 275 => 65, 271 => 64, 259 => 63, 255 => 62, 251 => 59, 247 => 58, 243 => 55, 241 => 54, 239 => 53, 235 => 52, 231 => 51, 219 => 50, 215 => 49, 211 => 46, 209 => 45, 207 => 44, 203 => 43, 199 => 42, 187 => 41, 183 => 40, 179 => 37, 176 => 36, 174 => 35, 172 => 34, 170 => 33, 166 => 32, 164 => 31, 152 => 30, 149 => 28, 147 => 27, 145 => 26, 141 => 25, 137 => 20, 133 => 19, 128 => 15, 126 => 14, 121 => 12, 119 => 11, 115 => 10, 111 => 5, 109 => 4, 105 => 3, 101 => 62, 98 => 61, 96 => 58, 93 => 57, 91 => 49, 88 => 48, 86 => 40, 83 => 39, 81 => 25, 78 => 24, 75 => 22, 73 => 19, 70 => 18, 68 => 10, 65 => 9, 62 => 7, 60 => 3, 57 => 2, 30 => 1,); } public function getSourceContext() { return new Source("", "bootstrap_3_horizontal_layout.html.twig", "/var/www/html/amply/vendor/symfony/twig-bridge/Resources/views/Form/bootstrap_3_horizontal_layout.html.twig"); } }