Download project

This commit is contained in:
Roman Pyrih
2024-11-20 09:09:44 +01:00
parent 547a138d6a
commit 5ff041757f
40737 changed files with 7766183 additions and 0 deletions

View File

@@ -0,0 +1,275 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* bootstrap_4_horizontal_layout.html.twig */
class __TwigTemplate_085561d26d49972849b02482e5b765d3d42a6b37ca58520075d3d5700ad876d1 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$_trait_0 = $this->loadTemplate("bootstrap_4_layout.html.twig", "bootstrap_4_horizontal_layout.html.twig", 1);
// line 1
if (!$_trait_0->isTraitable()) {
throw new RuntimeError('Template "'."bootstrap_4_layout.html.twig".'" cannot be used as a trait.', 1, $this->getSourceContext());
}
$_trait_0_blocks = $_trait_0->getBlocks();
$this->traits = $_trait_0_blocks;
$this->blocks = array_merge(
$this->traits,
[
'form_label' => [$this, 'block_form_label'],
'form_label_class' => [$this, 'block_form_label_class'],
'form_row' => [$this, 'block_form_row'],
'fieldset_form_row' => [$this, 'block_fieldset_form_row'],
'submit_row' => [$this, 'block_submit_row'],
'reset_row' => [$this, 'block_reset_row'],
'form_group_class' => [$this, 'block_form_group_class'],
'checkbox_row' => [$this, 'block_checkbox_row'],
]
);
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 2
echo "
";
// line 4
echo "
";
// line 5
$this->displayBlock('form_label', $context, $blocks);
// line 16
echo "
";
// line 17
$this->displayBlock('form_label_class', $context, $blocks);
// line 20
echo "
";
// line 22
echo "
";
// line 23
$this->displayBlock('form_row', $context, $blocks);
// line 35
echo "
";
// line 36
$this->displayBlock('fieldset_form_row', $context, $blocks);
// line 46
echo "
";
// line 47
$this->displayBlock('submit_row', $context, $blocks);
// line 55
echo "
";
// line 56
$this->displayBlock('reset_row', $context, $blocks);
// line 64
echo "
";
// line 65
$this->displayBlock('form_group_class', $context, $blocks);
// line 68
echo "
";
// line 69
$this->displayBlock('checkbox_row', $context, $blocks);
}
// line 5
public function block_form_label($context, array $blocks = [])
{
// line 6
if ((($context["label"] ?? null) === false)) {
// line 7
echo "<div class=\"";
$this->displayBlock("form_label_class", $context, $blocks);
echo "\"></div>";
} else {
// line 9
if (( !array_key_exists("expanded", $context) || !($context["expanded"] ?? null))) {
// line 10
$context["label_attr"] = twig_array_merge(($context["label_attr"] ?? null), ["class" => twig_trim_filter(((($this->getAttribute(($context["label_attr"] ?? null), "class", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["label_attr"] ?? null), "class", []), "")) : ("")) . " col-form-label"))]);
}
// line 12
$context["label_attr"] = twig_array_merge(($context["label_attr"] ?? null), ["class" => twig_trim_filter((((($this->getAttribute(($context["label_attr"] ?? null), "class", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["label_attr"] ?? null), "class", []), "")) : ("")) . " ") . $this->renderBlock("form_label_class", $context, $blocks)))]);
// line 13
$this->displayParentBlock("form_label", $context, $blocks);
}
}
// line 17
public function block_form_label_class($context, array $blocks = [])
{
// line 18
echo "col-sm-2";
}
// line 23
public function block_form_row($context, array $blocks = [])
{
// line 24
if ((array_key_exists("expanded", $context) && ($context["expanded"] ?? null))) {
// line 25
$this->displayBlock("fieldset_form_row", $context, $blocks);
} else {
// line 27
echo "<div class=\"form-group row";
if ((( !($context["compound"] ?? null) || ((array_key_exists("force_error", $context)) ? (_twig_default_filter(($context["force_error"] ?? null), false)) : (false))) && !($context["valid"] ?? null))) {
echo " is-invalid";
}
echo "\">";
// line 28
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label');
// line 29
echo "<div class=\"";
$this->displayBlock("form_group_class", $context, $blocks);
echo "\">";
// line 30
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget');
// line 31
echo "</div>
";
// line 32
echo "</div>";
}
}
// line 36
public function block_fieldset_form_row($context, array $blocks = [])
{
// line 37
echo "<fieldset class=\"form-group\">
<div class=\"row";
// line 38
if ((( !($context["compound"] ?? null) || ((array_key_exists("force_error", $context)) ? (_twig_default_filter(($context["force_error"] ?? null), false)) : (false))) && !($context["valid"] ?? null))) {
echo " is-invalid";
}
echo "\">";
// line 39
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'label');
// line 40
echo "<div class=\"";
$this->displayBlock("form_group_class", $context, $blocks);
echo "\">";
// line 41
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget');
// line 42
echo "</div>
</div>
";
// line 44
echo "</fieldset>";
}
// line 47
public function block_submit_row($context, array $blocks = [])
{
// line 48
echo "<div class=\"form-group row\">";
// line 49
echo "<div class=\"";
$this->displayBlock("form_label_class", $context, $blocks);
echo "\"></div>";
// line 50
echo "<div class=\"";
$this->displayBlock("form_group_class", $context, $blocks);
echo "\">";
// line 51
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget');
// line 52
echo "</div>";
// line 53
echo "</div>";
}
// line 56
public function block_reset_row($context, array $blocks = [])
{
// line 57
echo "<div class=\"form-group row\">";
// line 58
echo "<div class=\"";
$this->displayBlock("form_label_class", $context, $blocks);
echo "\"></div>";
// line 59
echo "<div class=\"";
$this->displayBlock("form_group_class", $context, $blocks);
echo "\">";
// line 60
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget');
// line 61
echo "</div>";
// line 62
echo "</div>";
}
// line 65
public function block_form_group_class($context, array $blocks = [])
{
// line 66
echo "col-sm-10";
}
// line 69
public function block_checkbox_row($context, array $blocks = [])
{
// line 70
echo "<div class=\"form-group row\">";
// line 71
echo "<div class=\"";
$this->displayBlock("form_label_class", $context, $blocks);
echo "\"></div>";
// line 72
echo "<div class=\"";
$this->displayBlock("form_group_class", $context, $blocks);
echo "\">";
// line 73
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget');
// line 74
echo "</div>";
// line 75
echo "</div>";
}
public function getTemplateName()
{
return "bootstrap_4_horizontal_layout.html.twig";
}
public function getDebugInfo()
{
return array ( 250 => 75, 248 => 74, 246 => 73, 242 => 72, 238 => 71, 236 => 70, 233 => 69, 229 => 66, 226 => 65, 222 => 62, 220 => 61, 218 => 60, 214 => 59, 210 => 58, 208 => 57, 205 => 56, 201 => 53, 199 => 52, 197 => 51, 193 => 50, 189 => 49, 187 => 48, 184 => 47, 180 => 44, 176 => 42, 174 => 41, 170 => 40, 168 => 39, 163 => 38, 160 => 37, 157 => 36, 152 => 32, 149 => 31, 147 => 30, 143 => 29, 141 => 28, 135 => 27, 132 => 25, 130 => 24, 127 => 23, 123 => 18, 120 => 17, 115 => 13, 113 => 12, 110 => 10, 108 => 9, 103 => 7, 101 => 6, 98 => 5, 94 => 69, 91 => 68, 89 => 65, 86 => 64, 84 => 56, 81 => 55, 79 => 47, 76 => 46, 74 => 36, 71 => 35, 69 => 23, 66 => 22, 63 => 20, 61 => 17, 58 => 16, 56 => 5, 53 => 4, 50 => 2, 25 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "bootstrap_4_horizontal_layout.html.twig", "/home/admin/domains/masimmo.pl/public_html/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_4_horizontal_layout.html.twig");
}
}