697 lines
51 KiB
PHP
697 lines
51 KiB
PHP
<?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_5_horizontal_layout.html.twig */
|
|
class __TwigTemplate_8fca40814bcee932a0ae0a43860a551f266fa9448ffea5986db1daa1d8458c9d 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_5_layout.html.twig", "bootstrap_5_horizontal_layout.html.twig", 1);
|
|
if (!$_trait_0->isTraitable()) {
|
|
throw new RuntimeError('Template "'."bootstrap_5_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'],
|
|
'button_row' => [$this, 'block_button_row'],
|
|
'checkbox_row' => [$this, 'block_checkbox_row'],
|
|
'form_group_class' => [$this, 'block_form_group_class'],
|
|
]
|
|
);
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "bootstrap_5_horizontal_layout.html.twig"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "bootstrap_5_horizontal_layout.html.twig"));
|
|
|
|
// line 2
|
|
echo "
|
|
";
|
|
// line 4
|
|
echo "
|
|
";
|
|
// line 5
|
|
$this->displayBlock('form_label', $context, $blocks);
|
|
// line 19
|
|
echo "
|
|
";
|
|
// line 20
|
|
$this->displayBlock('form_label_class', $context, $blocks);
|
|
// line 23
|
|
echo "
|
|
";
|
|
// line 25
|
|
echo "
|
|
";
|
|
// line 26
|
|
$this->displayBlock('form_row', $context, $blocks);
|
|
// line 72
|
|
echo "
|
|
";
|
|
// line 73
|
|
$this->displayBlock('fieldset_form_row', $context, $blocks);
|
|
// line 89
|
|
echo "
|
|
";
|
|
// line 90
|
|
$this->displayBlock('submit_row', $context, $blocks);
|
|
// line 98
|
|
echo "
|
|
";
|
|
// line 99
|
|
$this->displayBlock('reset_row', $context, $blocks);
|
|
// line 107
|
|
echo "
|
|
";
|
|
// line 108
|
|
$this->displayBlock('button_row', $context, $blocks);
|
|
// line 116
|
|
echo "
|
|
";
|
|
// line 117
|
|
$this->displayBlock('checkbox_row', $context, $blocks);
|
|
// line 127
|
|
echo "
|
|
";
|
|
// line 128
|
|
$this->displayBlock('form_group_class', $context, $blocks);
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 5
|
|
public function block_form_label($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label"));
|
|
|
|
// line 6
|
|
if (((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 6, $this->source); })()) === false)) {
|
|
// line 7
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_label_class", $context, $blocks);
|
|
echo "\"></div>";
|
|
} else {
|
|
// line 9
|
|
$context["row_class"] = ((array_key_exists("row_class", $context)) ? (_twig_default_filter((isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 9, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 9)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 9), "")) : ("")))) : (((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 9)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 9), "")) : (""))));
|
|
// line 10
|
|
if ((!twig_in_filter("form-floating", (isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 10, $this->source); })())) && !twig_in_filter("input-group", (isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 10, $this->source); })())))) {
|
|
// line 11
|
|
if (( !array_key_exists("expanded", $context) || !(isset($context["expanded"]) || array_key_exists("expanded", $context) ? $context["expanded"] : (function () { throw new RuntimeError('Variable "expanded" does not exist.', 11, $this->source); })()))) {
|
|
// line 12
|
|
$context["label_attr"] = twig_array_merge((isset($context["label_attr"]) || array_key_exists("label_attr", $context) ? $context["label_attr"] : (function () { throw new RuntimeError('Variable "label_attr" does not exist.', 12, $this->source); })()), ["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), "")) : ("")) . " col-form-label"))]);
|
|
}
|
|
// line 14
|
|
$context["label_attr"] = twig_array_merge((isset($context["label_attr"]) || array_key_exists("label_attr", $context) ? $context["label_attr"] : (function () { throw new RuntimeError('Variable "label_attr" does not exist.', 14, $this->source); })()), ["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 16
|
|
$this->displayParentBlock("form_label", $context, $blocks);
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 20
|
|
public function block_form_label_class($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label_class"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label_class"));
|
|
|
|
// line 21
|
|
echo "col-sm-2";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 26
|
|
public function block_form_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_row"));
|
|
|
|
// line 27
|
|
if ((array_key_exists("expanded", $context) && (isset($context["expanded"]) || array_key_exists("expanded", $context) ? $context["expanded"] : (function () { throw new RuntimeError('Variable "expanded" does not exist.', 27, $this->source); })()))) {
|
|
// line 28
|
|
$this->displayBlock("fieldset_form_row", $context, $blocks);
|
|
} else {
|
|
// line 30
|
|
$context["widget_attr"] = [];
|
|
// line 31
|
|
if ( !twig_test_empty((isset($context["help"]) || array_key_exists("help", $context) ? $context["help"] : (function () { throw new RuntimeError('Variable "help" does not exist.', 31, $this->source); })()))) {
|
|
// line 32
|
|
$context["widget_attr"] = ["attr" => ["aria-describedby" => ((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 32, $this->source); })()) . "_help")]];
|
|
}
|
|
// line 34
|
|
$context["row_class"] = ((array_key_exists("row_class", $context)) ? (_twig_default_filter((isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 34, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 34)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 34), "mb-3")) : ("mb-3")))) : (((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 34)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 34), "mb-3")) : ("mb-3"))));
|
|
// line 35
|
|
$context["is_form_floating"] = ((array_key_exists("is_form_floating", $context)) ? (_twig_default_filter((isset($context["is_form_floating"]) || array_key_exists("is_form_floating", $context) ? $context["is_form_floating"] : (function () { throw new RuntimeError('Variable "is_form_floating" does not exist.', 35, $this->source); })()), twig_in_filter("form-floating", (isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 35, $this->source); })())))) : (twig_in_filter("form-floating", (isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 35, $this->source); })()))));
|
|
// line 36
|
|
$context["is_input_group"] = ((array_key_exists("is_input_group", $context)) ? (_twig_default_filter((isset($context["is_input_group"]) || array_key_exists("is_input_group", $context) ? $context["is_input_group"] : (function () { throw new RuntimeError('Variable "is_input_group" does not exist.', 36, $this->source); })()), twig_in_filter("input-group", (isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 36, $this->source); })())))) : (twig_in_filter("input-group", (isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 36, $this->source); })()))));
|
|
// line 38
|
|
$context["row_class"] = twig_replace_filter((isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 38, $this->source); })()), ["form-floating" => "", "input-group" => ""]);
|
|
// line 39
|
|
echo "<div";
|
|
$__internal_compile_0 = $context;
|
|
$__internal_compile_1 = ["attr" => twig_array_merge((isset($context["row_attr"]) || array_key_exists("row_attr", $context) ? $context["row_attr"] : (function () { throw new RuntimeError('Variable "row_attr" does not exist.', 39, $this->source); })()), ["class" => twig_trim_filter((((isset($context["row_class"]) || array_key_exists("row_class", $context) ? $context["row_class"] : (function () { throw new RuntimeError('Variable "row_class" does not exist.', 39, $this->source); })()) . " row") . (((( !(isset($context["compound"]) || array_key_exists("compound", $context) ? $context["compound"] : (function () { throw new RuntimeError('Variable "compound" does not exist.', 39, $this->source); })()) || ((array_key_exists("force_error", $context)) ? (_twig_default_filter((isset($context["force_error"]) || array_key_exists("force_error", $context) ? $context["force_error"] : (function () { throw new RuntimeError('Variable "force_error" does not exist.', 39, $this->source); })()), false)) : (false))) && !(isset($context["valid"]) || array_key_exists("valid", $context) ? $context["valid"] : (function () { throw new RuntimeError('Variable "valid" does not exist.', 39, $this->source); })()))) ? (" is-invalid") : (""))))])];
|
|
if (!twig_test_iterable($__internal_compile_1)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 39, $this->getSourceContext());
|
|
}
|
|
$__internal_compile_1 = twig_to_array($__internal_compile_1);
|
|
$context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_1));
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
$context = $__internal_compile_0;
|
|
echo ">";
|
|
// line 40
|
|
if (((isset($context["is_form_floating"]) || array_key_exists("is_form_floating", $context) ? $context["is_form_floating"] : (function () { throw new RuntimeError('Variable "is_form_floating" does not exist.', 40, $this->source); })()) || (isset($context["is_input_group"]) || array_key_exists("is_input_group", $context) ? $context["is_input_group"] : (function () { throw new RuntimeError('Variable "is_input_group" does not exist.', 40, $this->source); })()))) {
|
|
// line 41
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_label_class", $context, $blocks);
|
|
echo "\"></div>
|
|
<div class=\"";
|
|
// line 42
|
|
$this->displayBlock("form_group_class", $context, $blocks);
|
|
echo "\">";
|
|
// line 43
|
|
if ((isset($context["is_form_floating"]) || array_key_exists("is_form_floating", $context) ? $context["is_form_floating"] : (function () { throw new RuntimeError('Variable "is_form_floating" does not exist.', 43, $this->source); })())) {
|
|
// line 44
|
|
echo "<div class=\"form-floating\">";
|
|
// line 45
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 45, $this->source); })()), 'widget', (isset($context["widget_attr"]) || array_key_exists("widget_attr", $context) ? $context["widget_attr"] : (function () { throw new RuntimeError('Variable "widget_attr" does not exist.', 45, $this->source); })()));
|
|
// line 46
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 46, $this->source); })()), 'label');
|
|
// line 47
|
|
echo "</div>";
|
|
} elseif ( // line 48
|
|
(isset($context["is_input_group"]) || array_key_exists("is_input_group", $context) ? $context["is_input_group"] : (function () { throw new RuntimeError('Variable "is_input_group" does not exist.', 48, $this->source); })())) {
|
|
// line 49
|
|
echo "<div class=\"input-group\">";
|
|
// line 50
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 50, $this->source); })()), 'label');
|
|
// line 51
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 51, $this->source); })()), 'widget', (isset($context["widget_attr"]) || array_key_exists("widget_attr", $context) ? $context["widget_attr"] : (function () { throw new RuntimeError('Variable "widget_attr" does not exist.', 51, $this->source); })()));
|
|
// line 53
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 53, $this->source); })()), 'help');
|
|
// line 54
|
|
echo "</div>";
|
|
}
|
|
// line 56
|
|
if ( !(isset($context["is_input_group"]) || array_key_exists("is_input_group", $context) ? $context["is_input_group"] : (function () { throw new RuntimeError('Variable "is_input_group" does not exist.', 56, $this->source); })())) {
|
|
// line 57
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 57, $this->source); })()), 'help');
|
|
}
|
|
// line 59
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 59, $this->source); })()), 'errors');
|
|
// line 60
|
|
echo "</div>";
|
|
} else {
|
|
// line 62
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 62, $this->source); })()), 'label');
|
|
// line 63
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_group_class", $context, $blocks);
|
|
echo "\">";
|
|
// line 64
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 64, $this->source); })()), 'widget', (isset($context["widget_attr"]) || array_key_exists("widget_attr", $context) ? $context["widget_attr"] : (function () { throw new RuntimeError('Variable "widget_attr" does not exist.', 64, $this->source); })()));
|
|
// line 65
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 65, $this->source); })()), 'help');
|
|
// line 66
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 66, $this->source); })()), 'errors');
|
|
// line 67
|
|
echo "</div>";
|
|
}
|
|
// line 69
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 73
|
|
public function block_fieldset_form_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "fieldset_form_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "fieldset_form_row"));
|
|
|
|
// line 74
|
|
$context["widget_attr"] = [];
|
|
// line 75
|
|
if ( !twig_test_empty((isset($context["help"]) || array_key_exists("help", $context) ? $context["help"] : (function () { throw new RuntimeError('Variable "help" does not exist.', 75, $this->source); })()))) {
|
|
// line 76
|
|
$context["widget_attr"] = ["attr" => ["aria-describedby" => ((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 76, $this->source); })()) . "_help")]];
|
|
}
|
|
// line 78
|
|
echo "<fieldset";
|
|
$__internal_compile_2 = $context;
|
|
$__internal_compile_3 = ["attr" => twig_array_merge((isset($context["row_attr"]) || array_key_exists("row_attr", $context) ? $context["row_attr"] : (function () { throw new RuntimeError('Variable "row_attr" does not exist.', 78, $this->source); })()), ["class" => twig_trim_filter(((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 78)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 78), "mb-3")) : ("mb-3")))])];
|
|
if (!twig_test_iterable($__internal_compile_3)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 78, $this->getSourceContext());
|
|
}
|
|
$__internal_compile_3 = twig_to_array($__internal_compile_3);
|
|
$context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_3));
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
$context = $__internal_compile_2;
|
|
echo ">
|
|
<div class=\"row";
|
|
// line 79
|
|
if ((( !(isset($context["compound"]) || array_key_exists("compound", $context) ? $context["compound"] : (function () { throw new RuntimeError('Variable "compound" does not exist.', 79, $this->source); })()) || ((array_key_exists("force_error", $context)) ? (_twig_default_filter((isset($context["force_error"]) || array_key_exists("force_error", $context) ? $context["force_error"] : (function () { throw new RuntimeError('Variable "force_error" does not exist.', 79, $this->source); })()), false)) : (false))) && !(isset($context["valid"]) || array_key_exists("valid", $context) ? $context["valid"] : (function () { throw new RuntimeError('Variable "valid" does not exist.', 79, $this->source); })()))) {
|
|
echo " is-invalid";
|
|
}
|
|
echo "\">";
|
|
// line 80
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 80, $this->source); })()), 'label');
|
|
// line 81
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_group_class", $context, $blocks);
|
|
echo "\">";
|
|
// line 82
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 82, $this->source); })()), 'widget', (isset($context["widget_attr"]) || array_key_exists("widget_attr", $context) ? $context["widget_attr"] : (function () { throw new RuntimeError('Variable "widget_attr" does not exist.', 82, $this->source); })()));
|
|
// line 83
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 83, $this->source); })()), 'help');
|
|
// line 84
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 84, $this->source); })()), 'errors');
|
|
// line 85
|
|
echo "</div>
|
|
</div>
|
|
</fieldset>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 90
|
|
public function block_submit_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "submit_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "submit_row"));
|
|
|
|
// line 91
|
|
echo "<div";
|
|
$__internal_compile_4 = $context;
|
|
$__internal_compile_5 = ["attr" => twig_array_merge((isset($context["row_attr"]) || array_key_exists("row_attr", $context) ? $context["row_attr"] : (function () { throw new RuntimeError('Variable "row_attr" does not exist.', 91, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 91)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 91), "mb-3")) : ("mb-3")) . " row"))])];
|
|
if (!twig_test_iterable($__internal_compile_5)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 91, $this->getSourceContext());
|
|
}
|
|
$__internal_compile_5 = twig_to_array($__internal_compile_5);
|
|
$context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_5));
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
$context = $__internal_compile_4;
|
|
echo ">";
|
|
// line 92
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_label_class", $context, $blocks);
|
|
echo "\"></div>";
|
|
// line 93
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_group_class", $context, $blocks);
|
|
echo "\">";
|
|
// line 94
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 94, $this->source); })()), 'widget');
|
|
// line 95
|
|
echo "</div>";
|
|
// line 96
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 99
|
|
public function block_reset_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "reset_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "reset_row"));
|
|
|
|
// line 100
|
|
echo "<div";
|
|
$__internal_compile_6 = $context;
|
|
$__internal_compile_7 = ["attr" => twig_array_merge((isset($context["row_attr"]) || array_key_exists("row_attr", $context) ? $context["row_attr"] : (function () { throw new RuntimeError('Variable "row_attr" does not exist.', 100, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 100)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 100), "mb-3")) : ("mb-3")) . " row"))])];
|
|
if (!twig_test_iterable($__internal_compile_7)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 100, $this->getSourceContext());
|
|
}
|
|
$__internal_compile_7 = twig_to_array($__internal_compile_7);
|
|
$context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_7));
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
$context = $__internal_compile_6;
|
|
echo ">";
|
|
// line 101
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_label_class", $context, $blocks);
|
|
echo "\"></div>";
|
|
// line 102
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_group_class", $context, $blocks);
|
|
echo "\">";
|
|
// line 103
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 103, $this->source); })()), 'widget');
|
|
// line 104
|
|
echo "</div>";
|
|
// line 105
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 108
|
|
public function block_button_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_row"));
|
|
|
|
// line 109
|
|
echo "<div";
|
|
$__internal_compile_8 = $context;
|
|
$__internal_compile_9 = ["attr" => twig_array_merge((isset($context["row_attr"]) || array_key_exists("row_attr", $context) ? $context["row_attr"] : (function () { throw new RuntimeError('Variable "row_attr" does not exist.', 109, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 109)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 109), "mb-3")) : ("mb-3")) . " row"))])];
|
|
if (!twig_test_iterable($__internal_compile_9)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 109, $this->getSourceContext());
|
|
}
|
|
$__internal_compile_9 = twig_to_array($__internal_compile_9);
|
|
$context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_9));
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
$context = $__internal_compile_8;
|
|
echo ">";
|
|
// line 110
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_label_class", $context, $blocks);
|
|
echo "\"></div>";
|
|
// line 111
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_group_class", $context, $blocks);
|
|
echo "\">";
|
|
// line 112
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 112, $this->source); })()), 'widget');
|
|
// line 113
|
|
echo "</div>";
|
|
// line 114
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 117
|
|
public function block_checkbox_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_row"));
|
|
|
|
// line 118
|
|
echo "<div";
|
|
$__internal_compile_10 = $context;
|
|
$__internal_compile_11 = ["attr" => twig_array_merge((isset($context["row_attr"]) || array_key_exists("row_attr", $context) ? $context["row_attr"] : (function () { throw new RuntimeError('Variable "row_attr" does not exist.', 118, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", true, true, false, 118)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["row_attr"] ?? null), "class", [], "any", false, false, false, 118), "mb-3")) : ("mb-3")) . " row"))])];
|
|
if (!twig_test_iterable($__internal_compile_11)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.', 118, $this->getSourceContext());
|
|
}
|
|
$__internal_compile_11 = twig_to_array($__internal_compile_11);
|
|
$context = $this->env->mergeGlobals(array_merge($context, $__internal_compile_11));
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
$context = $__internal_compile_10;
|
|
echo ">";
|
|
// line 119
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_label_class", $context, $blocks);
|
|
echo "\"></div>";
|
|
// line 120
|
|
echo "<div class=\"";
|
|
$this->displayBlock("form_group_class", $context, $blocks);
|
|
echo "\">";
|
|
// line 121
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 121, $this->source); })()), 'widget');
|
|
// line 122
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 122, $this->source); })()), 'help');
|
|
// line 123
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 123, $this->source); })()), 'errors');
|
|
// line 124
|
|
echo "</div>";
|
|
// line 125
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 128
|
|
public function block_form_group_class($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_group_class"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_group_class"));
|
|
|
|
// line 129
|
|
echo "col-sm-10";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "bootstrap_5_horizontal_layout.html.twig";
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 543 => 129, 533 => 128, 523 => 125, 521 => 124, 519 => 123, 517 => 122, 515 => 121, 511 => 120, 507 => 119, 495 => 118, 485 => 117, 475 => 114, 473 => 113, 471 => 112, 467 => 111, 463 => 110, 451 => 109, 441 => 108, 431 => 105, 429 => 104, 427 => 103, 423 => 102, 419 => 101, 407 => 100, 397 => 99, 387 => 96, 385 => 95, 383 => 94, 379 => 93, 375 => 92, 363 => 91, 353 => 90, 341 => 85, 339 => 84, 337 => 83, 335 => 82, 331 => 81, 329 => 80, 324 => 79, 311 => 78, 308 => 76, 306 => 75, 304 => 74, 294 => 73, 283 => 69, 280 => 67, 278 => 66, 276 => 65, 274 => 64, 270 => 63, 268 => 62, 265 => 60, 263 => 59, 260 => 57, 258 => 56, 255 => 54, 253 => 53, 251 => 51, 249 => 50, 247 => 49, 245 => 48, 243 => 47, 241 => 46, 239 => 45, 237 => 44, 235 => 43, 232 => 42, 227 => 41, 225 => 40, 213 => 39, 211 => 38, 209 => 36, 207 => 35, 205 => 34, 202 => 32, 200 => 31, 198 => 30, 195 => 28, 193 => 27, 183 => 26, 173 => 21, 163 => 20, 152 => 16, 149 => 14, 146 => 12, 144 => 11, 142 => 10, 140 => 9, 135 => 7, 133 => 6, 123 => 5, 113 => 128, 110 => 127, 108 => 117, 105 => 116, 103 => 108, 100 => 107, 98 => 99, 95 => 98, 93 => 90, 90 => 89, 88 => 73, 85 => 72, 83 => 26, 80 => 25, 77 => 23, 75 => 20, 72 => 19, 70 => 5, 67 => 4, 64 => 2, 30 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("{% use \"bootstrap_5_layout.html.twig\" %}
|
|
|
|
{# Labels #}
|
|
|
|
{% block form_label -%}
|
|
{%- if label is same as(false) -%}
|
|
<div class=\"{{ block('form_label_class') }}\"></div>
|
|
{%- else -%}
|
|
{%- set row_class = row_class|default(row_attr.class|default('')) -%}
|
|
{%- if 'form-floating' not in row_class and 'input-group' not in row_class -%}
|
|
{%- if expanded is not defined or not expanded -%}
|
|
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' col-form-label')|trim}) -%}
|
|
{%- endif -%}
|
|
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' ' ~ block('form_label_class'))|trim}) -%}
|
|
{%- endif -%}
|
|
{{- parent() -}}
|
|
{%- endif -%}
|
|
{%- endblock form_label %}
|
|
|
|
{% block form_label_class -%}
|
|
col-sm-2
|
|
{%- endblock form_label_class %}
|
|
|
|
{# Rows #}
|
|
|
|
{% block form_row -%}
|
|
{%- if expanded is defined and expanded -%}
|
|
{{ block('fieldset_form_row') }}
|
|
{%- else -%}
|
|
{%- set widget_attr = {} -%}
|
|
{%- if help is not empty -%}
|
|
{%- set widget_attr = {attr: {'aria-describedby': id ~\"_help\"}} -%}
|
|
{%- endif -%}
|
|
{%- set row_class = row_class|default(row_attr.class|default('mb-3')) -%}
|
|
{%- set is_form_floating = is_form_floating|default('form-floating' in row_class) -%}
|
|
{%- set is_input_group = is_input_group|default('input-group' in row_class) -%}
|
|
{#- Remove behavior class from the main container -#}
|
|
{%- set row_class = row_class|replace({'form-floating': '', 'input-group': ''}) -%}
|
|
<div{% with {attr: row_attr|merge({class: (row_class ~ ' row' ~ ((not compound or force_error|default(false)) and not valid ? ' is-invalid'))|trim})} %}{{ block('attributes') }}{% endwith %}>
|
|
{%- if is_form_floating or is_input_group -%}
|
|
<div class=\"{{ block('form_label_class') }}\"></div>
|
|
<div class=\"{{ block('form_group_class') }}\">
|
|
{%- if is_form_floating -%}
|
|
<div class=\"form-floating\">
|
|
{{- form_widget(form, widget_attr) -}}
|
|
{{- form_label(form) -}}
|
|
</div>
|
|
{%- elseif is_input_group -%}
|
|
<div class=\"input-group\">
|
|
{{- form_label(form) -}}
|
|
{{- form_widget(form, widget_attr) -}}
|
|
{#- Hack to properly display help with input group -#}
|
|
{{- form_help(form) -}}
|
|
</div>
|
|
{%- endif -%}
|
|
{%- if not is_input_group -%}
|
|
{{- form_help(form) -}}
|
|
{%- endif -%}
|
|
{{- form_errors(form) -}}
|
|
</div>
|
|
{%- else -%}
|
|
{{- form_label(form) -}}
|
|
<div class=\"{{ block('form_group_class') }}\">
|
|
{{- form_widget(form, widget_attr) -}}
|
|
{{- form_help(form) -}}
|
|
{{- form_errors(form) -}}
|
|
</div>
|
|
{%- endif -%}
|
|
{##}</div>
|
|
{%- endif -%}
|
|
{%- endblock form_row %}
|
|
|
|
{% block fieldset_form_row -%}
|
|
{%- set widget_attr = {} -%}
|
|
{%- if help is not empty -%}
|
|
{%- set widget_attr = {attr: {'aria-describedby': id ~\"_help\"}} -%}
|
|
{%- endif -%}
|
|
<fieldset{% with {attr: row_attr|merge({class: row_attr.class|default('mb-3')|trim})} %}{{ block('attributes') }}{% endwith %}>
|
|
<div class=\"row{% if (not compound or force_error|default(false)) and not valid %} is-invalid{% endif %}\">
|
|
{{- form_label(form) -}}
|
|
<div class=\"{{ block('form_group_class') }}\">
|
|
{{- form_widget(form, widget_attr) -}}
|
|
{{- form_help(form) -}}
|
|
{{- form_errors(form) -}}
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
{%- endblock fieldset_form_row %}
|
|
|
|
{% block submit_row -%}
|
|
<div{% with {attr: row_attr|merge({class: (row_attr.class|default('mb-3') ~ ' row')|trim})} %}{{ block('attributes') }}{% endwith %}>{#--#}
|
|
<div class=\"{{ block('form_label_class') }}\"></div>{#--#}
|
|
<div class=\"{{ block('form_group_class') }}\">
|
|
{{- form_widget(form) -}}
|
|
</div>{#--#}
|
|
</div>
|
|
{%- endblock submit_row %}
|
|
|
|
{% block reset_row -%}
|
|
<div{% with {attr: row_attr|merge({class: (row_attr.class|default('mb-3') ~ ' row')|trim})} %}{{ block('attributes') }}{% endwith %}>{#--#}
|
|
<div class=\"{{ block('form_label_class') }}\"></div>{#--#}
|
|
<div class=\"{{ block('form_group_class') }}\">
|
|
{{- form_widget(form) -}}
|
|
</div>{#--#}
|
|
</div>
|
|
{%- endblock reset_row %}
|
|
|
|
{% block button_row -%}
|
|
<div{% with {attr: row_attr|merge({class: (row_attr.class|default('mb-3') ~ ' row')|trim})} %}{{ block('attributes') }}{% endwith %}>{#--#}
|
|
<div class=\"{{ block('form_label_class') }}\"></div>{#--#}
|
|
<div class=\"{{ block('form_group_class') }}\">
|
|
{{- form_widget(form) -}}
|
|
</div>{#--#}
|
|
</div>
|
|
{%- endblock button_row %}
|
|
|
|
{% block checkbox_row -%}
|
|
<div{% with {attr: row_attr|merge({class: (row_attr.class|default('mb-3') ~ ' row')|trim})} %}{{ block('attributes') }}{% endwith %}>{#--#}
|
|
<div class=\"{{ block('form_label_class') }}\"></div>{#--#}
|
|
<div class=\"{{ block('form_group_class') }}\">
|
|
{{- form_widget(form) -}}
|
|
{{- form_help(form) -}}
|
|
{{- form_errors(form) -}}
|
|
</div>{#--#}
|
|
</div>
|
|
{%- endblock checkbox_row %}
|
|
|
|
{% block form_group_class -%}
|
|
col-sm-10
|
|
{%- endblock form_group_class %}
|
|
", "bootstrap_5_horizontal_layout.html.twig", "/home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/twig-bridge/Resources/views/Form/bootstrap_5_horizontal_layout.html.twig");
|
|
}
|
|
}
|