/
var
/
www
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
b3
/
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_base_layout.html.twig */ class __TwigTemplate_bc0d05739b3490f1862ceff5f71496b062fa7e69e75e3517159fdcc348996378 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("form_div_layout.html.twig", "bootstrap_base_layout.html.twig", 1); if (!$_trait_0->isTraitable()) { throw new RuntimeError('Template "'."form_div_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, [ 'textarea_widget' => [$this, 'block_textarea_widget'], 'money_widget' => [$this, 'block_money_widget'], 'percent_widget' => [$this, 'block_percent_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'], 'choice_widget_collapsed' => [$this, 'block_choice_widget_collapsed'], 'choice_widget_expanded' => [$this, 'block_choice_widget_expanded'], 'choice_label' => [$this, 'block_choice_label'], 'checkbox_label' => [$this, 'block_checkbox_label'], 'radio_label' => [$this, 'block_radio_label'], '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'], ] ); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 echo " "; // line 4 echo " "; // line 5 $this->displayBlock('textarea_widget', $context, $blocks); // line 9 echo " "; // line 10 $this->displayBlock('money_widget', $context, $blocks); // line 27 echo " "; // line 28 $this->displayBlock('percent_widget', $context, $blocks); // line 38 echo " "; // line 39 $this->displayBlock('datetime_widget', $context, $blocks); // line 62 echo " "; // line 63 $this->displayBlock('date_widget', $context, $blocks); // line 89 echo " "; // line 90 $this->displayBlock('time_widget', $context, $blocks); // line 108 $this->displayBlock('dateinterval_widget', $context, $blocks); // line 146 $this->displayBlock('choice_widget_collapsed', $context, $blocks); // line 150 echo " "; // line 151 $this->displayBlock('choice_widget_expanded', $context, $blocks); // line 170 echo " "; // line 172 echo " "; // line 173 $this->displayBlock('choice_label', $context, $blocks); // line 178 echo " "; // line 179 $this->displayBlock('checkbox_label', $context, $blocks); // line 182 echo " "; // line 183 $this->displayBlock('radio_label', $context, $blocks); // line 186 echo " "; // line 188 echo " "; // line 189 $this->displayBlock('button_row', $context, $blocks); // line 194 echo " "; // line 195 $this->displayBlock('choice_row', $context, $blocks); // line 199 echo " "; // line 200 $this->displayBlock('date_row', $context, $blocks); // line 204 echo " "; // line 205 $this->displayBlock('time_row', $context, $blocks); // line 209 echo " "; // line 210 $this->displayBlock('datetime_row', $context, $blocks); } // line 5 public function block_textarea_widget($context, array $blocks = []) { $macros = $this->macros; // line 6 $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, 6)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 6), "")) : ("")) . " form-control"))]); // line 7 $this->displayParentBlock("textarea_widget", $context, $blocks); } // line 10 public function block_money_widget($context, array $blocks = []) { $macros = $this->macros; // line 11 $context["prepend"] = !(is_string($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["money_pattern"] ?? null)) && is_string($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = "{{") && ('' === $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 || 0 === strpos($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4, $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144))); // line 12 echo " "; $context["append"] = !(is_string($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["money_pattern"] ?? null)) && is_string($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = "}}") && ('' === $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 === substr($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b, -strlen($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002)))); // line 13 echo " "; if ((($context["prepend"] ?? null) || ($context["append"] ?? null))) { // line 14 echo " <div class=\"input-group"; echo twig_escape_filter($this->env, ((array_key_exists("group_class", $context)) ? (_twig_default_filter(($context["group_class"] ?? null), "")) : ("")), "html", null, true); echo "\"> "; // line 15 if (($context["prepend"] ?? null)) { // line 16 echo " <span class=\"input-group-addon\">"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, ($context["money_pattern"] ?? null)); echo "</span> "; } // line 18 $this->displayBlock("form_widget_simple", $context, $blocks); // line 19 if (($context["append"] ?? null)) { // line 20 echo " <span class=\"input-group-addon\">"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, ($context["money_pattern"] ?? null)); echo "</span> "; } // line 22 echo " </div> "; } else { // line 24 $this->displayBlock("form_widget_simple", $context, $blocks); } } // line 28 public function block_percent_widget($context, array $blocks = []) { $macros = $this->macros; // line 29 if (($context["symbol"] ?? null)) { // line 30 echo "<div class=\"input-group\">"; // line 31 $this->displayBlock("form_widget_simple", $context, $blocks); // line 32 echo "<span class=\"input-group-addon\">"; echo twig_escape_filter($this->env, ((array_key_exists("symbol", $context)) ? (_twig_default_filter(($context["symbol"] ?? null), "%")) : ("%")), "html", null, true); echo "</span> </div>"; } else { // line 35 $this->displayBlock("form_widget_simple", $context, $blocks); } } // line 39 public function block_datetime_widget($context, array $blocks = []) { $macros = $this->macros; // line 40 if ((0 === twig_compare(($context["widget"] ?? null), "single_text"))) { // line 41 $this->displayBlock("form_widget_simple", $context, $blocks); } else { // line 43 $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, 43)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 43), "")) : ("")) . " form-inline"))]); // line 44 echo "<div "; $this->displayBlock("widget_container_attributes", $context, $blocks); echo ">"; // line 45 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "date", [], "any", false, false, false, 45), 'errors'); // line 46 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "time", [], "any", false, false, false, 46), 'errors'); // line 48 echo "<div class=\"sr-only\">"; // line 49 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "date", [], "any", false, true, false, 49), "year", [], "any", true, true, false, 49)) { echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "date", [], "any", false, false, false, 49), "year", [], "any", false, false, false, 49), 'label'); } // line 50 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "date", [], "any", false, true, false, 50), "month", [], "any", true, true, false, 50)) { echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "date", [], "any", false, false, false, 50), "month", [], "any", false, false, false, 50), 'label'); } // line 51 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "date", [], "any", false, true, false, 51), "day", [], "any", true, true, false, 51)) { echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "date", [], "any", false, false, false, 51), "day", [], "any", false, false, false, 51), 'label'); } // line 52 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "time", [], "any", false, true, false, 52), "hour", [], "any", true, true, false, 52)) { echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "time", [], "any", false, false, false, 52), "hour", [], "any", false, false, false, 52), 'label'); } // line 53 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "time", [], "any", false, true, false, 53), "minute", [], "any", true, true, false, 53)) { echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "time", [], "any", false, false, false, 53), "minute", [], "any", false, false, false, 53), 'label'); } // line 54 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "time", [], "any", false, true, false, 54), "second", [], "any", true, true, false, 54)) { echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "time", [], "any", false, false, false, 54), "second", [], "any", false, false, false, 54), 'label'); } // line 55 echo "</div>"; // line 57 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "date", [], "any", false, false, false, 57), 'widget', ["datetime" => true]); // line 58 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "time", [], "any", false, false, false, 58), 'widget', ["datetime" => true]); // line 59 echo "</div>"; } } // line 63 public function block_date_widget($context, array $blocks = []) { $macros = $this->macros; // line 64 if ((0 === twig_compare(($context["widget"] ?? null), "single_text"))) { // line 65 $this->displayBlock("form_widget_simple", $context, $blocks); } else { // line 67 $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, 67)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 67), "")) : ("")) . " form-inline"))]); // line 68 if (( !array_key_exists("datetime", $context) || !($context["datetime"] ?? null))) { // line 69 echo "<div "; $this->displayBlock("widget_container_attributes", $context, $blocks); echo ">"; } // line 71 if ( !(($context["label"] ?? null) === false)) { // line 72 echo "<div class=\"sr-only\"> "; // line 73 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "year", [], "any", false, false, false, 73), 'label'); echo " "; // line 74 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "month", [], "any", false, false, false, 74), 'label'); echo " "; // line 75 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "day", [], "any", false, false, false, 75), 'label'); echo " </div>"; } // line 79 echo twig_replace_filter(($context["date_pattern"] ?? null), ["{{ year }}" => // line 80 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "year", [], "any", false, false, false, 80), 'widget'), "{{ month }}" => // line 81 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "month", [], "any", false, false, false, 81), 'widget'), "{{ day }}" => // line 82 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "day", [], "any", false, false, false, 82), 'widget')]); // line 84 if (( !array_key_exists("datetime", $context) || !($context["datetime"] ?? null))) { // line 85 echo "</div>"; } } } // line 90 public function block_time_widget($context, array $blocks = []) { $macros = $this->macros; // line 91 if ((0 === twig_compare(($context["widget"] ?? null), "single_text"))) { // line 92 $this->displayBlock("form_widget_simple", $context, $blocks); } else { // line 94 $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, 94)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 94), "")) : ("")) . " form-inline"))]); // line 95 if (( !array_key_exists("datetime", $context) || (0 === twig_compare(false, ($context["datetime"] ?? null))))) { // line 96 echo "<div "; $this->displayBlock("widget_container_attributes", $context, $blocks); echo ">"; } // line 98 if ( !(($context["label"] ?? null) === false)) { echo "<div class=\"sr-only\">"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "hour", [], "any", false, false, false, 98), 'label'); echo "</div>"; } // line 99 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "hour", [], "any", false, false, false, 99), 'widget'); // line 100 if (($context["with_minutes"] ?? null)) { echo ":"; if ( !(($context["label"] ?? null) === false)) { echo "<div class=\"sr-only\">"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "minute", [], "any", false, false, false, 100), 'label'); echo "</div>"; } echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "minute", [], "any", false, false, false, 100), 'widget'); } // line 101 if (($context["with_seconds"] ?? null)) { echo ":"; if ( !(($context["label"] ?? null) === false)) { echo "<div class=\"sr-only\">"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "second", [], "any", false, false, false, 101), 'label'); echo "</div>"; } echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "second", [], "any", false, false, false, 101), 'widget'); } // line 102 if (( !array_key_exists("datetime", $context) || (0 === twig_compare(false, ($context["datetime"] ?? null))))) { // line 103 echo "</div>"; } } } // line 108 public function block_dateinterval_widget($context, array $blocks = []) { $macros = $this->macros; // line 109 if ((0 === twig_compare(($context["widget"] ?? null), "single_text"))) { // line 110 $this->displayBlock("form_widget_simple", $context, $blocks); } else { // line 112 $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, 112)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 112), "")) : ("")) . " form-inline"))]); // line 113 echo "<div "; $this->displayBlock("widget_container_attributes", $context, $blocks); echo ">"; // line 114 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); // line 115 echo "<div class=\"table-responsive\"> <table class=\"table "; // line 116 echo twig_escape_filter($this->env, ((array_key_exists("table_class", $context)) ? (_twig_default_filter(($context["table_class"] ?? null), "table-bordered table-condensed table-striped")) : ("table-bordered table-condensed table-striped")), "html", null, true); echo "\" role=\"presentation\"> <thead> <tr>"; // line 119 if (($context["with_years"] ?? null)) { echo "<th>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "years", [], "any", false, false, false, 119), 'label'); echo "</th>"; } // line 120 if (($context["with_months"] ?? null)) { echo "<th>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "months", [], "any", false, false, false, 120), 'label'); echo "</th>"; } // line 121 if (($context["with_weeks"] ?? null)) { echo "<th>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "weeks", [], "any", false, false, false, 121), 'label'); echo "</th>"; } // line 122 if (($context["with_days"] ?? null)) { echo "<th>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "days", [], "any", false, false, false, 122), 'label'); echo "</th>"; } // line 123 if (($context["with_hours"] ?? null)) { echo "<th>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "hours", [], "any", false, false, false, 123), 'label'); echo "</th>"; } // line 124 if (($context["with_minutes"] ?? null)) { echo "<th>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "minutes", [], "any", false, false, false, 124), 'label'); echo "</th>"; } // line 125 if (($context["with_seconds"] ?? null)) { echo "<th>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "seconds", [], "any", false, false, false, 125), 'label'); echo "</th>"; } // line 126 echo "</tr> </thead> <tbody> <tr>"; // line 130 if (($context["with_years"] ?? null)) { echo "<td>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "years", [], "any", false, false, false, 130), 'widget'); echo "</td>"; } // line 131 if (($context["with_months"] ?? null)) { echo "<td>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "months", [], "any", false, false, false, 131), 'widget'); echo "</td>"; } // line 132 if (($context["with_weeks"] ?? null)) { echo "<td>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "weeks", [], "any", false, false, false, 132), 'widget'); echo "</td>"; } // line 133 if (($context["with_days"] ?? null)) { echo "<td>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "days", [], "any", false, false, false, 133), 'widget'); echo "</td>"; } // line 134 if (($context["with_hours"] ?? null)) { echo "<td>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "hours", [], "any", false, false, false, 134), 'widget'); echo "</td>"; } // line 135 if (($context["with_minutes"] ?? null)) { echo "<td>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "minutes", [], "any", false, false, false, 135), 'widget'); echo "</td>"; } // line 136 if (($context["with_seconds"] ?? null)) { echo "<td>"; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "seconds", [], "any", false, false, false, 136), 'widget'); echo "</td>"; } // line 137 echo "</tr> </tbody> </table> </div>"; // line 141 if (($context["with_invert"] ?? null)) { echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "invert", [], "any", false, false, false, 141), 'widget'); } // line 142 echo "</div>"; } } // line 146 public function block_choice_widget_collapsed($context, array $blocks = []) { $macros = $this->macros; // line 147 $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, 147)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 147), "")) : ("")) . " form-control"))]); // line 148 $this->displayParentBlock("choice_widget_collapsed", $context, $blocks); } // line 151 public function block_choice_widget_expanded($context, array $blocks = []) { $macros = $this->macros; // line 152 if (twig_in_filter("-inline", ((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 152)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 152), "")) : ("")))) { // line 153 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["form"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 154 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget', ["parent_label_class" => ((twig_get_attribute($this->env, $this->source, // line 155 ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 155)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 155), "")) : ("")), "translation_domain" => // line 156 ($context["choice_translation_domain"] ?? null)]); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } else { // line 160 echo "<div "; $this->displayBlock("widget_container_attributes", $context, $blocks); echo ">"; // line 161 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["form"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 162 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget', ["parent_label_class" => ((twig_get_attribute($this->env, $this->source, // line 163 ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 163)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 163), "")) : ("")), "translation_domain" => // line 164 ($context["choice_translation_domain"] ?? null)]); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 167 echo "</div>"; } } // line 173 public function block_choice_label($context, array $blocks = []) { $macros = $this->macros; // line 175 $context["label_attr"] = twig_array_merge(($context["label_attr"] ?? null), ["class" => twig_trim_filter(twig_replace_filter(((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 175)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 175), "")) : ("")), ["checkbox-inline" => "", "radio-inline" => "", "checkbox-custom" => "", "radio-custom" => "", "switch-custom" => ""]))]); // line 176 $this->displayBlock("form_label", $context, $blocks); } // line 179 public function block_checkbox_label($context, array $blocks = []) { $macros = $this->macros; // line 180 $this->displayBlock("checkbox_radio_label", $context, $blocks); } // line 183 public function block_radio_label($context, array $blocks = []) { $macros = $this->macros; // line 184 $this->displayBlock("checkbox_radio_label", $context, $blocks); } // line 189 public function block_button_row($context, array $blocks = []) { $macros = $this->macros; // line 190 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, 190)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 190), "")) : ("")) . " form-group"))])]; if (!twig_test_iterable($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666)) { throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 190, $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 191 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget'); // line 192 echo "</div>"; } // line 195 public function block_choice_row($context, array $blocks = []) { $macros = $this->macros; // line 196 $context["force_error"] = true; // line 197 $this->displayBlock("form_row", $context, $blocks); } // line 200 public function block_date_row($context, array $blocks = []) { $macros = $this->macros; // line 201 $context["force_error"] = true; // line 202 $this->displayBlock("form_row", $context, $blocks); } // line 205 public function block_time_row($context, array $blocks = []) { $macros = $this->macros; // line 206 $context["force_error"] = true; // line 207 $this->displayBlock("form_row", $context, $blocks); } // line 210 public function block_datetime_row($context, array $blocks = []) { $macros = $this->macros; // line 211 $context["force_error"] = true; // line 212 $this->displayBlock("form_row", $context, $blocks); } public function getTemplateName() { return "bootstrap_base_layout.html.twig"; } public function getDebugInfo() { return array ( 652 => 212, 650 => 211, 646 => 210, 642 => 207, 640 => 206, 636 => 205, 632 => 202, 630 => 201, 626 => 200, 622 => 197, 620 => 196, 616 => 195, 612 => 192, 610 => 191, 598 => 190, 594 => 189, 590 => 184, 586 => 183, 582 => 180, 578 => 179, 574 => 176, 572 => 175, 568 => 173, 563 => 167, 557 => 164, 556 => 163, 555 => 162, 551 => 161, 547 => 160, 540 => 156, 539 => 155, 538 => 154, 534 => 153, 532 => 152, 528 => 151, 524 => 148, 522 => 147, 518 => 146, 513 => 142, 509 => 141, 504 => 137, 498 => 136, 492 => 135, 486 => 134, 480 => 133, 474 => 132, 468 => 131, 462 => 130, 457 => 126, 451 => 125, 445 => 124, 439 => 123, 433 => 122, 427 => 121, 421 => 120, 415 => 119, 410 => 116, 407 => 115, 405 => 114, 401 => 113, 399 => 112, 396 => 110, 394 => 109, 390 => 108, 384 => 103, 382 => 102, 372 => 101, 362 => 100, 360 => 99, 354 => 98, 349 => 96, 347 => 95, 345 => 94, 342 => 92, 340 => 91, 336 => 90, 330 => 85, 328 => 84, 326 => 82, 325 => 81, 324 => 80, 323 => 79, 318 => 75, 314 => 74, 310 => 73, 307 => 72, 305 => 71, 300 => 69, 298 => 68, 296 => 67, 293 => 65, 291 => 64, 287 => 63, 282 => 59, 280 => 58, 278 => 57, 276 => 55, 272 => 54, 268 => 53, 264 => 52, 260 => 51, 256 => 50, 252 => 49, 250 => 48, 248 => 46, 246 => 45, 242 => 44, 240 => 43, 237 => 41, 235 => 40, 231 => 39, 226 => 35, 220 => 32, 218 => 31, 216 => 30, 214 => 29, 210 => 28, 205 => 24, 201 => 22, 195 => 20, 193 => 19, 191 => 18, 185 => 16, 183 => 15, 178 => 14, 175 => 13, 172 => 12, 170 => 11, 166 => 10, 162 => 7, 160 => 6, 156 => 5, 152 => 210, 149 => 209, 147 => 205, 144 => 204, 142 => 200, 139 => 199, 137 => 195, 134 => 194, 132 => 189, 129 => 188, 126 => 186, 124 => 183, 121 => 182, 119 => 179, 116 => 178, 114 => 173, 111 => 172, 108 => 170, 106 => 151, 103 => 150, 101 => 146, 99 => 108, 97 => 90, 94 => 89, 92 => 63, 89 => 62, 87 => 39, 84 => 38, 82 => 28, 79 => 27, 77 => 10, 74 => 9, 72 => 5, 69 => 4, 66 => 2, 30 => 1,); } public function getSourceContext() { return new Source("", "bootstrap_base_layout.html.twig", "/var/www/html/amply/vendor/symfony/twig-bridge/Resources/views/Form/bootstrap_base_layout.html.twig"); } }