2127 lines
134 KiB
PHP
2127 lines
134 KiB
PHP
<?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;
|
|
|
|
/* form_div_layout.html.twig */
|
|
class __TwigTemplate_6b7df28a31c93c1a8a81465dceb0961c35cfab153b915bec93e6eaee5616e3bf extends \Twig\Template
|
|
{
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
'form_widget' => [$this, 'block_form_widget'],
|
|
'form_widget_simple' => [$this, 'block_form_widget_simple'],
|
|
'form_widget_compound' => [$this, 'block_form_widget_compound'],
|
|
'collection_widget' => [$this, 'block_collection_widget'],
|
|
'textarea_widget' => [$this, 'block_textarea_widget'],
|
|
'choice_widget' => [$this, 'block_choice_widget'],
|
|
'choice_widget_expanded' => [$this, 'block_choice_widget_expanded'],
|
|
'choice_widget_collapsed' => [$this, 'block_choice_widget_collapsed'],
|
|
'choice_widget_options' => [$this, 'block_choice_widget_options'],
|
|
'checkbox_widget' => [$this, 'block_checkbox_widget'],
|
|
'radio_widget' => [$this, 'block_radio_widget'],
|
|
'datetime_widget' => [$this, 'block_datetime_widget'],
|
|
'date_widget' => [$this, 'block_date_widget'],
|
|
'time_widget' => [$this, 'block_time_widget'],
|
|
'dateinterval_widget' => [$this, 'block_dateinterval_widget'],
|
|
'number_widget' => [$this, 'block_number_widget'],
|
|
'integer_widget' => [$this, 'block_integer_widget'],
|
|
'money_widget' => [$this, 'block_money_widget'],
|
|
'url_widget' => [$this, 'block_url_widget'],
|
|
'search_widget' => [$this, 'block_search_widget'],
|
|
'percent_widget' => [$this, 'block_percent_widget'],
|
|
'password_widget' => [$this, 'block_password_widget'],
|
|
'hidden_widget' => [$this, 'block_hidden_widget'],
|
|
'email_widget' => [$this, 'block_email_widget'],
|
|
'range_widget' => [$this, 'block_range_widget'],
|
|
'button_widget' => [$this, 'block_button_widget'],
|
|
'submit_widget' => [$this, 'block_submit_widget'],
|
|
'reset_widget' => [$this, 'block_reset_widget'],
|
|
'tel_widget' => [$this, 'block_tel_widget'],
|
|
'color_widget' => [$this, 'block_color_widget'],
|
|
'form_label' => [$this, 'block_form_label'],
|
|
'button_label' => [$this, 'block_button_label'],
|
|
'repeated_row' => [$this, 'block_repeated_row'],
|
|
'form_row' => [$this, 'block_form_row'],
|
|
'button_row' => [$this, 'block_button_row'],
|
|
'hidden_row' => [$this, 'block_hidden_row'],
|
|
'form' => [$this, 'block_form'],
|
|
'form_start' => [$this, 'block_form_start'],
|
|
'form_end' => [$this, 'block_form_end'],
|
|
'form_errors' => [$this, 'block_form_errors'],
|
|
'form_rest' => [$this, 'block_form_rest'],
|
|
'form_rows' => [$this, 'block_form_rows'],
|
|
'widget_attributes' => [$this, 'block_widget_attributes'],
|
|
'widget_container_attributes' => [$this, 'block_widget_container_attributes'],
|
|
'button_attributes' => [$this, 'block_button_attributes'],
|
|
'attributes' => [$this, 'block_attributes'],
|
|
];
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "form_div_layout.html.twig"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "form_div_layout.html.twig"));
|
|
|
|
// line 3
|
|
$this->displayBlock('form_widget', $context, $blocks);
|
|
// line 11
|
|
$this->displayBlock('form_widget_simple', $context, $blocks);
|
|
// line 16
|
|
$this->displayBlock('form_widget_compound', $context, $blocks);
|
|
// line 26
|
|
$this->displayBlock('collection_widget', $context, $blocks);
|
|
// line 33
|
|
$this->displayBlock('textarea_widget', $context, $blocks);
|
|
// line 37
|
|
$this->displayBlock('choice_widget', $context, $blocks);
|
|
// line 45
|
|
$this->displayBlock('choice_widget_expanded', $context, $blocks);
|
|
// line 54
|
|
$this->displayBlock('choice_widget_collapsed', $context, $blocks);
|
|
// line 74
|
|
$this->displayBlock('choice_widget_options', $context, $blocks);
|
|
// line 87
|
|
$this->displayBlock('checkbox_widget', $context, $blocks);
|
|
// line 91
|
|
$this->displayBlock('radio_widget', $context, $blocks);
|
|
// line 95
|
|
$this->displayBlock('datetime_widget', $context, $blocks);
|
|
// line 108
|
|
$this->displayBlock('date_widget', $context, $blocks);
|
|
// line 122
|
|
$this->displayBlock('time_widget', $context, $blocks);
|
|
// line 133
|
|
$this->displayBlock('dateinterval_widget', $context, $blocks);
|
|
// line 168
|
|
$this->displayBlock('number_widget', $context, $blocks);
|
|
// line 174
|
|
$this->displayBlock('integer_widget', $context, $blocks);
|
|
// line 179
|
|
$this->displayBlock('money_widget', $context, $blocks);
|
|
// line 183
|
|
$this->displayBlock('url_widget', $context, $blocks);
|
|
// line 188
|
|
$this->displayBlock('search_widget', $context, $blocks);
|
|
// line 193
|
|
$this->displayBlock('percent_widget', $context, $blocks);
|
|
// line 198
|
|
$this->displayBlock('password_widget', $context, $blocks);
|
|
// line 203
|
|
$this->displayBlock('hidden_widget', $context, $blocks);
|
|
// line 208
|
|
$this->displayBlock('email_widget', $context, $blocks);
|
|
// line 213
|
|
$this->displayBlock('range_widget', $context, $blocks);
|
|
// line 218
|
|
$this->displayBlock('button_widget', $context, $blocks);
|
|
// line 234
|
|
$this->displayBlock('submit_widget', $context, $blocks);
|
|
// line 239
|
|
$this->displayBlock('reset_widget', $context, $blocks);
|
|
// line 244
|
|
$this->displayBlock('tel_widget', $context, $blocks);
|
|
// line 249
|
|
$this->displayBlock('color_widget', $context, $blocks);
|
|
// line 256
|
|
$this->displayBlock('form_label', $context, $blocks);
|
|
// line 284
|
|
$this->displayBlock('button_label', $context, $blocks);
|
|
// line 288
|
|
$this->displayBlock('repeated_row', $context, $blocks);
|
|
// line 296
|
|
$this->displayBlock('form_row', $context, $blocks);
|
|
// line 304
|
|
$this->displayBlock('button_row', $context, $blocks);
|
|
// line 310
|
|
$this->displayBlock('hidden_row', $context, $blocks);
|
|
// line 316
|
|
$this->displayBlock('form', $context, $blocks);
|
|
// line 322
|
|
$this->displayBlock('form_start', $context, $blocks);
|
|
// line 336
|
|
$this->displayBlock('form_end', $context, $blocks);
|
|
// line 343
|
|
$this->displayBlock('form_errors', $context, $blocks);
|
|
// line 353
|
|
$this->displayBlock('form_rest', $context, $blocks);
|
|
// line 374
|
|
echo "
|
|
";
|
|
// line 377
|
|
$this->displayBlock('form_rows', $context, $blocks);
|
|
// line 383
|
|
$this->displayBlock('widget_attributes', $context, $blocks);
|
|
// line 390
|
|
$this->displayBlock('widget_container_attributes', $context, $blocks);
|
|
// line 395
|
|
$this->displayBlock('button_attributes', $context, $blocks);
|
|
// line 400
|
|
$this->displayBlock('attributes', $context, $blocks);
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 3
|
|
public function block_form_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget"));
|
|
|
|
// line 4
|
|
if (($context["compound"] ?? $this->getContext($context, "compound"))) {
|
|
// line 5
|
|
$this->displayBlock("form_widget_compound", $context, $blocks);
|
|
} else {
|
|
// line 7
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 11
|
|
public function block_form_widget_simple($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget_simple"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget_simple"));
|
|
|
|
// line 12
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "text")) : ("text"));
|
|
// line 13
|
|
echo "<input type=\"";
|
|
echo twig_escape_filter($this->env, ($context["type"] ?? $this->getContext($context, "type")), "html", null, true);
|
|
echo "\" ";
|
|
$this->displayBlock("widget_attributes", $context, $blocks);
|
|
echo " ";
|
|
if ( !twig_test_empty(($context["value"] ?? $this->getContext($context, "value")))) {
|
|
echo "value=\"";
|
|
echo twig_escape_filter($this->env, ($context["value"] ?? $this->getContext($context, "value")), "html", null, true);
|
|
echo "\" ";
|
|
}
|
|
echo "/>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 16
|
|
public function block_form_widget_compound($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget_compound"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_widget_compound"));
|
|
|
|
// line 17
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 18
|
|
if (Symfony\Bridge\Twig\Extension\twig_is_root_form(($context["form"] ?? $this->getContext($context, "form")))) {
|
|
// line 19
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'errors');
|
|
}
|
|
// line 21
|
|
$this->displayBlock("form_rows", $context, $blocks);
|
|
// line 22
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'rest');
|
|
// line 23
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 26
|
|
public function block_collection_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "collection_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "collection_widget"));
|
|
|
|
// line 27
|
|
if (((isset($context["prototype"]) || array_key_exists("prototype", $context)) && !$this->getAttribute(($context["prototype"] ?? $this->getContext($context, "prototype")), "rendered", []))) {
|
|
// line 28
|
|
$context["attr"] = twig_array_merge(($context["attr"] ?? $this->getContext($context, "attr")), ["data-prototype" => $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["prototype"] ?? $this->getContext($context, "prototype")), 'row')]);
|
|
}
|
|
// line 30
|
|
$this->displayBlock("form_widget", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 33
|
|
public function block_textarea_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "textarea_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "textarea_widget"));
|
|
|
|
// line 34
|
|
echo "<textarea ";
|
|
$this->displayBlock("widget_attributes", $context, $blocks);
|
|
echo ">";
|
|
echo twig_escape_filter($this->env, ($context["value"] ?? $this->getContext($context, "value")), "html", null, true);
|
|
echo "</textarea>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 37
|
|
public function block_choice_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget"));
|
|
|
|
// line 38
|
|
if (($context["expanded"] ?? $this->getContext($context, "expanded"))) {
|
|
// line 39
|
|
$this->displayBlock("choice_widget_expanded", $context, $blocks);
|
|
} else {
|
|
// line 41
|
|
$this->displayBlock("choice_widget_collapsed", $context, $blocks);
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 45
|
|
public function block_choice_widget_expanded($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_expanded"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_expanded"));
|
|
|
|
// line 46
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 47
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["form"] ?? $this->getContext($context, "form")));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
|
// line 48
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget');
|
|
// line 49
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'label', ["translation_domain" => ($context["choice_translation_domain"] ?? $this->getContext($context, "choice_translation_domain"))]);
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 51
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 54
|
|
public function block_choice_widget_collapsed($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_collapsed"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_collapsed"));
|
|
|
|
// line 55
|
|
if (((((($context["required"] ?? $this->getContext($context, "required")) && (null === ($context["placeholder"] ?? $this->getContext($context, "placeholder")))) && !($context["placeholder_in_choices"] ?? $this->getContext($context, "placeholder_in_choices"))) && !($context["multiple"] ?? $this->getContext($context, "multiple"))) && ( !$this->getAttribute(($context["attr"] ?? null), "size", [], "any", true, true) || ($this->getAttribute(($context["attr"] ?? $this->getContext($context, "attr")), "size", []) <= 1)))) {
|
|
// line 56
|
|
$context["required"] = false;
|
|
}
|
|
// line 58
|
|
echo "<select ";
|
|
$this->displayBlock("widget_attributes", $context, $blocks);
|
|
if (($context["multiple"] ?? $this->getContext($context, "multiple"))) {
|
|
echo " multiple=\"multiple\"";
|
|
}
|
|
echo ">";
|
|
// line 59
|
|
if ( !(null === ($context["placeholder"] ?? $this->getContext($context, "placeholder")))) {
|
|
// line 60
|
|
echo "<option value=\"\"";
|
|
if ((($context["required"] ?? $this->getContext($context, "required")) && twig_test_empty(($context["value"] ?? $this->getContext($context, "value"))))) {
|
|
echo " selected=\"selected\"";
|
|
}
|
|
echo ">";
|
|
echo twig_escape_filter($this->env, (((($context["placeholder"] ?? $this->getContext($context, "placeholder")) != "")) ? ((((($context["translation_domain"] ?? $this->getContext($context, "translation_domain")) === false)) ? (($context["placeholder"] ?? $this->getContext($context, "placeholder"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans(($context["placeholder"] ?? $this->getContext($context, "placeholder")), [], ($context["translation_domain"] ?? $this->getContext($context, "translation_domain")))))) : ("")), "html", null, true);
|
|
echo "</option>";
|
|
}
|
|
// line 62
|
|
if ((twig_length_filter($this->env, ($context["preferred_choices"] ?? $this->getContext($context, "preferred_choices"))) > 0)) {
|
|
// line 63
|
|
$context["options"] = ($context["preferred_choices"] ?? $this->getContext($context, "preferred_choices"));
|
|
// line 64
|
|
$this->displayBlock("choice_widget_options", $context, $blocks);
|
|
// line 65
|
|
if (((twig_length_filter($this->env, ($context["choices"] ?? $this->getContext($context, "choices"))) > 0) && !(null === ($context["separator"] ?? $this->getContext($context, "separator"))))) {
|
|
// line 66
|
|
echo "<option disabled=\"disabled\">";
|
|
echo twig_escape_filter($this->env, ($context["separator"] ?? $this->getContext($context, "separator")), "html", null, true);
|
|
echo "</option>";
|
|
}
|
|
}
|
|
// line 69
|
|
$context["options"] = ($context["choices"] ?? $this->getContext($context, "choices"));
|
|
// line 70
|
|
$this->displayBlock("choice_widget_options", $context, $blocks);
|
|
// line 71
|
|
echo "</select>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 74
|
|
public function block_choice_widget_options($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_options"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_options"));
|
|
|
|
// line 75
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["options"] ?? $this->getContext($context, "options")));
|
|
$context['loop'] = [
|
|
'parent' => $context['_parent'],
|
|
'index0' => 0,
|
|
'index' => 1,
|
|
'first' => true,
|
|
];
|
|
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
|
$length = count($context['_seq']);
|
|
$context['loop']['revindex0'] = $length - 1;
|
|
$context['loop']['revindex'] = $length;
|
|
$context['loop']['length'] = $length;
|
|
$context['loop']['last'] = 1 === $length;
|
|
}
|
|
foreach ($context['_seq'] as $context["group_label"] => $context["choice"]) {
|
|
// line 76
|
|
if (twig_test_iterable($context["choice"])) {
|
|
// line 77
|
|
echo "<optgroup label=\"";
|
|
echo twig_escape_filter($this->env, (((($context["choice_translation_domain"] ?? $this->getContext($context, "choice_translation_domain")) === false)) ? ($context["group_label"]) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans($context["group_label"], [], ($context["choice_translation_domain"] ?? $this->getContext($context, "choice_translation_domain"))))), "html", null, true);
|
|
echo "\">
|
|
";
|
|
// line 78
|
|
$context["options"] = $context["choice"];
|
|
// line 79
|
|
$this->displayBlock("choice_widget_options", $context, $blocks);
|
|
// line 80
|
|
echo "</optgroup>";
|
|
} else {
|
|
// line 82
|
|
echo "<option value=\"";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["choice"], "value", []), "html", null, true);
|
|
echo "\"";
|
|
if ($this->getAttribute($context["choice"], "attr", [])) {
|
|
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ["attr" => $this->getAttribute($context["choice"], "attr", [])];
|
|
if ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof \Traversable) {
|
|
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = iterator_to_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4);
|
|
}
|
|
if (!is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.');
|
|
}
|
|
$context['_parent'] = $context;
|
|
$context = array_merge($context, $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4);
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
$context = $context['_parent'];
|
|
}
|
|
if (Symfony\Bridge\Twig\Extension\twig_is_selected_choice($context["choice"], ($context["value"] ?? $this->getContext($context, "value")))) {
|
|
echo " selected=\"selected\"";
|
|
}
|
|
echo ">";
|
|
echo twig_escape_filter($this->env, (((($context["choice_translation_domain"] ?? $this->getContext($context, "choice_translation_domain")) === false)) ? ($this->getAttribute($context["choice"], "label", [])) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans($this->getAttribute($context["choice"], "label", []), [], ($context["choice_translation_domain"] ?? $this->getContext($context, "choice_translation_domain"))))), "html", null, true);
|
|
echo "</option>";
|
|
}
|
|
++$context['loop']['index0'];
|
|
++$context['loop']['index'];
|
|
$context['loop']['first'] = false;
|
|
if (isset($context['loop']['length'])) {
|
|
--$context['loop']['revindex0'];
|
|
--$context['loop']['revindex'];
|
|
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
|
}
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['group_label'], $context['choice'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 87
|
|
public function block_checkbox_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_widget"));
|
|
|
|
// line 88
|
|
echo "<input type=\"checkbox\" ";
|
|
$this->displayBlock("widget_attributes", $context, $blocks);
|
|
if ((isset($context["value"]) || array_key_exists("value", $context))) {
|
|
echo " value=\"";
|
|
echo twig_escape_filter($this->env, ($context["value"] ?? $this->getContext($context, "value")), "html", null, true);
|
|
echo "\"";
|
|
}
|
|
if (($context["checked"] ?? $this->getContext($context, "checked"))) {
|
|
echo " checked=\"checked\"";
|
|
}
|
|
echo " />";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 91
|
|
public function block_radio_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "radio_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "radio_widget"));
|
|
|
|
// line 92
|
|
echo "<input type=\"radio\" ";
|
|
$this->displayBlock("widget_attributes", $context, $blocks);
|
|
if ((isset($context["value"]) || array_key_exists("value", $context))) {
|
|
echo " value=\"";
|
|
echo twig_escape_filter($this->env, ($context["value"] ?? $this->getContext($context, "value")), "html", null, true);
|
|
echo "\"";
|
|
}
|
|
if (($context["checked"] ?? $this->getContext($context, "checked"))) {
|
|
echo " checked=\"checked\"";
|
|
}
|
|
echo " />";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 95
|
|
public function block_datetime_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "datetime_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "datetime_widget"));
|
|
|
|
// line 96
|
|
if ((($context["widget"] ?? $this->getContext($context, "widget")) == "single_text")) {
|
|
// line 97
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 99
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 100
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "date", []), 'errors');
|
|
// line 101
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "time", []), 'errors');
|
|
// line 102
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "date", []), 'widget');
|
|
// line 103
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "time", []), 'widget');
|
|
// line 104
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 108
|
|
public function block_date_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "date_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "date_widget"));
|
|
|
|
// line 109
|
|
if ((($context["widget"] ?? $this->getContext($context, "widget")) == "single_text")) {
|
|
// line 110
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 112
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 113
|
|
echo twig_replace_filter(($context["date_pattern"] ?? $this->getContext($context, "date_pattern")), ["{{ year }}" => // line 114
|
|
$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "year", []), 'widget'), "{{ month }}" => // line 115
|
|
$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "month", []), 'widget'), "{{ day }}" => // line 116
|
|
$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "day", []), 'widget')]);
|
|
// line 118
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 122
|
|
public function block_time_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "time_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "time_widget"));
|
|
|
|
// line 123
|
|
if ((($context["widget"] ?? $this->getContext($context, "widget")) == "single_text")) {
|
|
// line 124
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 126
|
|
$context["vars"] = (((($context["widget"] ?? $this->getContext($context, "widget")) == "text")) ? (["attr" => ["size" => 1]]) : ([]));
|
|
// line 127
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">
|
|
";
|
|
// line 128
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "hour", []), 'widget', ($context["vars"] ?? $this->getContext($context, "vars")));
|
|
if (($context["with_minutes"] ?? $this->getContext($context, "with_minutes"))) {
|
|
echo ":";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "minute", []), 'widget', ($context["vars"] ?? $this->getContext($context, "vars")));
|
|
}
|
|
if (($context["with_seconds"] ?? $this->getContext($context, "with_seconds"))) {
|
|
echo ":";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "second", []), 'widget', ($context["vars"] ?? $this->getContext($context, "vars")));
|
|
}
|
|
// line 129
|
|
echo " </div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 133
|
|
public function block_dateinterval_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "dateinterval_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "dateinterval_widget"));
|
|
|
|
// line 134
|
|
if ((($context["widget"] ?? $this->getContext($context, "widget")) == "single_text")) {
|
|
// line 135
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 137
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 138
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'errors');
|
|
// line 139
|
|
echo "<table class=\"";
|
|
echo twig_escape_filter($this->env, (((isset($context["table_class"]) || array_key_exists("table_class", $context))) ? (_twig_default_filter(($context["table_class"] ?? $this->getContext($context, "table_class")), "")) : ("")), "html", null, true);
|
|
echo "\" role=\"presentation\">
|
|
<thead>
|
|
<tr>";
|
|
// line 142
|
|
if (($context["with_years"] ?? $this->getContext($context, "with_years"))) {
|
|
echo "<th>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "years", []), 'label');
|
|
echo "</th>";
|
|
}
|
|
// line 143
|
|
if (($context["with_months"] ?? $this->getContext($context, "with_months"))) {
|
|
echo "<th>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "months", []), 'label');
|
|
echo "</th>";
|
|
}
|
|
// line 144
|
|
if (($context["with_weeks"] ?? $this->getContext($context, "with_weeks"))) {
|
|
echo "<th>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "weeks", []), 'label');
|
|
echo "</th>";
|
|
}
|
|
// line 145
|
|
if (($context["with_days"] ?? $this->getContext($context, "with_days"))) {
|
|
echo "<th>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "days", []), 'label');
|
|
echo "</th>";
|
|
}
|
|
// line 146
|
|
if (($context["with_hours"] ?? $this->getContext($context, "with_hours"))) {
|
|
echo "<th>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "hours", []), 'label');
|
|
echo "</th>";
|
|
}
|
|
// line 147
|
|
if (($context["with_minutes"] ?? $this->getContext($context, "with_minutes"))) {
|
|
echo "<th>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "minutes", []), 'label');
|
|
echo "</th>";
|
|
}
|
|
// line 148
|
|
if (($context["with_seconds"] ?? $this->getContext($context, "with_seconds"))) {
|
|
echo "<th>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "seconds", []), 'label');
|
|
echo "</th>";
|
|
}
|
|
// line 149
|
|
echo "</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>";
|
|
// line 153
|
|
if (($context["with_years"] ?? $this->getContext($context, "with_years"))) {
|
|
echo "<td>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "years", []), 'widget');
|
|
echo "</td>";
|
|
}
|
|
// line 154
|
|
if (($context["with_months"] ?? $this->getContext($context, "with_months"))) {
|
|
echo "<td>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "months", []), 'widget');
|
|
echo "</td>";
|
|
}
|
|
// line 155
|
|
if (($context["with_weeks"] ?? $this->getContext($context, "with_weeks"))) {
|
|
echo "<td>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "weeks", []), 'widget');
|
|
echo "</td>";
|
|
}
|
|
// line 156
|
|
if (($context["with_days"] ?? $this->getContext($context, "with_days"))) {
|
|
echo "<td>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "days", []), 'widget');
|
|
echo "</td>";
|
|
}
|
|
// line 157
|
|
if (($context["with_hours"] ?? $this->getContext($context, "with_hours"))) {
|
|
echo "<td>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "hours", []), 'widget');
|
|
echo "</td>";
|
|
}
|
|
// line 158
|
|
if (($context["with_minutes"] ?? $this->getContext($context, "with_minutes"))) {
|
|
echo "<td>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "minutes", []), 'widget');
|
|
echo "</td>";
|
|
}
|
|
// line 159
|
|
if (($context["with_seconds"] ?? $this->getContext($context, "with_seconds"))) {
|
|
echo "<td>";
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "seconds", []), 'widget');
|
|
echo "</td>";
|
|
}
|
|
// line 160
|
|
echo "</tr>
|
|
</tbody>
|
|
</table>";
|
|
// line 163
|
|
if (($context["with_invert"] ?? $this->getContext($context, "with_invert"))) {
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "invert", []), 'widget');
|
|
}
|
|
// line 164
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 168
|
|
public function block_number_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "number_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "number_widget"));
|
|
|
|
// line 170
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "text")) : ("text"));
|
|
// line 171
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 174
|
|
public function block_integer_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "integer_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "integer_widget"));
|
|
|
|
// line 175
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "number")) : ("number"));
|
|
// line 176
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 179
|
|
public function block_money_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "money_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "money_widget"));
|
|
|
|
// line 180
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env, ($context["money_pattern"] ?? $this->getContext($context, "money_pattern")), $this->renderBlock("form_widget_simple", $context, $blocks));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 183
|
|
public function block_url_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "url_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "url_widget"));
|
|
|
|
// line 184
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "url")) : ("url"));
|
|
// line 185
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 188
|
|
public function block_search_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_widget"));
|
|
|
|
// line 189
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "search")) : ("search"));
|
|
// line 190
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 193
|
|
public function block_percent_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "percent_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "percent_widget"));
|
|
|
|
// line 194
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "text")) : ("text"));
|
|
// line 195
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
echo " %";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 198
|
|
public function block_password_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "password_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "password_widget"));
|
|
|
|
// line 199
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "password")) : ("password"));
|
|
// line 200
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 203
|
|
public function block_hidden_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hidden_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hidden_widget"));
|
|
|
|
// line 204
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "hidden")) : ("hidden"));
|
|
// line 205
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 208
|
|
public function block_email_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "email_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "email_widget"));
|
|
|
|
// line 209
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "email")) : ("email"));
|
|
// line 210
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 213
|
|
public function block_range_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "range_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "range_widget"));
|
|
|
|
// line 214
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "range")) : ("range"));
|
|
// line 215
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 218
|
|
public function block_button_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_widget"));
|
|
|
|
// line 219
|
|
if (twig_test_empty(($context["label"] ?? $this->getContext($context, "label")))) {
|
|
// line 220
|
|
if ( !twig_test_empty(($context["label_format"] ?? $this->getContext($context, "label_format")))) {
|
|
// line 221
|
|
$context["label"] = twig_replace_filter(($context["label_format"] ?? $this->getContext($context, "label_format")), ["%name%" => // line 222
|
|
($context["name"] ?? $this->getContext($context, "name")), "%id%" => // line 223
|
|
($context["id"] ?? $this->getContext($context, "id"))]);
|
|
} elseif (( // line 225
|
|
($context["label"] ?? $this->getContext($context, "label")) === false)) {
|
|
// line 226
|
|
$context["translation_domain"] = false;
|
|
} else {
|
|
// line 228
|
|
$context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? $this->getContext($context, "name")));
|
|
}
|
|
}
|
|
// line 231
|
|
echo "<button type=\"";
|
|
echo twig_escape_filter($this->env, (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "button")) : ("button")), "html", null, true);
|
|
echo "\" ";
|
|
$this->displayBlock("button_attributes", $context, $blocks);
|
|
echo ">";
|
|
echo twig_escape_filter($this->env, (((($context["translation_domain"] ?? $this->getContext($context, "translation_domain")) === false)) ? (($context["label"] ?? $this->getContext($context, "label"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans(($context["label"] ?? $this->getContext($context, "label")), [], ($context["translation_domain"] ?? $this->getContext($context, "translation_domain"))))), "html", null, true);
|
|
echo "</button>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 234
|
|
public function block_submit_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "submit_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "submit_widget"));
|
|
|
|
// line 235
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "submit")) : ("submit"));
|
|
// line 236
|
|
$this->displayBlock("button_widget", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 239
|
|
public function block_reset_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "reset_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "reset_widget"));
|
|
|
|
// line 240
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "reset")) : ("reset"));
|
|
// line 241
|
|
$this->displayBlock("button_widget", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 244
|
|
public function block_tel_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "tel_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "tel_widget"));
|
|
|
|
// line 245
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "tel")) : ("tel"));
|
|
// line 246
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 249
|
|
public function block_color_widget($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "color_widget"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "color_widget"));
|
|
|
|
// line 250
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "color")) : ("color"));
|
|
// line 251
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 256
|
|
public function block_form_label($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label"));
|
|
|
|
// line 257
|
|
if ( !(($context["label"] ?? $this->getContext($context, "label")) === false)) {
|
|
// line 258
|
|
if ( !($context["compound"] ?? $this->getContext($context, "compound"))) {
|
|
// line 259
|
|
$context["label_attr"] = twig_array_merge(($context["label_attr"] ?? $this->getContext($context, "label_attr")), ["for" => ($context["id"] ?? $this->getContext($context, "id"))]);
|
|
}
|
|
// line 261
|
|
if (($context["required"] ?? $this->getContext($context, "required"))) {
|
|
// line 262
|
|
$context["label_attr"] = twig_array_merge(($context["label_attr"] ?? $this->getContext($context, "label_attr")), ["class" => twig_trim_filter(((($this->getAttribute(($context["label_attr"] ?? null), "class", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["label_attr"] ?? null), "class", []), "")) : ("")) . " required"))]);
|
|
}
|
|
// line 264
|
|
if (twig_test_empty(($context["label"] ?? $this->getContext($context, "label")))) {
|
|
// line 265
|
|
if ( !twig_test_empty(($context["label_format"] ?? $this->getContext($context, "label_format")))) {
|
|
// line 266
|
|
$context["label"] = twig_replace_filter(($context["label_format"] ?? $this->getContext($context, "label_format")), ["%name%" => // line 267
|
|
($context["name"] ?? $this->getContext($context, "name")), "%id%" => // line 268
|
|
($context["id"] ?? $this->getContext($context, "id"))]);
|
|
} else {
|
|
// line 271
|
|
$context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? $this->getContext($context, "name")));
|
|
}
|
|
}
|
|
// line 274
|
|
echo "<";
|
|
echo twig_escape_filter($this->env, (((isset($context["element"]) || array_key_exists("element", $context))) ? (_twig_default_filter(($context["element"] ?? $this->getContext($context, "element")), "label")) : ("label")), "html", null, true);
|
|
if (($context["label_attr"] ?? $this->getContext($context, "label_attr"))) {
|
|
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ["attr" => ($context["label_attr"] ?? $this->getContext($context, "label_attr"))];
|
|
if ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof \Traversable) {
|
|
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = iterator_to_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144);
|
|
}
|
|
if (!is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.');
|
|
}
|
|
$context['_parent'] = $context;
|
|
$context = array_merge($context, $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144);
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
$context = $context['_parent'];
|
|
}
|
|
echo ">";
|
|
// line 275
|
|
if ((($context["translation_domain"] ?? $this->getContext($context, "translation_domain")) === false)) {
|
|
// line 276
|
|
echo twig_escape_filter($this->env, ($context["label"] ?? $this->getContext($context, "label")), "html", null, true);
|
|
} else {
|
|
// line 278
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans(($context["label"] ?? $this->getContext($context, "label")), [], ($context["translation_domain"] ?? $this->getContext($context, "translation_domain"))), "html", null, true);
|
|
}
|
|
// line 280
|
|
echo "</";
|
|
echo twig_escape_filter($this->env, (((isset($context["element"]) || array_key_exists("element", $context))) ? (_twig_default_filter(($context["element"] ?? $this->getContext($context, "element")), "label")) : ("label")), "html", null, true);
|
|
echo ">";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 284
|
|
public function block_button_label($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_label"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_label"));
|
|
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 288
|
|
public function block_repeated_row($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "repeated_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "repeated_row"));
|
|
|
|
// line 293
|
|
$this->displayBlock("form_rows", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 296
|
|
public function block_form_row($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_row"));
|
|
|
|
// line 297
|
|
echo "<div>";
|
|
// line 298
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'label');
|
|
// line 299
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'errors');
|
|
// line 300
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
|
|
// line 301
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 304
|
|
public function block_button_row($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_row"));
|
|
|
|
// line 305
|
|
echo "<div>";
|
|
// line 306
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
|
|
// line 307
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 310
|
|
public function block_hidden_row($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hidden_row"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hidden_row"));
|
|
|
|
// line 311
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 316
|
|
public function block_form($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form"));
|
|
|
|
// line 317
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? $this->getContext($context, "form")), 'form_start');
|
|
// line 318
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
|
|
// line 319
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? $this->getContext($context, "form")), 'form_end');
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 322
|
|
public function block_form_start($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_start"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_start"));
|
|
|
|
// line 323
|
|
$this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "setMethodRendered", [], "method");
|
|
// line 324
|
|
$context["method"] = twig_upper_filter($this->env, ($context["method"] ?? $this->getContext($context, "method")));
|
|
// line 325
|
|
if (twig_in_filter(($context["method"] ?? $this->getContext($context, "method")), [0 => "GET", 1 => "POST"])) {
|
|
// line 326
|
|
$context["form_method"] = ($context["method"] ?? $this->getContext($context, "method"));
|
|
} else {
|
|
// line 328
|
|
$context["form_method"] = "POST";
|
|
}
|
|
// line 330
|
|
echo "<form";
|
|
if ((($context["name"] ?? $this->getContext($context, "name")) != "")) {
|
|
echo " name=\"";
|
|
echo twig_escape_filter($this->env, ($context["name"] ?? $this->getContext($context, "name")), "html", null, true);
|
|
echo "\"";
|
|
}
|
|
echo " method=\"";
|
|
echo twig_escape_filter($this->env, twig_lower_filter($this->env, ($context["form_method"] ?? $this->getContext($context, "form_method"))), "html", null, true);
|
|
echo "\"";
|
|
if ((($context["action"] ?? $this->getContext($context, "action")) != "")) {
|
|
echo " action=\"";
|
|
echo twig_escape_filter($this->env, ($context["action"] ?? $this->getContext($context, "action")), "html", null, true);
|
|
echo "\"";
|
|
}
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
if (($context["multipart"] ?? $this->getContext($context, "multipart"))) {
|
|
echo " enctype=\"multipart/form-data\"";
|
|
}
|
|
echo ">";
|
|
// line 331
|
|
if ((($context["form_method"] ?? $this->getContext($context, "form_method")) != ($context["method"] ?? $this->getContext($context, "method")))) {
|
|
// line 332
|
|
echo "<input type=\"hidden\" name=\"_method\" value=\"";
|
|
echo twig_escape_filter($this->env, ($context["method"] ?? $this->getContext($context, "method")), "html", null, true);
|
|
echo "\" />";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 336
|
|
public function block_form_end($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_end"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_end"));
|
|
|
|
// line 337
|
|
if (( !(isset($context["render_rest"]) || array_key_exists("render_rest", $context)) || ($context["render_rest"] ?? $this->getContext($context, "render_rest")))) {
|
|
// line 338
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'rest');
|
|
}
|
|
// line 340
|
|
echo "</form>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 343
|
|
public function block_form_errors($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_errors"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_errors"));
|
|
|
|
// line 344
|
|
if ((twig_length_filter($this->env, ($context["errors"] ?? $this->getContext($context, "errors"))) > 0)) {
|
|
// line 345
|
|
echo "<ul>";
|
|
// line 346
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["errors"] ?? $this->getContext($context, "errors")));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
|
|
// line 347
|
|
echo "<li>";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["error"], "message", []), "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 349
|
|
echo "</ul>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 353
|
|
public function block_form_rest($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_rest"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_rest"));
|
|
|
|
// line 354
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["form"] ?? $this->getContext($context, "form")));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
|
// line 355
|
|
if ( !$this->getAttribute($context["child"], "rendered", [])) {
|
|
// line 356
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'row');
|
|
}
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 360
|
|
if (( !$this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "methodRendered", []) && Symfony\Bridge\Twig\Extension\twig_is_root_form(($context["form"] ?? $this->getContext($context, "form"))))) {
|
|
// line 361
|
|
$this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "setMethodRendered", [], "method");
|
|
// line 362
|
|
$context["method"] = twig_upper_filter($this->env, ($context["method"] ?? $this->getContext($context, "method")));
|
|
// line 363
|
|
if (twig_in_filter(($context["method"] ?? $this->getContext($context, "method")), [0 => "GET", 1 => "POST"])) {
|
|
// line 364
|
|
$context["form_method"] = ($context["method"] ?? $this->getContext($context, "method"));
|
|
} else {
|
|
// line 366
|
|
$context["form_method"] = "POST";
|
|
}
|
|
// line 369
|
|
if ((($context["form_method"] ?? $this->getContext($context, "form_method")) != ($context["method"] ?? $this->getContext($context, "method")))) {
|
|
// line 370
|
|
echo "<input type=\"hidden\" name=\"_method\" value=\"";
|
|
echo twig_escape_filter($this->env, ($context["method"] ?? $this->getContext($context, "method")), "html", null, true);
|
|
echo "\" />";
|
|
}
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 377
|
|
public function block_form_rows($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_rows"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_rows"));
|
|
|
|
// line 378
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["form"] ?? $this->getContext($context, "form")));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
|
// line 379
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'row');
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 383
|
|
public function block_widget_attributes($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "widget_attributes"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "widget_attributes"));
|
|
|
|
// line 384
|
|
echo "id=\"";
|
|
echo twig_escape_filter($this->env, ($context["id"] ?? $this->getContext($context, "id")), "html", null, true);
|
|
echo "\" name=\"";
|
|
echo twig_escape_filter($this->env, ($context["full_name"] ?? $this->getContext($context, "full_name")), "html", null, true);
|
|
echo "\"";
|
|
// line 385
|
|
if (($context["disabled"] ?? $this->getContext($context, "disabled"))) {
|
|
echo " disabled=\"disabled\"";
|
|
}
|
|
// line 386
|
|
if (($context["required"] ?? $this->getContext($context, "required"))) {
|
|
echo " required=\"required\"";
|
|
}
|
|
// line 387
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 390
|
|
public function block_widget_container_attributes($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "widget_container_attributes"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "widget_container_attributes"));
|
|
|
|
// line 391
|
|
if ( !twig_test_empty(($context["id"] ?? $this->getContext($context, "id")))) {
|
|
echo "id=\"";
|
|
echo twig_escape_filter($this->env, ($context["id"] ?? $this->getContext($context, "id")), "html", null, true);
|
|
echo "\"";
|
|
}
|
|
// line 392
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 395
|
|
public function block_button_attributes($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_attributes"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "button_attributes"));
|
|
|
|
// line 396
|
|
echo "id=\"";
|
|
echo twig_escape_filter($this->env, ($context["id"] ?? $this->getContext($context, "id")), "html", null, true);
|
|
echo "\" name=\"";
|
|
echo twig_escape_filter($this->env, ($context["full_name"] ?? $this->getContext($context, "full_name")), "html", null, true);
|
|
echo "\"";
|
|
if (($context["disabled"] ?? $this->getContext($context, "disabled"))) {
|
|
echo " disabled=\"disabled\"";
|
|
}
|
|
// line 397
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 400
|
|
public function block_attributes($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "attributes"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "attributes"));
|
|
|
|
// line 401
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["attr"] ?? $this->getContext($context, "attr")));
|
|
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
|
// line 402
|
|
echo " ";
|
|
// line 403
|
|
if (twig_in_filter($context["attrname"], [0 => "placeholder", 1 => "title"])) {
|
|
// line 404
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, (((($context["translation_domain"] ?? $this->getContext($context, "translation_domain")) === false)) ? ($context["attrvalue"]) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans($context["attrvalue"], [], ($context["translation_domain"] ?? $this->getContext($context, "translation_domain"))))), "html", null, true);
|
|
echo "\"";
|
|
} elseif (( // line 405
|
|
$context["attrvalue"] === true)) {
|
|
// line 406
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "\"";
|
|
} elseif ( !( // line 407
|
|
$context["attrvalue"] === false)) {
|
|
// line 408
|
|
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;
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "form_div_layout.html.twig";
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 1676 => 408, 1674 => 407, 1669 => 406, 1667 => 405, 1662 => 404, 1660 => 403, 1658 => 402, 1654 => 401, 1645 => 400, 1635 => 397, 1626 => 396, 1617 => 395, 1607 => 392, 1601 => 391, 1592 => 390, 1582 => 387, 1578 => 386, 1574 => 385, 1568 => 384, 1559 => 383, 1545 => 379, 1541 => 378, 1532 => 377, 1518 => 370, 1516 => 369, 1513 => 366, 1510 => 364, 1508 => 363, 1506 => 362, 1504 => 361, 1502 => 360, 1495 => 356, 1493 => 355, 1489 => 354, 1480 => 353, 1469 => 349, 1461 => 347, 1457 => 346, 1455 => 345, 1453 => 344, 1444 => 343, 1434 => 340, 1431 => 338, 1429 => 337, 1420 => 336, 1407 => 332, 1405 => 331, 1385 => 330, 1382 => 328, 1379 => 326, 1377 => 325, 1375 => 324, 1373 => 323, 1364 => 322, 1354 => 319, 1352 => 318, 1350 => 317, 1341 => 316, 1331 => 311, 1322 => 310, 1312 => 307, 1310 => 306, 1308 => 305, 1299 => 304, 1289 => 301, 1287 => 300, 1285 => 299, 1283 => 298, 1281 => 297, 1272 => 296, 1262 => 293, 1253 => 288, 1236 => 284, 1223 => 280, 1220 => 278, 1217 => 276, 1215 => 275, 1198 => 274, 1194 => 271, 1191 => 268, 1190 => 267, 1189 => 266, 1187 => 265, 1185 => 264, 1182 => 262, 1180 => 261, 1177 => 259, 1175 => 258, 1173 => 257, 1164 => 256, 1154 => 251, 1152 => 250, 1143 => 249, 1133 => 246, 1131 => 245, 1122 => 244, 1112 => 241, 1110 => 240, 1101 => 239, 1091 => 236, 1089 => 235, 1080 => 234, 1064 => 231, 1060 => 228, 1057 => 226, 1055 => 225, 1053 => 223, 1052 => 222, 1051 => 221, 1049 => 220, 1047 => 219, 1038 => 218, 1028 => 215, 1026 => 214, 1017 => 213, 1007 => 210, 1005 => 209, 996 => 208, 986 => 205, 984 => 204, 975 => 203, 965 => 200, 963 => 199, 954 => 198, 943 => 195, 941 => 194, 932 => 193, 922 => 190, 920 => 189, 911 => 188, 901 => 185, 899 => 184, 890 => 183, 880 => 180, 871 => 179, 861 => 176, 859 => 175, 850 => 174, 840 => 171, 838 => 170, 829 => 168, 818 => 164, 814 => 163, 810 => 160, 804 => 159, 798 => 158, 792 => 157, 786 => 156, 780 => 155, 774 => 154, 768 => 153, 763 => 149, 757 => 148, 751 => 147, 745 => 146, 739 => 145, 733 => 144, 727 => 143, 721 => 142, 715 => 139, 713 => 138, 709 => 137, 706 => 135, 704 => 134, 695 => 133, 684 => 129, 674 => 128, 669 => 127, 667 => 126, 664 => 124, 662 => 123, 653 => 122, 642 => 118, 640 => 116, 639 => 115, 638 => 114, 637 => 113, 633 => 112, 630 => 110, 628 => 109, 619 => 108, 608 => 104, 606 => 103, 604 => 102, 602 => 101, 600 => 100, 596 => 99, 593 => 97, 591 => 96, 582 => 95, 562 => 92, 553 => 91, 533 => 88, 524 => 87, 480 => 82, 477 => 80, 475 => 79, 473 => 78, 468 => 77, 466 => 76, 449 => 75, 440 => 74, 430 => 71, 428 => 70, 426 => 69, 420 => 66, 418 => 65, 416 => 64, 414 => 63, 412 => 62, 403 => 60, 401 => 59, 394 => 58, 391 => 56, 389 => 55, 380 => 54, 370 => 51, 364 => 49, 362 => 48, 358 => 47, 354 => 46, 345 => 45, 334 => 41, 331 => 39, 329 => 38, 320 => 37, 306 => 34, 297 => 33, 287 => 30, 284 => 28, 282 => 27, 273 => 26, 263 => 23, 261 => 22, 259 => 21, 256 => 19, 254 => 18, 250 => 17, 241 => 16, 221 => 13, 219 => 12, 210 => 11, 199 => 7, 196 => 5, 194 => 4, 185 => 3, 175 => 400, 173 => 395, 171 => 390, 169 => 383, 167 => 377, 164 => 374, 162 => 353, 160 => 343, 158 => 336, 156 => 322, 154 => 316, 152 => 310, 150 => 304, 148 => 296, 146 => 288, 144 => 284, 142 => 256, 140 => 249, 138 => 244, 136 => 239, 134 => 234, 132 => 218, 130 => 213, 128 => 208, 126 => 203, 124 => 198, 122 => 193, 120 => 188, 118 => 183, 116 => 179, 114 => 174, 112 => 168, 110 => 133, 108 => 122, 106 => 108, 104 => 95, 102 => 91, 100 => 87, 98 => 74, 96 => 54, 94 => 45, 92 => 37, 90 => 33, 88 => 26, 86 => 16, 84 => 11, 82 => 3,);
|
|
}
|
|
|
|
/** @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("{# Widgets #}
|
|
|
|
{%- block form_widget -%}
|
|
{% if compound %}
|
|
{{- block('form_widget_compound') -}}
|
|
{% else %}
|
|
{{- block('form_widget_simple') -}}
|
|
{% endif %}
|
|
{%- endblock form_widget -%}
|
|
|
|
{%- block form_widget_simple -%}
|
|
{%- set type = type|default('text') -%}
|
|
<input type=\"{{ type }}\" {{ block('widget_attributes') }} {% if value is not empty %}value=\"{{ value }}\" {% endif %}/>
|
|
{%- endblock form_widget_simple -%}
|
|
|
|
{%- block form_widget_compound -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{%- if form is rootform -%}
|
|
{{ form_errors(form) }}
|
|
{%- endif -%}
|
|
{{- block('form_rows') -}}
|
|
{{- form_rest(form) -}}
|
|
</div>
|
|
{%- endblock form_widget_compound -%}
|
|
|
|
{%- block collection_widget -%}
|
|
{% if prototype is defined and not prototype.rendered %}
|
|
{%- set attr = attr|merge({'data-prototype': form_row(prototype) }) -%}
|
|
{% endif %}
|
|
{{- block('form_widget') -}}
|
|
{%- endblock collection_widget -%}
|
|
|
|
{%- block textarea_widget -%}
|
|
<textarea {{ block('widget_attributes') }}>{{ value }}</textarea>
|
|
{%- endblock textarea_widget -%}
|
|
|
|
{%- block choice_widget -%}
|
|
{% if expanded %}
|
|
{{- block('choice_widget_expanded') -}}
|
|
{% else %}
|
|
{{- block('choice_widget_collapsed') -}}
|
|
{% endif %}
|
|
{%- endblock choice_widget -%}
|
|
|
|
{%- block choice_widget_expanded -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{%- for child in form %}
|
|
{{- form_widget(child) -}}
|
|
{{- form_label(child, null, {translation_domain: choice_translation_domain}) -}}
|
|
{% endfor -%}
|
|
</div>
|
|
{%- endblock choice_widget_expanded -%}
|
|
|
|
{%- block choice_widget_collapsed -%}
|
|
{%- if required and placeholder is none and not placeholder_in_choices and not multiple and (attr.size is not defined or attr.size <= 1) -%}
|
|
{% set required = false %}
|
|
{%- endif -%}
|
|
<select {{ block('widget_attributes') }}{% if multiple %} multiple=\"multiple\"{% endif %}>
|
|
{%- if placeholder is not none -%}
|
|
<option value=\"\"{% if required and value is empty %} selected=\"selected\"{% endif %}>{{ placeholder != '' ? (translation_domain is same as(false) ? placeholder : placeholder|trans({}, translation_domain)) }}</option>
|
|
{%- endif -%}
|
|
{%- if preferred_choices|length > 0 -%}
|
|
{% set options = preferred_choices %}
|
|
{{- block('choice_widget_options') -}}
|
|
{%- if choices|length > 0 and separator is not none -%}
|
|
<option disabled=\"disabled\">{{ separator }}</option>
|
|
{%- endif -%}
|
|
{%- endif -%}
|
|
{%- set options = choices -%}
|
|
{{- block('choice_widget_options') -}}
|
|
</select>
|
|
{%- endblock choice_widget_collapsed -%}
|
|
|
|
{%- block choice_widget_options -%}
|
|
{% for group_label, choice in options %}
|
|
{%- if choice is iterable -%}
|
|
<optgroup label=\"{{ choice_translation_domain is same as(false) ? group_label : group_label|trans({}, choice_translation_domain) }}\">
|
|
{% set options = choice %}
|
|
{{- block('choice_widget_options') -}}
|
|
</optgroup>
|
|
{%- else -%}
|
|
<option value=\"{{ choice.value }}\"{% if choice.attr %}{% with { attr: choice.attr } %}{{ block('attributes') }}{% endwith %}{% endif %}{% if choice is selectedchoice(value) %} selected=\"selected\"{% endif %}>{{ choice_translation_domain is same as(false) ? choice.label : choice.label|trans({}, choice_translation_domain) }}</option>
|
|
{%- endif -%}
|
|
{% endfor %}
|
|
{%- endblock choice_widget_options -%}
|
|
|
|
{%- block checkbox_widget -%}
|
|
<input type=\"checkbox\" {{ block('widget_attributes') }}{% if value is defined %} value=\"{{ value }}\"{% endif %}{% if checked %} checked=\"checked\"{% endif %} />
|
|
{%- endblock checkbox_widget -%}
|
|
|
|
{%- block radio_widget -%}
|
|
<input type=\"radio\" {{ block('widget_attributes') }}{% if value is defined %} value=\"{{ value }}\"{% endif %}{% if checked %} checked=\"checked\"{% endif %} />
|
|
{%- endblock radio_widget -%}
|
|
|
|
{%- block datetime_widget -%}
|
|
{% if widget == 'single_text' %}
|
|
{{- block('form_widget_simple') -}}
|
|
{%- else -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{{- form_errors(form.date) -}}
|
|
{{- form_errors(form.time) -}}
|
|
{{- form_widget(form.date) -}}
|
|
{{- form_widget(form.time) -}}
|
|
</div>
|
|
{%- endif -%}
|
|
{%- endblock datetime_widget -%}
|
|
|
|
{%- block date_widget -%}
|
|
{%- if widget == 'single_text' -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- else -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{{- date_pattern|replace({
|
|
'{{ year }}': form_widget(form.year),
|
|
'{{ month }}': form_widget(form.month),
|
|
'{{ day }}': form_widget(form.day),
|
|
})|raw -}}
|
|
</div>
|
|
{%- endif -%}
|
|
{%- endblock date_widget -%}
|
|
|
|
{%- block time_widget -%}
|
|
{%- if widget == 'single_text' -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- else -%}
|
|
{%- set vars = widget == 'text' ? { 'attr': { 'size': 1 }} : {} -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{{ form_widget(form.hour, vars) }}{% if with_minutes %}:{{ form_widget(form.minute, vars) }}{% endif %}{% if with_seconds %}:{{ form_widget(form.second, vars) }}{% endif %}
|
|
</div>
|
|
{%- endif -%}
|
|
{%- endblock time_widget -%}
|
|
|
|
{%- block dateinterval_widget -%}
|
|
{%- if widget == 'single_text' -%}
|
|
{{- block('form_widget_simple') -}}
|
|
{%- else -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{{- form_errors(form) -}}
|
|
<table class=\"{{ table_class|default('') }}\" role=\"presentation\">
|
|
<thead>
|
|
<tr>
|
|
{%- if with_years %}<th>{{ form_label(form.years) }}</th>{% endif -%}
|
|
{%- if with_months %}<th>{{ form_label(form.months) }}</th>{% endif -%}
|
|
{%- if with_weeks %}<th>{{ form_label(form.weeks) }}</th>{% endif -%}
|
|
{%- if with_days %}<th>{{ form_label(form.days) }}</th>{% endif -%}
|
|
{%- if with_hours %}<th>{{ form_label(form.hours) }}</th>{% endif -%}
|
|
{%- if with_minutes %}<th>{{ form_label(form.minutes) }}</th>{% endif -%}
|
|
{%- if with_seconds %}<th>{{ form_label(form.seconds) }}</th>{% endif -%}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
{%- if with_years %}<td>{{ form_widget(form.years) }}</td>{% endif -%}
|
|
{%- if with_months %}<td>{{ form_widget(form.months) }}</td>{% endif -%}
|
|
{%- if with_weeks %}<td>{{ form_widget(form.weeks) }}</td>{% endif -%}
|
|
{%- if with_days %}<td>{{ form_widget(form.days) }}</td>{% endif -%}
|
|
{%- if with_hours %}<td>{{ form_widget(form.hours) }}</td>{% endif -%}
|
|
{%- if with_minutes %}<td>{{ form_widget(form.minutes) }}</td>{% endif -%}
|
|
{%- if with_seconds %}<td>{{ form_widget(form.seconds) }}</td>{% endif -%}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{%- if with_invert %}{{ form_widget(form.invert) }}{% endif -%}
|
|
</div>
|
|
{%- endif -%}
|
|
{%- endblock dateinterval_widget -%}
|
|
|
|
{%- block number_widget -%}
|
|
{# type=\"number\" doesn't work with floats #}
|
|
{%- set type = type|default('text') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock number_widget -%}
|
|
|
|
{%- block integer_widget -%}
|
|
{%- set type = type|default('number') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock integer_widget -%}
|
|
|
|
{%- block money_widget -%}
|
|
{{ money_pattern|form_encode_currency(block('form_widget_simple')) }}
|
|
{%- endblock money_widget -%}
|
|
|
|
{%- block url_widget -%}
|
|
{%- set type = type|default('url') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock url_widget -%}
|
|
|
|
{%- block search_widget -%}
|
|
{%- set type = type|default('search') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock search_widget -%}
|
|
|
|
{%- block percent_widget -%}
|
|
{%- set type = type|default('text') -%}
|
|
{{ block('form_widget_simple') }} %
|
|
{%- endblock percent_widget -%}
|
|
|
|
{%- block password_widget -%}
|
|
{%- set type = type|default('password') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock password_widget -%}
|
|
|
|
{%- block hidden_widget -%}
|
|
{%- set type = type|default('hidden') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock hidden_widget -%}
|
|
|
|
{%- block email_widget -%}
|
|
{%- set type = type|default('email') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock email_widget -%}
|
|
|
|
{%- block range_widget -%}
|
|
{% set type = type|default('range') %}
|
|
{{- block('form_widget_simple') -}}
|
|
{%- endblock range_widget %}
|
|
|
|
{%- block button_widget -%}
|
|
{%- if label is empty -%}
|
|
{%- if label_format is not empty -%}
|
|
{% set label = label_format|replace({
|
|
'%name%': name,
|
|
'%id%': id,
|
|
}) %}
|
|
{%- elseif label is same as(false) -%}
|
|
{% set translation_domain = false %}
|
|
{%- else -%}
|
|
{% set label = name|humanize %}
|
|
{%- endif -%}
|
|
{%- endif -%}
|
|
<button type=\"{{ type|default('button') }}\" {{ block('button_attributes') }}>{{ translation_domain is same as(false) ? label : label|trans({}, translation_domain) }}</button>
|
|
{%- endblock button_widget -%}
|
|
|
|
{%- block submit_widget -%}
|
|
{%- set type = type|default('submit') -%}
|
|
{{ block('button_widget') }}
|
|
{%- endblock submit_widget -%}
|
|
|
|
{%- block reset_widget -%}
|
|
{%- set type = type|default('reset') -%}
|
|
{{ block('button_widget') }}
|
|
{%- endblock reset_widget -%}
|
|
|
|
{%- block tel_widget -%}
|
|
{%- set type = type|default('tel') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock tel_widget -%}
|
|
|
|
{%- block color_widget -%}
|
|
{%- set type = type|default('color') -%}
|
|
{{ block('form_widget_simple') }}
|
|
{%- endblock color_widget -%}
|
|
|
|
{# Labels #}
|
|
|
|
{%- block form_label -%}
|
|
{% if label is not same as(false) -%}
|
|
{% if not compound -%}
|
|
{% set label_attr = label_attr|merge({'for': id}) %}
|
|
{%- endif -%}
|
|
{% if required -%}
|
|
{% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' required')|trim}) %}
|
|
{%- endif -%}
|
|
{% if 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 -%}
|
|
<{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %}>
|
|
{%- if translation_domain is same as(false) -%}
|
|
{{- label -}}
|
|
{%- else -%}
|
|
{{- label|trans({}, translation_domain) -}}
|
|
{%- endif -%}
|
|
</{{ element|default('label') }}>
|
|
{%- endif -%}
|
|
{%- endblock form_label -%}
|
|
|
|
{%- block button_label -%}{%- endblock -%}
|
|
|
|
{# Rows #}
|
|
|
|
{%- block repeated_row -%}
|
|
{#
|
|
No need to render the errors here, as all errors are mapped
|
|
to the first child (see RepeatedTypeValidatorExtension).
|
|
#}
|
|
{{- block('form_rows') -}}
|
|
{%- endblock repeated_row -%}
|
|
|
|
{%- block form_row -%}
|
|
<div>
|
|
{{- form_label(form) -}}
|
|
{{- form_errors(form) -}}
|
|
{{- form_widget(form) -}}
|
|
</div>
|
|
{%- endblock form_row -%}
|
|
|
|
{%- block button_row -%}
|
|
<div>
|
|
{{- form_widget(form) -}}
|
|
</div>
|
|
{%- endblock button_row -%}
|
|
|
|
{%- block hidden_row -%}
|
|
{{ form_widget(form) }}
|
|
{%- endblock hidden_row -%}
|
|
|
|
{# Misc #}
|
|
|
|
{%- block form -%}
|
|
{{ form_start(form) }}
|
|
{{- form_widget(form) -}}
|
|
{{ form_end(form) }}
|
|
{%- endblock form -%}
|
|
|
|
{%- block form_start -%}
|
|
{%- do form.setMethodRendered() -%}
|
|
{% set method = method|upper %}
|
|
{%- if method in [\"GET\", \"POST\"] -%}
|
|
{% set form_method = method %}
|
|
{%- else -%}
|
|
{% set form_method = \"POST\" %}
|
|
{%- endif -%}
|
|
<form{% if name != '' %} name=\"{{ name }}\"{% endif %} method=\"{{ form_method|lower }}\"{% if action != '' %} action=\"{{ action }}\"{% endif %}{{ block('attributes') }}{% if multipart %} enctype=\"multipart/form-data\"{% endif %}>
|
|
{%- if form_method != method -%}
|
|
<input type=\"hidden\" name=\"_method\" value=\"{{ method }}\" />
|
|
{%- endif -%}
|
|
{%- endblock form_start -%}
|
|
|
|
{%- block form_end -%}
|
|
{%- if not render_rest is defined or render_rest -%}
|
|
{{ form_rest(form) }}
|
|
{%- endif -%}
|
|
</form>
|
|
{%- endblock form_end -%}
|
|
|
|
{%- block form_errors -%}
|
|
{%- if errors|length > 0 -%}
|
|
<ul>
|
|
{%- for error in errors -%}
|
|
<li>{{ error.message }}</li>
|
|
{%- endfor -%}
|
|
</ul>
|
|
{%- endif -%}
|
|
{%- endblock form_errors -%}
|
|
|
|
{%- block form_rest -%}
|
|
{% for child in form -%}
|
|
{% if not child.rendered %}
|
|
{{- form_row(child) -}}
|
|
{% endif %}
|
|
{%- endfor -%}
|
|
|
|
{% if not form.methodRendered and form is rootform %}
|
|
{%- do form.setMethodRendered() -%}
|
|
{% set method = method|upper %}
|
|
{%- if method in [\"GET\", \"POST\"] -%}
|
|
{% set form_method = method %}
|
|
{%- else -%}
|
|
{% set form_method = \"POST\" %}
|
|
{%- endif -%}
|
|
|
|
{%- if form_method != method -%}
|
|
<input type=\"hidden\" name=\"_method\" value=\"{{ method }}\" />
|
|
{%- endif -%}
|
|
{% endif -%}
|
|
{% endblock form_rest %}
|
|
|
|
{# Support #}
|
|
|
|
{%- block form_rows -%}
|
|
{% for child in form %}
|
|
{{- form_row(child) -}}
|
|
{% endfor %}
|
|
{%- endblock form_rows -%}
|
|
|
|
{%- block widget_attributes -%}
|
|
id=\"{{ id }}\" name=\"{{ full_name }}\"
|
|
{%- if disabled %} disabled=\"disabled\"{% endif -%}
|
|
{%- if required %} required=\"required\"{% endif -%}
|
|
{{ block('attributes') }}
|
|
{%- endblock widget_attributes -%}
|
|
|
|
{%- block widget_container_attributes -%}
|
|
{%- if id is not empty %}id=\"{{ id }}\"{% endif -%}
|
|
{{ block('attributes') }}
|
|
{%- endblock widget_container_attributes -%}
|
|
|
|
{%- block button_attributes -%}
|
|
id=\"{{ id }}\" name=\"{{ full_name }}\"{% if disabled %} disabled=\"disabled\"{% endif -%}
|
|
{{ block('attributes') }}
|
|
{%- endblock button_attributes -%}
|
|
|
|
{% block attributes -%}
|
|
{%- for attrname, attrvalue in attr -%}
|
|
{{- \" \" -}}
|
|
{%- if attrname in ['placeholder', 'title'] -%}
|
|
{{- attrname }}=\"{{ translation_domain is same as(false) ? attrvalue : attrvalue|trans({}, translation_domain) }}\"
|
|
{%- elseif attrvalue is same as(true) -%}
|
|
{{- attrname }}=\"{{ attrname }}\"
|
|
{%- elseif attrvalue is not same as(false) -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
{%- endblock attributes -%}
|
|
", "form_div_layout.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig");
|
|
}
|
|
}
|