1151 lines
76 KiB
PHP
1151 lines
76 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_3_layout.html.twig */
|
|
class __TwigTemplate_e757c2b2a5ef22068d9169412fcc3332d56e23c1870e0735fb0de2c1fbcb2378 extends \Twig\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_3_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,
|
|
[
|
|
'form_widget_simple' => [$this, 'block_form_widget_simple'],
|
|
'textarea_widget' => [$this, 'block_textarea_widget'],
|
|
'button_widget' => [$this, 'block_button_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'],
|
|
'choice_widget_collapsed' => [$this, 'block_choice_widget_collapsed'],
|
|
'choice_widget_expanded' => [$this, 'block_choice_widget_expanded'],
|
|
'checkbox_widget' => [$this, 'block_checkbox_widget'],
|
|
'radio_widget' => [$this, 'block_radio_widget'],
|
|
'form_label' => [$this, 'block_form_label'],
|
|
'choice_label' => [$this, 'block_choice_label'],
|
|
'checkbox_label' => [$this, 'block_checkbox_label'],
|
|
'radio_label' => [$this, 'block_radio_label'],
|
|
'checkbox_radio_label' => [$this, 'block_checkbox_radio_label'],
|
|
'form_row' => [$this, 'block_form_row'],
|
|
'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'],
|
|
'checkbox_row' => [$this, 'block_checkbox_row'],
|
|
'radio_row' => [$this, 'block_radio_row'],
|
|
'form_errors' => [$this, 'block_form_errors'],
|
|
]
|
|
);
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "bootstrap_3_layout.html.twig"));
|
|
|
|
// line 2
|
|
echo "
|
|
";
|
|
// line 4
|
|
echo "
|
|
";
|
|
// line 5
|
|
$this->displayBlock('form_widget_simple', $context, $blocks);
|
|
// line 11
|
|
echo "
|
|
";
|
|
// line 12
|
|
$this->displayBlock('textarea_widget', $context, $blocks);
|
|
// line 16
|
|
echo "
|
|
";
|
|
// line 17
|
|
$this->displayBlock('button_widget', $context, $blocks);
|
|
// line 21
|
|
echo "
|
|
";
|
|
// line 22
|
|
$this->displayBlock('money_widget', $context, $blocks);
|
|
// line 34
|
|
echo "
|
|
";
|
|
// line 35
|
|
$this->displayBlock('percent_widget', $context, $blocks);
|
|
// line 41
|
|
echo "
|
|
";
|
|
// line 42
|
|
$this->displayBlock('datetime_widget', $context, $blocks);
|
|
// line 55
|
|
echo "
|
|
";
|
|
// line 56
|
|
$this->displayBlock('date_widget', $context, $blocks);
|
|
// line 74
|
|
echo "
|
|
";
|
|
// line 75
|
|
$this->displayBlock('time_widget', $context, $blocks);
|
|
// line 89
|
|
echo "
|
|
";
|
|
// line 90
|
|
$this->displayBlock('choice_widget_collapsed', $context, $blocks);
|
|
// line 94
|
|
echo "
|
|
";
|
|
// line 95
|
|
$this->displayBlock('choice_widget_expanded', $context, $blocks);
|
|
// line 114
|
|
echo "
|
|
";
|
|
// line 115
|
|
$this->displayBlock('checkbox_widget', $context, $blocks);
|
|
// line 125
|
|
echo "
|
|
";
|
|
// line 126
|
|
$this->displayBlock('radio_widget', $context, $blocks);
|
|
// line 136
|
|
echo "
|
|
";
|
|
// line 138
|
|
echo "
|
|
";
|
|
// line 139
|
|
$this->displayBlock('form_label', $context, $blocks);
|
|
// line 143
|
|
echo "
|
|
";
|
|
// line 144
|
|
$this->displayBlock('choice_label', $context, $blocks);
|
|
// line 149
|
|
echo "
|
|
";
|
|
// line 150
|
|
$this->displayBlock('checkbox_label', $context, $blocks);
|
|
// line 153
|
|
echo "
|
|
";
|
|
// line 154
|
|
$this->displayBlock('radio_label', $context, $blocks);
|
|
// line 157
|
|
echo "
|
|
";
|
|
// line 158
|
|
$this->displayBlock('checkbox_radio_label', $context, $blocks);
|
|
// line 182
|
|
echo "
|
|
";
|
|
// line 184
|
|
echo "
|
|
";
|
|
// line 185
|
|
$this->displayBlock('form_row', $context, $blocks);
|
|
// line 192
|
|
echo "
|
|
";
|
|
// line 193
|
|
$this->displayBlock('button_row', $context, $blocks);
|
|
// line 198
|
|
echo "
|
|
";
|
|
// line 199
|
|
$this->displayBlock('choice_row', $context, $blocks);
|
|
// line 203
|
|
echo "
|
|
";
|
|
// line 204
|
|
$this->displayBlock('date_row', $context, $blocks);
|
|
// line 208
|
|
echo "
|
|
";
|
|
// line 209
|
|
$this->displayBlock('time_row', $context, $blocks);
|
|
// line 213
|
|
echo "
|
|
";
|
|
// line 214
|
|
$this->displayBlock('datetime_row', $context, $blocks);
|
|
// line 218
|
|
echo "
|
|
";
|
|
// line 219
|
|
$this->displayBlock('checkbox_row', $context, $blocks);
|
|
// line 225
|
|
echo "
|
|
";
|
|
// line 226
|
|
$this->displayBlock('radio_row', $context, $blocks);
|
|
// line 232
|
|
echo "
|
|
";
|
|
// line 234
|
|
echo "
|
|
";
|
|
// line 235
|
|
$this->displayBlock('form_errors', $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 5
|
|
public function block_form_widget_simple($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget_simple"));
|
|
|
|
// line 6
|
|
if (( !(isset($context["type"]) || array_key_exists("type", $context)) || !twig_in_filter((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 6, $this->source); })()), [0 => "file", 1 => "hidden"]))) {
|
|
// line 7
|
|
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 7, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 7)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 7), "")) : ("")) . " form-control"))]);
|
|
}
|
|
// line 9
|
|
$this->displayParentBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 12
|
|
public function block_textarea_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "textarea_widget"));
|
|
|
|
// line 13
|
|
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 13, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 13)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 13), "")) : ("")) . " form-control"))]);
|
|
// line 14
|
|
$this->displayParentBlock("textarea_widget", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 17
|
|
public function block_button_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_widget"));
|
|
|
|
// line 18
|
|
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 18, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 18)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 18), "btn-default")) : ("btn-default")) . " btn"))]);
|
|
// line 19
|
|
$this->displayParentBlock("button_widget", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 22
|
|
public function block_money_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "money_widget"));
|
|
|
|
// line 23
|
|
echo "<div class=\"input-group\">
|
|
";
|
|
// line 24
|
|
$context["append"] = (is_string($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = (isset($context["money_pattern"]) || array_key_exists("money_pattern", $context) ? $context["money_pattern"] : (function () { throw new RuntimeError('Variable "money_pattern" does not exist.', 24, $this->source); })())) && is_string($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = "{{") && ('' === $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 || 0 === strpos($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4, $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)));
|
|
// line 25
|
|
echo " ";
|
|
if ( !(isset($context["append"]) || array_key_exists("append", $context) ? $context["append"] : (function () { throw new RuntimeError('Variable "append" does not exist.', 25, $this->source); })())) {
|
|
// line 26
|
|
echo " <span class=\"input-group-addon\">";
|
|
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["money_pattern"]) || array_key_exists("money_pattern", $context) ? $context["money_pattern"] : (function () { throw new RuntimeError('Variable "money_pattern" does not exist.', 26, $this->source); })()), ["{{ widget }}" => ""]), "html", null, true);
|
|
echo "</span>
|
|
";
|
|
}
|
|
// line 28
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
// line 29
|
|
if ((isset($context["append"]) || array_key_exists("append", $context) ? $context["append"] : (function () { throw new RuntimeError('Variable "append" does not exist.', 29, $this->source); })())) {
|
|
// line 30
|
|
echo " <span class=\"input-group-addon\">";
|
|
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["money_pattern"]) || array_key_exists("money_pattern", $context) ? $context["money_pattern"] : (function () { throw new RuntimeError('Variable "money_pattern" does not exist.', 30, $this->source); })()), ["{{ widget }}" => ""]), "html", null, true);
|
|
echo "</span>
|
|
";
|
|
}
|
|
// line 32
|
|
echo " </div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 35
|
|
public function block_percent_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "percent_widget"));
|
|
|
|
// line 36
|
|
echo "<div class=\"input-group\">";
|
|
// line 37
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
// line 38
|
|
echo "<span class=\"input-group-addon\">%</span>
|
|
</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 42
|
|
public function block_datetime_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "datetime_widget"));
|
|
|
|
// line 43
|
|
if (((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 43, $this->source); })()) == "single_text")) {
|
|
// line 44
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 46
|
|
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 46, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 46)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 46), "")) : ("")) . " form-inline"))]);
|
|
// line 47
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 48
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 48, $this->source); })()), "date", [], "any", false, false, false, 48), 'errors');
|
|
// line 49
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 49, $this->source); })()), "time", [], "any", false, false, false, 49), 'errors');
|
|
// line 50
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 50, $this->source); })()), "date", [], "any", false, false, false, 50), 'widget', ["datetime" => true]);
|
|
// line 51
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 51, $this->source); })()), "time", [], "any", false, false, false, 51), 'widget', ["datetime" => true]);
|
|
// line 52
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 56
|
|
public function block_date_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "date_widget"));
|
|
|
|
// line 57
|
|
if (((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 57, $this->source); })()) == "single_text")) {
|
|
// line 58
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 60
|
|
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 60, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 60)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 60), "")) : ("")) . " form-inline"))]);
|
|
// line 61
|
|
if (( !(isset($context["datetime"]) || array_key_exists("datetime", $context)) || !(isset($context["datetime"]) || array_key_exists("datetime", $context) ? $context["datetime"] : (function () { throw new RuntimeError('Variable "datetime" does not exist.', 61, $this->source); })()))) {
|
|
// line 62
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
}
|
|
// line 64
|
|
echo twig_replace_filter((isset($context["date_pattern"]) || array_key_exists("date_pattern", $context) ? $context["date_pattern"] : (function () { throw new RuntimeError('Variable "date_pattern" does not exist.', 64, $this->source); })()), ["{{ year }}" => // line 65
|
|
$this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 65, $this->source); })()), "year", [], "any", false, false, false, 65), 'widget'), "{{ month }}" => // line 66
|
|
$this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 66, $this->source); })()), "month", [], "any", false, false, false, 66), 'widget'), "{{ day }}" => // line 67
|
|
$this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 67, $this->source); })()), "day", [], "any", false, false, false, 67), 'widget')]);
|
|
// line 69
|
|
if (( !(isset($context["datetime"]) || array_key_exists("datetime", $context)) || !(isset($context["datetime"]) || array_key_exists("datetime", $context) ? $context["datetime"] : (function () { throw new RuntimeError('Variable "datetime" does not exist.', 69, $this->source); })()))) {
|
|
// line 70
|
|
echo "</div>";
|
|
}
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 75
|
|
public function block_time_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "time_widget"));
|
|
|
|
// line 76
|
|
if (((isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 76, $this->source); })()) == "single_text")) {
|
|
// line 77
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 79
|
|
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 79, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 79)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 79), "")) : ("")) . " form-inline"))]);
|
|
// line 80
|
|
if (( !(isset($context["datetime"]) || array_key_exists("datetime", $context)) || (false == (isset($context["datetime"]) || array_key_exists("datetime", $context) ? $context["datetime"] : (function () { throw new RuntimeError('Variable "datetime" does not exist.', 80, $this->source); })())))) {
|
|
// line 81
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
}
|
|
// line 83
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 83, $this->source); })()), "hour", [], "any", false, false, false, 83), 'widget');
|
|
if ((isset($context["with_minutes"]) || array_key_exists("with_minutes", $context) ? $context["with_minutes"] : (function () { throw new RuntimeError('Variable "with_minutes" does not exist.', 83, $this->source); })())) {
|
|
echo ":";
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 83, $this->source); })()), "minute", [], "any", false, false, false, 83), 'widget');
|
|
}
|
|
if ((isset($context["with_seconds"]) || array_key_exists("with_seconds", $context) ? $context["with_seconds"] : (function () { throw new RuntimeError('Variable "with_seconds" does not exist.', 83, $this->source); })())) {
|
|
echo ":";
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 83, $this->source); })()), "second", [], "any", false, false, false, 83), 'widget');
|
|
}
|
|
// line 84
|
|
echo " ";
|
|
if (( !(isset($context["datetime"]) || array_key_exists("datetime", $context)) || (false == (isset($context["datetime"]) || array_key_exists("datetime", $context) ? $context["datetime"] : (function () { throw new RuntimeError('Variable "datetime" does not exist.', 84, $this->source); })())))) {
|
|
// line 85
|
|
echo "</div>";
|
|
}
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 90
|
|
public function block_choice_widget_collapsed($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_collapsed"));
|
|
|
|
// line 91
|
|
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 91, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 91)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 91), "")) : ("")) . " form-control"))]);
|
|
// line 92
|
|
$this->displayParentBlock("choice_widget_collapsed", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 95
|
|
public function block_choice_widget_expanded($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_expanded"));
|
|
|
|
// line 96
|
|
if (twig_in_filter("-inline", ((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 96)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 96), "")) : ("")))) {
|
|
// line 97
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 97, $this->source); })()));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
|
// line 98
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock($context["child"], 'widget', ["parent_label_class" => ((twig_get_attribute($this->env, $this->source, // line 99
|
|
($context["label_attr"] ?? null), "class", [], "any", true, true, false, 99)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 99), "")) : ("")), "translation_domain" => // line 100
|
|
(isset($context["choice_translation_domain"]) || array_key_exists("choice_translation_domain", $context) ? $context["choice_translation_domain"] : (function () { throw new RuntimeError('Variable "choice_translation_domain" does not exist.', 100, $this->source); })())]);
|
|
}
|
|
$_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 104
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 105
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 105, $this->source); })()));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
|
// line 106
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock($context["child"], 'widget', ["parent_label_class" => ((twig_get_attribute($this->env, $this->source, // line 107
|
|
($context["label_attr"] ?? null), "class", [], "any", true, true, false, 107)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 107), "")) : ("")), "translation_domain" => // line 108
|
|
(isset($context["choice_translation_domain"]) || array_key_exists("choice_translation_domain", $context) ? $context["choice_translation_domain"] : (function () { throw new RuntimeError('Variable "choice_translation_domain" does not exist.', 108, $this->source); })())]);
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 111
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 115
|
|
public function block_checkbox_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_widget"));
|
|
|
|
// line 116
|
|
$context["parent_label_class"] = (((isset($context["parent_label_class"]) || array_key_exists("parent_label_class", $context))) ? (_twig_default_filter((isset($context["parent_label_class"]) || array_key_exists("parent_label_class", $context) ? $context["parent_label_class"] : (function () { throw new RuntimeError('Variable "parent_label_class" does not exist.', 116, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 116)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 116), "")) : ("")))) : (((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 116)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 116), "")) : (""))));
|
|
// line 117
|
|
if (twig_in_filter("checkbox-inline", (isset($context["parent_label_class"]) || array_key_exists("parent_label_class", $context) ? $context["parent_label_class"] : (function () { throw new RuntimeError('Variable "parent_label_class" does not exist.', 117, $this->source); })()))) {
|
|
// line 118
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 118, $this->source); })()), 'label', ["widget" => $this->renderParentBlock("checkbox_widget", $context, $blocks)]);
|
|
} else {
|
|
// line 120
|
|
echo "<div class=\"checkbox\">";
|
|
// line 121
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 121, $this->source); })()), 'label', ["widget" => $this->renderParentBlock("checkbox_widget", $context, $blocks)]);
|
|
// line 122
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 126
|
|
public function block_radio_widget($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "radio_widget"));
|
|
|
|
// line 127
|
|
$context["parent_label_class"] = (((isset($context["parent_label_class"]) || array_key_exists("parent_label_class", $context))) ? (_twig_default_filter((isset($context["parent_label_class"]) || array_key_exists("parent_label_class", $context) ? $context["parent_label_class"] : (function () { throw new RuntimeError('Variable "parent_label_class" does not exist.', 127, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 127)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 127), "")) : ("")))) : (((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 127)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 127), "")) : (""))));
|
|
// line 128
|
|
if (twig_in_filter("radio-inline", (isset($context["parent_label_class"]) || array_key_exists("parent_label_class", $context) ? $context["parent_label_class"] : (function () { throw new RuntimeError('Variable "parent_label_class" does not exist.', 128, $this->source); })()))) {
|
|
// line 129
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 129, $this->source); })()), 'label', ["widget" => $this->renderParentBlock("radio_widget", $context, $blocks)]);
|
|
} else {
|
|
// line 131
|
|
echo "<div class=\"radio\">";
|
|
// line 132
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 132, $this->source); })()), 'label', ["widget" => $this->renderParentBlock("radio_widget", $context, $blocks)]);
|
|
// line 133
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 139
|
|
public function block_form_label($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__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 140
|
|
$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.', 140, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 140)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 140), "")) : ("")) . " control-label"))]);
|
|
// line 141
|
|
$this->displayParentBlock("form_label", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 144
|
|
public function block_choice_label($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_label"));
|
|
|
|
// line 146
|
|
$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.', 146, $this->source); })()), ["class" => twig_trim_filter(twig_replace_filter(((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 146)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 146), "")) : ("")), ["checkbox-inline" => "", "radio-inline" => ""]))]);
|
|
// line 147
|
|
$this->displayBlock("form_label", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 150
|
|
public function block_checkbox_label($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_label"));
|
|
|
|
// line 151
|
|
$this->displayBlock("checkbox_radio_label", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 154
|
|
public function block_radio_label($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "radio_label"));
|
|
|
|
// line 155
|
|
$this->displayBlock("checkbox_radio_label", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 158
|
|
public function block_checkbox_radio_label($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_radio_label"));
|
|
|
|
// line 159
|
|
echo " ";
|
|
// line 160
|
|
echo " ";
|
|
if ((isset($context["widget"]) || array_key_exists("widget", $context))) {
|
|
// line 161
|
|
echo " ";
|
|
if ((isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 161, $this->source); })())) {
|
|
// line 162
|
|
echo " ";
|
|
$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.', 162, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 162)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 162), "")) : ("")) . " required"))]);
|
|
// line 163
|
|
echo " ";
|
|
}
|
|
// line 164
|
|
echo " ";
|
|
if ((isset($context["parent_label_class"]) || array_key_exists("parent_label_class", $context))) {
|
|
// line 165
|
|
echo " ";
|
|
$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.', 165, $this->source); })()), ["class" => twig_trim_filter(((((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 165)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 165), "")) : ("")) . " ") . (isset($context["parent_label_class"]) || array_key_exists("parent_label_class", $context) ? $context["parent_label_class"] : (function () { throw new RuntimeError('Variable "parent_label_class" does not exist.', 165, $this->source); })())))]);
|
|
// line 166
|
|
echo " ";
|
|
}
|
|
// line 167
|
|
echo " ";
|
|
if (( !((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 167, $this->source); })()) === false) && twig_test_empty((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 167, $this->source); })())))) {
|
|
// line 168
|
|
if ( !twig_test_empty((isset($context["label_format"]) || array_key_exists("label_format", $context) ? $context["label_format"] : (function () { throw new RuntimeError('Variable "label_format" does not exist.', 168, $this->source); })()))) {
|
|
// line 169
|
|
$context["label"] = twig_replace_filter((isset($context["label_format"]) || array_key_exists("label_format", $context) ? $context["label_format"] : (function () { throw new RuntimeError('Variable "label_format" does not exist.', 169, $this->source); })()), ["%name%" => // line 170
|
|
(isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 170, $this->source); })()), "%id%" => // line 171
|
|
(isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 171, $this->source); })())]);
|
|
} else {
|
|
// line 174
|
|
$context["label"] = $this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->humanize((isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 174, $this->source); })()));
|
|
}
|
|
}
|
|
// line 177
|
|
echo " <label";
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable((isset($context["label_attr"]) || array_key_exists("label_attr", $context) ? $context["label_attr"] : (function () { throw new RuntimeError('Variable "label_attr" does not exist.', 177, $this->source); })()));
|
|
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
|
echo " ";
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
|
|
echo "\"";
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
echo ">";
|
|
// line 178
|
|
echo (isset($context["widget"]) || array_key_exists("widget", $context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.', 178, $this->source); })());
|
|
echo " ";
|
|
(( !((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 178, $this->source); })()) === false)) ? (print (twig_escape_filter($this->env, ((((isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 178, $this->source); })()) === false)) ? ((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 178, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 178, $this->source); })()), [], (isset($context["translation_domain"]) || array_key_exists("translation_domain", $context) ? $context["translation_domain"] : (function () { throw new RuntimeError('Variable "translation_domain" does not exist.', 178, $this->source); })())))), "html", null, true))) : (print ("")));
|
|
// line 179
|
|
echo "</label>
|
|
";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 185
|
|
public function block_form_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__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 186
|
|
echo "<div class=\"form-group";
|
|
if ((( !(isset($context["compound"]) || array_key_exists("compound", $context) ? $context["compound"] : (function () { throw new RuntimeError('Variable "compound" does not exist.', 186, $this->source); })()) || (((isset($context["force_error"]) || 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.', 186, $this->source); })()), false)) : (false))) && !(isset($context["valid"]) || array_key_exists("valid", $context) ? $context["valid"] : (function () { throw new RuntimeError('Variable "valid" does not exist.', 186, $this->source); })()))) {
|
|
echo " has-error";
|
|
}
|
|
echo "\">";
|
|
// line 187
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 187, $this->source); })()), 'label');
|
|
// line 188
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 188, $this->source); })()), 'widget');
|
|
// line 189
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 189, $this->source); })()), 'errors');
|
|
// line 190
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 193
|
|
public function block_button_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__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 194
|
|
echo "<div class=\"form-group\">";
|
|
// line 195
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 195, $this->source); })()), 'widget');
|
|
// line 196
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 199
|
|
public function block_choice_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_row"));
|
|
|
|
// line 200
|
|
$context["force_error"] = true;
|
|
// line 201
|
|
$this->displayBlock("form_row", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 204
|
|
public function block_date_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "date_row"));
|
|
|
|
// line 205
|
|
$context["force_error"] = true;
|
|
// line 206
|
|
$this->displayBlock("form_row", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 209
|
|
public function block_time_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "time_row"));
|
|
|
|
// line 210
|
|
$context["force_error"] = true;
|
|
// line 211
|
|
$this->displayBlock("form_row", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 214
|
|
public function block_datetime_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "datetime_row"));
|
|
|
|
// line 215
|
|
$context["force_error"] = true;
|
|
// line 216
|
|
$this->displayBlock("form_row", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 219
|
|
public function block_checkbox_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__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 220
|
|
echo "<div class=\"form-group";
|
|
if ( !(isset($context["valid"]) || array_key_exists("valid", $context) ? $context["valid"] : (function () { throw new RuntimeError('Variable "valid" does not exist.', 220, $this->source); })())) {
|
|
echo " has-error";
|
|
}
|
|
echo "\">";
|
|
// line 221
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 221, $this->source); })()), 'widget');
|
|
// line 222
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 222, $this->source); })()), 'errors');
|
|
// line 223
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 226
|
|
public function block_radio_row($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "radio_row"));
|
|
|
|
// line 227
|
|
echo "<div class=\"form-group";
|
|
if ( !(isset($context["valid"]) || array_key_exists("valid", $context) ? $context["valid"] : (function () { throw new RuntimeError('Variable "valid" does not exist.', 227, $this->source); })())) {
|
|
echo " has-error";
|
|
}
|
|
echo "\">";
|
|
// line 228
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 228, $this->source); })()), 'widget');
|
|
// line 229
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 229, $this->source); })()), 'errors');
|
|
// line 230
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 235
|
|
public function block_form_errors($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_errors"));
|
|
|
|
// line 236
|
|
if ((twig_length_filter($this->env, (isset($context["errors"]) || array_key_exists("errors", $context) ? $context["errors"] : (function () { throw new RuntimeError('Variable "errors" does not exist.', 236, $this->source); })())) > 0)) {
|
|
// line 237
|
|
if (twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 237, $this->source); })()), "parent", [], "any", false, false, false, 237)) {
|
|
echo "<span class=\"help-block\">";
|
|
} else {
|
|
echo "<div class=\"alert alert-danger\">";
|
|
}
|
|
// line 238
|
|
echo " <ul class=\"list-unstyled\">";
|
|
// line 239
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable((isset($context["errors"]) || array_key_exists("errors", $context) ? $context["errors"] : (function () { throw new RuntimeError('Variable "errors" does not exist.', 239, $this->source); })()));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
|
|
// line 240
|
|
echo "<li><span class=\"glyphicon glyphicon-exclamation-sign\"></span> ";
|
|
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 240), "html", null, true);
|
|
echo "</li>";
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 242
|
|
echo "</ul>
|
|
";
|
|
// line 243
|
|
if (twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 243, $this->source); })()), "parent", [], "any", false, false, false, 243)) {
|
|
echo "</span>";
|
|
} else {
|
|
echo "</div>";
|
|
}
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "bootstrap_3_layout.html.twig";
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 881 => 243, 878 => 242, 870 => 240, 866 => 239, 864 => 238, 858 => 237, 856 => 236, 849 => 235, 842 => 230, 840 => 229, 838 => 228, 832 => 227, 825 => 226, 818 => 223, 816 => 222, 814 => 221, 808 => 220, 801 => 219, 794 => 216, 792 => 215, 785 => 214, 778 => 211, 776 => 210, 769 => 209, 762 => 206, 760 => 205, 753 => 204, 746 => 201, 744 => 200, 737 => 199, 730 => 196, 728 => 195, 726 => 194, 719 => 193, 712 => 190, 710 => 189, 708 => 188, 706 => 187, 700 => 186, 693 => 185, 684 => 179, 680 => 178, 665 => 177, 661 => 174, 658 => 171, 657 => 170, 656 => 169, 654 => 168, 651 => 167, 648 => 166, 645 => 165, 642 => 164, 639 => 163, 636 => 162, 633 => 161, 630 => 160, 628 => 159, 621 => 158, 614 => 155, 607 => 154, 600 => 151, 593 => 150, 586 => 147, 584 => 146, 577 => 144, 570 => 141, 568 => 140, 561 => 139, 553 => 133, 551 => 132, 549 => 131, 546 => 129, 544 => 128, 542 => 127, 535 => 126, 527 => 122, 525 => 121, 523 => 120, 520 => 118, 518 => 117, 516 => 116, 509 => 115, 501 => 111, 495 => 108, 494 => 107, 493 => 106, 489 => 105, 485 => 104, 478 => 100, 477 => 99, 476 => 98, 472 => 97, 470 => 96, 463 => 95, 456 => 92, 454 => 91, 447 => 90, 438 => 85, 435 => 84, 425 => 83, 420 => 81, 418 => 80, 416 => 79, 413 => 77, 411 => 76, 404 => 75, 395 => 70, 393 => 69, 391 => 67, 390 => 66, 389 => 65, 388 => 64, 383 => 62, 381 => 61, 379 => 60, 376 => 58, 374 => 57, 367 => 56, 359 => 52, 357 => 51, 355 => 50, 353 => 49, 351 => 48, 347 => 47, 345 => 46, 342 => 44, 340 => 43, 333 => 42, 325 => 38, 323 => 37, 321 => 36, 314 => 35, 307 => 32, 301 => 30, 299 => 29, 297 => 28, 291 => 26, 288 => 25, 286 => 24, 283 => 23, 276 => 22, 269 => 19, 267 => 18, 260 => 17, 253 => 14, 251 => 13, 244 => 12, 237 => 9, 234 => 7, 232 => 6, 225 => 5, 218 => 235, 215 => 234, 212 => 232, 210 => 226, 207 => 225, 205 => 219, 202 => 218, 200 => 214, 197 => 213, 195 => 209, 192 => 208, 190 => 204, 187 => 203, 185 => 199, 182 => 198, 180 => 193, 177 => 192, 175 => 185, 172 => 184, 169 => 182, 167 => 158, 164 => 157, 162 => 154, 159 => 153, 157 => 150, 154 => 149, 152 => 144, 149 => 143, 147 => 139, 144 => 138, 141 => 136, 139 => 126, 136 => 125, 134 => 115, 131 => 114, 129 => 95, 126 => 94, 124 => 90, 121 => 89, 119 => 75, 116 => 74, 114 => 56, 111 => 55, 109 => 42, 106 => 41, 104 => 35, 101 => 34, 99 => 22, 96 => 21, 94 => 17, 91 => 16, 89 => 12, 86 => 11, 84 => 5, 81 => 4, 78 => 2, 30 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("{% use \"form_div_layout.html.twig\" %}
|
|
|
|
{# Widgets #}
|
|
|
|
{% block form_widget_simple -%}
|
|
{% if type is not defined or type not in ['file', 'hidden'] %}
|
|
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-control')|trim}) -%}
|
|
{% endif %}
|
|
{{- parent() -}}
|
|
{%- endblock form_widget_simple %}
|
|
|
|
{% block textarea_widget -%}
|
|
{% set attr = attr|merge({class: (attr.class|default('') ~ ' form-control')|trim}) %}
|
|
{{- parent() -}}
|
|
{%- endblock textarea_widget %}
|
|
|
|
{% block button_widget -%}
|
|
{% set attr = attr|merge({class: (attr.class|default('btn-default') ~ ' btn')|trim}) %}
|
|
{{- parent() -}}
|
|
{%- endblock %}
|
|
|
|
{% block money_widget -%}
|
|
<div class=\"input-group\">
|
|
{% set append = money_pattern starts with '{{' %}
|
|
{% if not append %}
|
|
<span class=\"input-group-addon\">{{ money_pattern|replace({ '{{ widget }}':''}) }}</span>
|
|
{% endif %}
|
|
{{- block('form_widget_simple') -}}
|
|
{% if append %}
|
|
<span class=\"input-group-addon\">{{ money_pattern|replace({ '{{ widget }}':''}) }}</span>
|
|
{% endif %}
|
|
</div>
|
|
{%- endblock money_widget %}
|
|
|
|
{% block percent_widget -%}
|
|
<div class=\"input-group\">
|
|
{{- block('form_widget_simple') -}}
|
|
<span class=\"input-group-addon\">%</span>
|
|
</div>
|
|
{%- endblock percent_widget %}
|
|
|
|
{% block datetime_widget -%}
|
|
{% if widget == 'single_text' %}
|
|
{{- block('form_widget_simple') -}}
|
|
{% else -%}
|
|
{% set attr = attr|merge({class: (attr.class|default('') ~ ' form-inline')|trim}) -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{{- form_errors(form.date) -}}
|
|
{{- form_errors(form.time) -}}
|
|
{{- form_widget(form.date, { datetime: true } ) -}}
|
|
{{- form_widget(form.time, { datetime: true } ) -}}
|
|
</div>
|
|
{%- endif %}
|
|
{%- endblock datetime_widget %}
|
|
|
|
{% block date_widget -%}
|
|
{% if widget == 'single_text' %}
|
|
{{- block('form_widget_simple') -}}
|
|
{% else -%}
|
|
{% set attr = attr|merge({class: (attr.class|default('') ~ ' form-inline')|trim}) -%}
|
|
{% if datetime is not defined or not datetime -%}
|
|
<div {{ block('widget_container_attributes') -}}>
|
|
{%- endif %}
|
|
{{- date_pattern|replace({
|
|
'{{ year }}': form_widget(form.year),
|
|
'{{ month }}': form_widget(form.month),
|
|
'{{ day }}': form_widget(form.day),
|
|
})|raw -}}
|
|
{% if datetime is not defined or not datetime -%}
|
|
</div>
|
|
{%- endif -%}
|
|
{% endif %}
|
|
{%- endblock date_widget %}
|
|
|
|
{% block time_widget -%}
|
|
{% if widget == 'single_text' %}
|
|
{{- block('form_widget_simple') -}}
|
|
{% else -%}
|
|
{% set attr = attr|merge({class: (attr.class|default('') ~ ' form-inline')|trim}) -%}
|
|
{% if datetime is not defined or false == datetime -%}
|
|
<div {{ block('widget_container_attributes') -}}>
|
|
{%- endif -%}
|
|
{{- form_widget(form.hour) }}{% if with_minutes %}:{{ form_widget(form.minute) }}{% endif %}{% if with_seconds %}:{{ form_widget(form.second) }}{% endif %}
|
|
{% if datetime is not defined or false == datetime -%}
|
|
</div>
|
|
{%- endif -%}
|
|
{% endif %}
|
|
{%- endblock time_widget %}
|
|
|
|
{% block choice_widget_collapsed -%}
|
|
{% set attr = attr|merge({class: (attr.class|default('') ~ ' form-control')|trim}) %}
|
|
{{- parent() -}}
|
|
{%- endblock %}
|
|
|
|
{% block choice_widget_expanded -%}
|
|
{% if '-inline' in label_attr.class|default('') -%}
|
|
{%- for child in form %}
|
|
{{- form_widget(child, {
|
|
parent_label_class: label_attr.class|default(''),
|
|
translation_domain: choice_translation_domain,
|
|
}) -}}
|
|
{% endfor -%}
|
|
{%- else -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{%- for child in form %}
|
|
{{- form_widget(child, {
|
|
parent_label_class: label_attr.class|default(''),
|
|
translation_domain: choice_translation_domain,
|
|
}) -}}
|
|
{% endfor -%}
|
|
</div>
|
|
{%- endif %}
|
|
{%- endblock choice_widget_expanded %}
|
|
|
|
{% block checkbox_widget -%}
|
|
{%- set parent_label_class = parent_label_class|default(label_attr.class|default('')) -%}
|
|
{% if 'checkbox-inline' in parent_label_class %}
|
|
{{- form_label(form, null, { widget: parent() }) -}}
|
|
{% else -%}
|
|
<div class=\"checkbox\">
|
|
{{- form_label(form, null, { widget: parent() }) -}}
|
|
</div>
|
|
{%- endif %}
|
|
{%- endblock checkbox_widget %}
|
|
|
|
{% block radio_widget -%}
|
|
{%- set parent_label_class = parent_label_class|default(label_attr.class|default('')) -%}
|
|
{% if 'radio-inline' in parent_label_class %}
|
|
{{- form_label(form, null, { widget: parent() }) -}}
|
|
{% else -%}
|
|
<div class=\"radio\">
|
|
{{- form_label(form, null, { widget: parent() }) -}}
|
|
</div>
|
|
{%- endif %}
|
|
{%- endblock radio_widget %}
|
|
|
|
{# Labels #}
|
|
|
|
{% block form_label -%}
|
|
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' control-label')|trim}) -%}
|
|
{{- parent() -}}
|
|
{%- endblock form_label %}
|
|
|
|
{% block choice_label -%}
|
|
{# remove the checkbox-inline and radio-inline class, it's only useful for embed labels #}
|
|
{%- set label_attr = label_attr|merge({class: label_attr.class|default('')|replace({'checkbox-inline': '', 'radio-inline': ''})|trim}) -%}
|
|
{{- block('form_label') -}}
|
|
{% endblock %}
|
|
|
|
{% block checkbox_label -%}
|
|
{{- block('checkbox_radio_label') -}}
|
|
{%- endblock checkbox_label %}
|
|
|
|
{% block radio_label -%}
|
|
{{- block('checkbox_radio_label') -}}
|
|
{%- endblock radio_label %}
|
|
|
|
{% block checkbox_radio_label %}
|
|
{# Do not display the label if widget is not defined in order to prevent double label rendering #}
|
|
{% if widget is defined %}
|
|
{% if required %}
|
|
{% set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' required')|trim}) %}
|
|
{% endif %}
|
|
{% if parent_label_class is defined %}
|
|
{% set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' ' ~ parent_label_class)|trim}) %}
|
|
{% endif %}
|
|
{% if label is not same as(false) and label is empty %}
|
|
{%- if label_format is not empty -%}
|
|
{% set label = label_format|replace({
|
|
'%name%': name,
|
|
'%id%': id,
|
|
}) %}
|
|
{%- else -%}
|
|
{% set label = name|humanize %}
|
|
{%- endif -%}
|
|
{% endif %}
|
|
<label{% for attrname, attrvalue in label_attr %} {{ attrname }}=\"{{ attrvalue }}\"{% endfor %}>
|
|
{{- widget|raw }} {{ label is not same as(false) ? (translation_domain is same as(false) ? label : label|trans({}, translation_domain)) -}}
|
|
</label>
|
|
{% endif %}
|
|
{% endblock checkbox_radio_label %}
|
|
|
|
{# Rows #}
|
|
|
|
{% block form_row -%}
|
|
<div class=\"form-group{% if (not compound or force_error|default(false)) and not valid %} has-error{% endif %}\">
|
|
{{- form_label(form) -}}
|
|
{{- form_widget(form) -}}
|
|
{{- form_errors(form) -}}
|
|
</div>
|
|
{%- endblock form_row %}
|
|
|
|
{% block button_row -%}
|
|
<div class=\"form-group\">
|
|
{{- form_widget(form) -}}
|
|
</div>
|
|
{%- endblock button_row %}
|
|
|
|
{% block choice_row -%}
|
|
{% set force_error = true %}
|
|
{{- block('form_row') }}
|
|
{%- endblock choice_row %}
|
|
|
|
{% block date_row -%}
|
|
{% set force_error = true %}
|
|
{{- block('form_row') }}
|
|
{%- endblock date_row %}
|
|
|
|
{% block time_row -%}
|
|
{% set force_error = true %}
|
|
{{- block('form_row') }}
|
|
{%- endblock time_row %}
|
|
|
|
{% block datetime_row -%}
|
|
{% set force_error = true %}
|
|
{{- block('form_row') }}
|
|
{%- endblock datetime_row %}
|
|
|
|
{% block checkbox_row -%}
|
|
<div class=\"form-group{% if not valid %} has-error{% endif %}\">
|
|
{{- form_widget(form) -}}
|
|
{{- form_errors(form) -}}
|
|
</div>
|
|
{%- endblock checkbox_row %}
|
|
|
|
{% block radio_row -%}
|
|
<div class=\"form-group{% if not valid %} has-error{% endif %}\">
|
|
{{- form_widget(form) -}}
|
|
{{- form_errors(form) -}}
|
|
</div>
|
|
{%- endblock radio_row %}
|
|
|
|
{# Errors #}
|
|
|
|
{% block form_errors -%}
|
|
{% if errors|length > 0 -%}
|
|
{% if form.parent %}<span class=\"help-block\">{% else %}<div class=\"alert alert-danger\">{% endif %}
|
|
<ul class=\"list-unstyled\">
|
|
{%- for error in errors -%}
|
|
<li><span class=\"glyphicon glyphicon-exclamation-sign\"></span> {{ error.message }}</li>
|
|
{%- endfor -%}
|
|
</ul>
|
|
{% if form.parent %}</span>{% else %}</div>{% endif %}
|
|
{%- endif %}
|
|
{%- endblock form_errors %}
|
|
", "bootstrap_3_layout.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_layout.html.twig");
|
|
}
|
|
}
|