2071 lines
125 KiB
PHP
2071 lines
125 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;
|
|
|
|
/* @PrestaShop/Admin/TwigTemplateForm/form_div_layout.html.twig */
|
|
class __TwigTemplate_595067b6447724d81cd5278aeadba52bf9379cf0e5b30411c58ac67a48d53320 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'],
|
|
'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'],
|
|
'button_widget' => [$this, 'block_button_widget'],
|
|
'submit_widget' => [$this, 'block_submit_widget'],
|
|
'reset_widget' => [$this, 'block_reset_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_enctype' => [$this, 'block_form_enctype'],
|
|
'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", "@PrestaShop/Admin/TwigTemplateForm/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", "@PrestaShop/Admin/TwigTemplateForm/form_div_layout.html.twig"));
|
|
|
|
// line 27
|
|
$this->displayBlock('form_widget', $context, $blocks);
|
|
// line 35
|
|
$this->displayBlock('form_widget_simple', $context, $blocks);
|
|
// line 41
|
|
$this->displayBlock('form_widget_compound', $context, $blocks);
|
|
// line 51
|
|
$this->displayBlock('collection_widget', $context, $blocks);
|
|
// line 58
|
|
$this->displayBlock('textarea_widget', $context, $blocks);
|
|
// line 63
|
|
$this->displayBlock('choice_widget', $context, $blocks);
|
|
// line 71
|
|
$this->displayBlock('choice_widget_expanded', $context, $blocks);
|
|
// line 80
|
|
$this->displayBlock('choice_widget_collapsed', $context, $blocks);
|
|
// line 101
|
|
$this->displayBlock('choice_widget_options', $context, $blocks);
|
|
// line 114
|
|
$this->displayBlock('checkbox_widget', $context, $blocks);
|
|
// line 120
|
|
$this->displayBlock('radio_widget', $context, $blocks);
|
|
// line 125
|
|
$this->displayBlock('datetime_widget', $context, $blocks);
|
|
// line 138
|
|
$this->displayBlock('date_widget', $context, $blocks);
|
|
// line 152
|
|
$this->displayBlock('time_widget', $context, $blocks);
|
|
// line 163
|
|
$this->displayBlock('number_widget', $context, $blocks);
|
|
// line 169
|
|
$this->displayBlock('integer_widget', $context, $blocks);
|
|
// line 174
|
|
$this->displayBlock('money_widget', $context, $blocks);
|
|
// line 178
|
|
$this->displayBlock('url_widget', $context, $blocks);
|
|
// line 183
|
|
$this->displayBlock('search_widget', $context, $blocks);
|
|
// line 188
|
|
$this->displayBlock('percent_widget', $context, $blocks);
|
|
// line 193
|
|
$this->displayBlock('password_widget', $context, $blocks);
|
|
// line 198
|
|
$this->displayBlock('hidden_widget', $context, $blocks);
|
|
// line 203
|
|
$this->displayBlock('email_widget', $context, $blocks);
|
|
// line 208
|
|
$this->displayBlock('button_widget', $context, $blocks);
|
|
// line 222
|
|
$this->displayBlock('submit_widget', $context, $blocks);
|
|
// line 227
|
|
$this->displayBlock('reset_widget', $context, $blocks);
|
|
// line 234
|
|
$this->displayBlock('form_label', $context, $blocks);
|
|
// line 269
|
|
$this->displayBlock('button_label', $context, $blocks);
|
|
// line 273
|
|
$this->displayBlock('repeated_row', $context, $blocks);
|
|
// line 281
|
|
$this->displayBlock('form_row', $context, $blocks);
|
|
// line 289
|
|
$this->displayBlock('button_row', $context, $blocks);
|
|
// line 295
|
|
$this->displayBlock('hidden_row', $context, $blocks);
|
|
// line 301
|
|
$this->displayBlock('form', $context, $blocks);
|
|
// line 307
|
|
$this->displayBlock('form_start', $context, $blocks);
|
|
// line 321
|
|
$this->displayBlock('form_end', $context, $blocks);
|
|
// line 328
|
|
$this->displayBlock('form_enctype', $context, $blocks);
|
|
// line 332
|
|
$this->displayBlock('form_errors', $context, $blocks);
|
|
// line 342
|
|
$this->displayBlock('form_rest', $context, $blocks);
|
|
// line 353
|
|
echo "
|
|
";
|
|
// line 356
|
|
$this->displayBlock('form_rows', $context, $blocks);
|
|
// line 362
|
|
$this->displayBlock('widget_attributes', $context, $blocks);
|
|
// line 379
|
|
$this->displayBlock('widget_container_attributes', $context, $blocks);
|
|
// line 393
|
|
$this->displayBlock('button_attributes', $context, $blocks);
|
|
// line 407
|
|
$this->displayBlock('attributes', $context, $blocks);
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 27
|
|
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 28
|
|
if (($context["compound"] ?? $this->getContext($context, "compound"))) {
|
|
// line 29
|
|
$this->displayBlock("form_widget_compound", $context, $blocks);
|
|
} else {
|
|
// line 31
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 35
|
|
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 36
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "text")) : ("text"));
|
|
// line 37
|
|
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 "/>
|
|
";
|
|
// line 38
|
|
$this->loadTemplate("@Twig/form_max_length.html.twig", "@PrestaShop/Admin/TwigTemplateForm/form_div_layout.html.twig", 38)->display(twig_array_merge($context, ["attr" => ($context["attr"] ?? $this->getContext($context, "attr"))]));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 41
|
|
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 42
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 43
|
|
if (twig_test_empty($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "parent", []))) {
|
|
// line 44
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'errors');
|
|
}
|
|
// line 46
|
|
$this->displayBlock("form_rows", $context, $blocks);
|
|
// line 47
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'rest');
|
|
// line 48
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 51
|
|
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 52
|
|
if ((isset($context["prototype"]) || array_key_exists("prototype", $context))) {
|
|
// line 53
|
|
$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 55
|
|
$this->displayBlock("form_widget", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 58
|
|
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 59
|
|
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>
|
|
";
|
|
// line 60
|
|
$this->loadTemplate("@Twig/form_max_length.html.twig", "@PrestaShop/Admin/TwigTemplateForm/form_div_layout.html.twig", 60)->display(twig_array_merge($context, ["attr" => ($context["attr"] ?? $this->getContext($context, "attr"))]));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 63
|
|
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 64
|
|
if (($context["expanded"] ?? $this->getContext($context, "expanded"))) {
|
|
// line 65
|
|
$this->displayBlock("choice_widget_expanded", $context, $blocks);
|
|
} else {
|
|
// line 67
|
|
$this->displayBlock("choice_widget_collapsed", $context, $blocks);
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 71
|
|
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 72
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 73
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["form"] ?? $this->getContext($context, "form")));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
|
// line 74
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget');
|
|
// line 75
|
|
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 77
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 80
|
|
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 81
|
|
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")))) {
|
|
// line 82
|
|
$context["required"] = false;
|
|
}
|
|
// line 84
|
|
echo "<select ";
|
|
$this->displayBlock("widget_attributes", $context, $blocks);
|
|
if (($context["multiple"] ?? $this->getContext($context, "multiple"))) {
|
|
echo " multiple=\"multiple\"";
|
|
}
|
|
echo ">";
|
|
// line 85
|
|
if ( !(null === ($context["placeholder"] ?? $this->getContext($context, "placeholder")))) {
|
|
// line 86
|
|
echo "<option
|
|
value=\"\"";
|
|
// line 87
|
|
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["placeholder"] ?? $this->getContext($context, "placeholder"))) : ("")), "html", null, true);
|
|
echo "</option>";
|
|
}
|
|
// line 89
|
|
if ((twig_length_filter($this->env, ($context["preferred_choices"] ?? $this->getContext($context, "preferred_choices"))) > 0)) {
|
|
// line 90
|
|
$context["options"] = ($context["preferred_choices"] ?? $this->getContext($context, "preferred_choices"));
|
|
// line 91
|
|
$this->displayBlock("choice_widget_options", $context, $blocks);
|
|
// line 92
|
|
if (((twig_length_filter($this->env, ($context["choices"] ?? $this->getContext($context, "choices"))) > 0) && !(null === ($context["separator"] ?? $this->getContext($context, "separator"))))) {
|
|
// line 93
|
|
echo "<option disabled=\"disabled\">";
|
|
echo twig_escape_filter($this->env, ($context["separator"] ?? $this->getContext($context, "separator")), "html", null, true);
|
|
echo "</option>";
|
|
}
|
|
}
|
|
// line 96
|
|
$context["options"] = ($context["choices"] ?? $this->getContext($context, "choices"));
|
|
// line 97
|
|
$this->displayBlock("choice_widget_options", $context, $blocks);
|
|
// line 98
|
|
echo "</select>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 101
|
|
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 102
|
|
$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 103
|
|
if (twig_test_iterable($context["choice"])) {
|
|
// line 104
|
|
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 105
|
|
$context["options"] = $context["choice"];
|
|
// line 106
|
|
$this->displayBlock("choice_widget_options", $context, $blocks);
|
|
// line 107
|
|
echo "</optgroup>";
|
|
} else {
|
|
// line 109
|
|
echo "<option value=\"";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["choice"], "value", []), "html", null, true);
|
|
echo "\"";
|
|
if ($this->getAttribute($context["choice"], "attr", [])) {
|
|
echo " ";
|
|
$context["attr"] = $this->getAttribute($context["choice"], "attr", []);
|
|
$this->displayBlock("attributes", $context, $blocks);
|
|
}
|
|
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 114
|
|
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 115
|
|
$context["switch"] = (((isset($context["switch"]) || array_key_exists("switch", $context))) ? (_twig_default_filter(($context["switch"] ?? $this->getContext($context, "switch")), "")) : (""));
|
|
// line 116
|
|
echo "<input type=\"checkbox\"
|
|
";
|
|
// line 117
|
|
if (($context["switch"] ?? $this->getContext($context, "switch"))) {
|
|
echo "data-toggle=\"switch\"";
|
|
}
|
|
echo " ";
|
|
if (($context["switch"] ?? $this->getContext($context, "switch"))) {
|
|
echo "class=\"";
|
|
echo twig_escape_filter($this->env, ($context["switch"] ?? $this->getContext($context, "switch")), "html", null, true);
|
|
echo "\"";
|
|
}
|
|
echo " ";
|
|
$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 120
|
|
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 121
|
|
echo "<input
|
|
type=\"radio\" ";
|
|
// line 122
|
|
$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 125
|
|
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 126
|
|
if ((($context["widget"] ?? $this->getContext($context, "widget")) == "single_text")) {
|
|
// line 127
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 129
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 130
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "date", []), 'errors');
|
|
// line 131
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "time", []), 'errors');
|
|
// line 132
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "date", []), 'widget');
|
|
// line 133
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "time", []), 'widget');
|
|
// line 134
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 138
|
|
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 139
|
|
if ((($context["widget"] ?? $this->getContext($context, "widget")) == "single_text")) {
|
|
// line 140
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 142
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">";
|
|
// line 143
|
|
echo twig_replace_filter(($context["date_pattern"] ?? $this->getContext($context, "date_pattern")), ["{{ year }}" => // line 144
|
|
$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "year", []), 'widget'), "{{ month }}" => // line 145
|
|
$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "month", []), 'widget'), "{{ day }}" => // line 146
|
|
$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "day", []), 'widget')]);
|
|
// line 148
|
|
echo "</div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 152
|
|
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 153
|
|
if ((($context["widget"] ?? $this->getContext($context, "widget")) == "single_text")) {
|
|
// line 154
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
} else {
|
|
// line 156
|
|
$context["vars"] = (((($context["widget"] ?? $this->getContext($context, "widget")) == "text")) ? (["attr" => ["size" => 1]]) : ([]));
|
|
// line 157
|
|
echo "<div ";
|
|
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
|
echo ">
|
|
";
|
|
// line 158
|
|
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 159
|
|
echo " </div>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 163
|
|
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 165
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "text")) : ("text"));
|
|
// line 166
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 169
|
|
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 170
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "number")) : ("number"));
|
|
// 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_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 175
|
|
echo twig_replace_filter(($context["money_pattern"] ?? $this->getContext($context, "money_pattern")), ["{{ widget }}" => $this->renderBlock("form_widget_simple", $context, $blocks)]);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 178
|
|
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 179
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "url")) : ("url"));
|
|
// line 180
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 183
|
|
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 184
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "search")) : ("search"));
|
|
// 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_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 189
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "text")) : ("text"));
|
|
// line 190
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
echo " %";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 193
|
|
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 194
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "password")) : ("password"));
|
|
// line 195
|
|
$this->displayBlock("form_widget_simple", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 198
|
|
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 199
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "hidden")) : ("hidden"));
|
|
// 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_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 204
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "email")) : ("email"));
|
|
// 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_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 209
|
|
if (twig_test_empty(($context["label"] ?? $this->getContext($context, "label")))) {
|
|
// line 210
|
|
if ( !twig_test_empty(($context["label_format"] ?? $this->getContext($context, "label_format")))) {
|
|
// line 211
|
|
$context["label"] = twig_replace_filter(($context["label_format"] ?? $this->getContext($context, "label_format")), ["%name%" => // line 212
|
|
($context["name"] ?? $this->getContext($context, "name")), "%id%" => // line 213
|
|
($context["id"] ?? $this->getContext($context, "id"))]);
|
|
} else {
|
|
// line 216
|
|
$context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? $this->getContext($context, "name")));
|
|
}
|
|
}
|
|
// line 219
|
|
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["label"] ?? $this->getContext($context, "label")), "html", null, true);
|
|
echo "</button>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 222
|
|
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 223
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "submit")) : ("submit"));
|
|
// line 224
|
|
$this->displayBlock("button_widget", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 227
|
|
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 228
|
|
$context["type"] = (((isset($context["type"]) || array_key_exists("type", $context))) ? (_twig_default_filter(($context["type"] ?? $this->getContext($context, "type")), "reset")) : ("reset"));
|
|
// line 229
|
|
$this->displayBlock("button_widget", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 234
|
|
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 235
|
|
if ( !(($context["label"] ?? $this->getContext($context, "label")) === false)) {
|
|
// line 236
|
|
if ( !($context["compound"] ?? $this->getContext($context, "compound"))) {
|
|
// line 237
|
|
$context["label_attr"] = twig_array_merge(($context["label_attr"] ?? $this->getContext($context, "label_attr")), ["for" => ($context["id"] ?? $this->getContext($context, "id"))]);
|
|
}
|
|
// line 239
|
|
echo " ";
|
|
if (($context["required"] ?? $this->getContext($context, "required"))) {
|
|
// line 240
|
|
$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 242
|
|
echo " ";
|
|
if (twig_test_empty(($context["label"] ?? $this->getContext($context, "label")))) {
|
|
// line 243
|
|
if ( !twig_test_empty(($context["label_format"] ?? $this->getContext($context, "label_format")))) {
|
|
// line 244
|
|
$context["label"] = twig_replace_filter(($context["label_format"] ?? $this->getContext($context, "label_format")), ["%name%" => // line 245
|
|
($context["name"] ?? $this->getContext($context, "name")), "%id%" => // line 246
|
|
($context["id"] ?? $this->getContext($context, "id"))]);
|
|
} else {
|
|
// line 249
|
|
$context["label"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize(($context["name"] ?? $this->getContext($context, "name")));
|
|
}
|
|
}
|
|
// line 252
|
|
echo "<label";
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["label_attr"] ?? $this->getContext($context, "label_attr")));
|
|
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
|
echo " ";
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
|
|
echo "\"";
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
echo ">";
|
|
echo (((($context["translation_domain"] ?? $this->getContext($context, "translation_domain")) === false)) ? (($context["label"] ?? $this->getContext($context, "label"))) : (($context["label"] ?? $this->getContext($context, "label"))));
|
|
echo "
|
|
";
|
|
// line 253
|
|
if ($this->getAttribute(($context["label_attr"] ?? null), "tooltip", [], "array", true, true)) {
|
|
// line 254
|
|
echo " ";
|
|
$context["placement"] = (($this->getAttribute(($context["label_attr"] ?? null), "tooltip_placement", [], "array", true, true)) ? ($this->getAttribute(($context["label_attr"] ?? $this->getContext($context, "label_attr")), "tooltip_placement", [], "array")) : ("top"));
|
|
// line 255
|
|
echo " <i class=\"icon-question\" data-toggle=\"pstooltip\" data-placement=\"";
|
|
echo twig_escape_filter($this->env, ($context["placement"] ?? $this->getContext($context, "placement")), "html", null, true);
|
|
echo "\"
|
|
title=\"";
|
|
// line 256
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["label_attr"] ?? $this->getContext($context, "label_attr")), "tooltip", [], "array"), "html", null, true);
|
|
echo "\"></i>
|
|
";
|
|
}
|
|
// line 258
|
|
echo "
|
|
";
|
|
// line 259
|
|
if ($this->getAttribute(($context["label_attr"] ?? null), "popover", [], "array", true, true)) {
|
|
// line 260
|
|
echo " ";
|
|
$context["placement"] = (($this->getAttribute(($context["label_attr"] ?? null), "popover_placement", [], "array", true, true)) ? ($this->getAttribute(($context["label_attr"] ?? $this->getContext($context, "label_attr")), "popover_placement", [], "array")) : ("top"));
|
|
// line 261
|
|
echo " <span class=\"help-box\" data-toggle=\"popover\" data-placement=\"";
|
|
echo twig_escape_filter($this->env, ($context["placement"] ?? $this->getContext($context, "placement")), "html", null, true);
|
|
echo "\"
|
|
data-content=\"";
|
|
// line 262
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["label_attr"] ?? $this->getContext($context, "label_attr")), "popover", [], "array"), "html", null, true);
|
|
echo "\"></span>
|
|
";
|
|
}
|
|
// line 264
|
|
echo " </label>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 269
|
|
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 273
|
|
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 278
|
|
$this->displayBlock("form_rows", $context, $blocks);
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 281
|
|
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 282
|
|
echo "<div>";
|
|
// line 283
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'label');
|
|
// line 284
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'errors');
|
|
// line 285
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
|
|
// line 286
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 289
|
|
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 290
|
|
echo "<div>";
|
|
// line 291
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
|
|
// line 292
|
|
echo "</div>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 295
|
|
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 296
|
|
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 301
|
|
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 302
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? $this->getContext($context, "form")), 'form_start');
|
|
// line 303
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
|
|
// line 304
|
|
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 307
|
|
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 308
|
|
$context["method"] = twig_upper_filter($this->env, ($context["method"] ?? $this->getContext($context, "method")));
|
|
// line 309
|
|
if (twig_in_filter(($context["method"] ?? $this->getContext($context, "method")), [0 => "GET", 1 => "POST"])) {
|
|
// line 310
|
|
$context["form_method"] = ($context["method"] ?? $this->getContext($context, "method"));
|
|
} else {
|
|
// line 312
|
|
$context["form_method"] = "POST";
|
|
}
|
|
// line 314
|
|
echo "<form name=\"";
|
|
echo twig_escape_filter($this->env, ($context["name"] ?? $this->getContext($context, "name")), "html", null, true);
|
|
echo "\"
|
|
method=\"";
|
|
// line 315
|
|
echo twig_escape_filter($this->env, twig_lower_filter($this->env, ($context["form_method"] ?? $this->getContext($context, "form_method"))), "html", null, true);
|
|
echo "\" action=\"";
|
|
echo twig_escape_filter($this->env, ($context["action"] ?? $this->getContext($context, "action")), "html", null, true);
|
|
echo "\"";
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["attr"] ?? $this->getContext($context, "attr")));
|
|
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
|
echo " ";
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
|
|
echo "\"";
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
if (($context["multipart"] ?? $this->getContext($context, "multipart"))) {
|
|
echo " enctype=\"multipart/form-data\"";
|
|
}
|
|
echo ">";
|
|
// line 316
|
|
if ((($context["form_method"] ?? $this->getContext($context, "form_method")) != ($context["method"] ?? $this->getContext($context, "method")))) {
|
|
// line 317
|
|
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 321
|
|
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 322
|
|
if (( !(isset($context["render_rest"]) || array_key_exists("render_rest", $context)) || ($context["render_rest"] ?? $this->getContext($context, "render_rest")))) {
|
|
// line 323
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'rest');
|
|
}
|
|
// line 325
|
|
echo "</form>";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 328
|
|
public function block_form_enctype($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_enctype"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_enctype"));
|
|
|
|
// line 329
|
|
if (($context["multipart"] ?? $this->getContext($context, "multipart"))) {
|
|
echo "enctype=\"multipart/form-data\"";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 332
|
|
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 333
|
|
if ((twig_length_filter($this->env, ($context["errors"] ?? $this->getContext($context, "errors"))) > 0)) {
|
|
// line 334
|
|
echo "<ul>";
|
|
// line 335
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["errors"] ?? $this->getContext($context, "errors")));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
|
|
// line 336
|
|
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 338
|
|
echo "</ul>";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 342
|
|
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 343
|
|
$context["ps"] = $this->loadTemplate("@PrestaShop/Admin/macros.html.twig", "@PrestaShop/Admin/TwigTemplateForm/form_div_layout.html.twig", 343);
|
|
// line 344
|
|
echo "
|
|
";
|
|
// line 345
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["form"] ?? $this->getContext($context, "form")));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
|
// line 346
|
|
if ( !$this->getAttribute($context["child"], "rendered", [])) {
|
|
// line 347
|
|
echo $context["ps"]->getform_group_row($context["child"], ["attr" => $this->getAttribute($this->getAttribute($context["child"], "vars", []), "attr", [])], ["label" => $this->getAttribute($this->getAttribute( // line 348
|
|
$context["child"], "vars", []), "label", [])]);
|
|
}
|
|
}
|
|
$_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 356
|
|
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 357
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["form"] ?? $this->getContext($context, "form")));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
|
// line 358
|
|
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 362
|
|
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 363
|
|
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 364
|
|
if (((((isset($context["read_only"]) || array_key_exists("read_only", $context))) ? (_twig_default_filter(($context["read_only"] ?? $this->getContext($context, "read_only")), false)) : (false)) && !$this->getAttribute(($context["attr"] ?? null), "readonly", [], "any", true, true))) {
|
|
echo " readonly=\"readonly\"";
|
|
}
|
|
// line 365
|
|
if (($context["disabled"] ?? $this->getContext($context, "disabled"))) {
|
|
echo " disabled=\"disabled\"";
|
|
}
|
|
// line 366
|
|
if (($context["required"] ?? $this->getContext($context, "required"))) {
|
|
echo " required=\"required\"";
|
|
}
|
|
// line 367
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["attr"] ?? $this->getContext($context, "attr")));
|
|
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
|
// line 368
|
|
echo " ";
|
|
// line 369
|
|
if (twig_in_filter($context["attrname"], [0 => "placeholder", 1 => "title"])) {
|
|
// line 370
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
|
|
echo "\"";
|
|
} elseif (( // line 371
|
|
$context["attrvalue"] === true)) {
|
|
// line 372
|
|
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 373
|
|
$context["attrvalue"] === false)) {
|
|
// line 374
|
|
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);
|
|
|
|
}
|
|
|
|
// line 379
|
|
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 380
|
|
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 381
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["attr"] ?? $this->getContext($context, "attr")));
|
|
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
|
// line 382
|
|
echo " ";
|
|
// line 383
|
|
if (twig_in_filter($context["attrname"], [0 => "placeholder", 1 => "title"])) {
|
|
// line 384
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
|
|
echo "\"";
|
|
} elseif (( // line 385
|
|
$context["attrvalue"] === true)) {
|
|
// line 386
|
|
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 387
|
|
$context["attrvalue"] === false)) {
|
|
// line 388
|
|
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);
|
|
|
|
}
|
|
|
|
// line 393
|
|
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 394
|
|
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 395
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["attr"] ?? $this->getContext($context, "attr")));
|
|
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
|
// line 396
|
|
echo " ";
|
|
// line 397
|
|
if (twig_in_filter($context["attrname"], [0 => "placeholder", 1 => "title"])) {
|
|
// line 398
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
|
|
echo "\"";
|
|
} elseif (( // line 399
|
|
$context["attrvalue"] === true)) {
|
|
// line 400
|
|
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 401
|
|
$context["attrvalue"] === false)) {
|
|
// line 402
|
|
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);
|
|
|
|
}
|
|
|
|
// line 407
|
|
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 408
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["attr"] ?? $this->getContext($context, "attr")));
|
|
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
|
// line 409
|
|
echo " ";
|
|
// line 410
|
|
if (twig_in_filter($context["attrname"], [0 => "placeholder", 1 => "title"])) {
|
|
// line 411
|
|
echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
|
|
echo "=\"";
|
|
echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
|
|
echo "\"";
|
|
} elseif (( // line 412
|
|
$context["attrvalue"] === true)) {
|
|
// line 413
|
|
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 414
|
|
$context["attrvalue"] === false)) {
|
|
// line 415
|
|
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 "@PrestaShop/Admin/TwigTemplateForm/form_div_layout.html.twig";
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 1613 => 415, 1611 => 414, 1606 => 413, 1604 => 412, 1599 => 411, 1597 => 410, 1595 => 409, 1591 => 408, 1582 => 407, 1564 => 402, 1562 => 401, 1557 => 400, 1555 => 399, 1550 => 398, 1548 => 397, 1546 => 396, 1542 => 395, 1533 => 394, 1524 => 393, 1506 => 388, 1504 => 387, 1499 => 386, 1497 => 385, 1492 => 384, 1490 => 383, 1488 => 382, 1484 => 381, 1478 => 380, 1469 => 379, 1451 => 374, 1449 => 373, 1444 => 372, 1442 => 371, 1437 => 370, 1435 => 369, 1433 => 368, 1429 => 367, 1425 => 366, 1421 => 365, 1417 => 364, 1411 => 363, 1402 => 362, 1388 => 358, 1384 => 357, 1375 => 356, 1360 => 348, 1359 => 347, 1357 => 346, 1353 => 345, 1350 => 344, 1348 => 343, 1339 => 342, 1328 => 338, 1320 => 336, 1316 => 335, 1314 => 334, 1312 => 333, 1303 => 332, 1291 => 329, 1282 => 328, 1272 => 325, 1269 => 323, 1267 => 322, 1258 => 321, 1245 => 317, 1243 => 316, 1222 => 315, 1217 => 314, 1214 => 312, 1211 => 310, 1209 => 309, 1207 => 308, 1198 => 307, 1188 => 304, 1186 => 303, 1184 => 302, 1175 => 301, 1165 => 296, 1156 => 295, 1146 => 292, 1144 => 291, 1142 => 290, 1133 => 289, 1123 => 286, 1121 => 285, 1119 => 284, 1117 => 283, 1115 => 282, 1106 => 281, 1096 => 278, 1087 => 273, 1070 => 269, 1059 => 264, 1054 => 262, 1049 => 261, 1046 => 260, 1044 => 259, 1041 => 258, 1036 => 256, 1031 => 255, 1028 => 254, 1026 => 253, 1008 => 252, 1004 => 249, 1001 => 246, 1000 => 245, 999 => 244, 997 => 243, 994 => 242, 991 => 240, 988 => 239, 985 => 237, 983 => 236, 981 => 235, 972 => 234, 962 => 229, 960 => 228, 951 => 227, 941 => 224, 939 => 223, 930 => 222, 914 => 219, 910 => 216, 907 => 213, 906 => 212, 905 => 211, 903 => 210, 901 => 209, 892 => 208, 882 => 205, 880 => 204, 871 => 203, 861 => 200, 859 => 199, 850 => 198, 840 => 195, 838 => 194, 829 => 193, 818 => 190, 816 => 189, 807 => 188, 797 => 185, 795 => 184, 786 => 183, 776 => 180, 774 => 179, 765 => 178, 755 => 175, 746 => 174, 736 => 171, 734 => 170, 725 => 169, 715 => 166, 713 => 165, 704 => 163, 693 => 159, 683 => 158, 678 => 157, 676 => 156, 673 => 154, 671 => 153, 662 => 152, 651 => 148, 649 => 146, 648 => 145, 647 => 144, 646 => 143, 642 => 142, 639 => 140, 637 => 139, 628 => 138, 617 => 134, 615 => 133, 613 => 132, 611 => 131, 609 => 130, 605 => 129, 602 => 127, 600 => 126, 591 => 125, 571 => 122, 568 => 121, 559 => 120, 529 => 117, 526 => 116, 524 => 115, 515 => 114, 479 => 109, 476 => 107, 474 => 106, 472 => 105, 467 => 104, 465 => 103, 448 => 102, 439 => 101, 429 => 98, 427 => 97, 425 => 96, 419 => 93, 417 => 92, 415 => 91, 413 => 90, 411 => 89, 403 => 87, 400 => 86, 398 => 85, 391 => 84, 388 => 82, 386 => 81, 377 => 80, 367 => 77, 361 => 75, 359 => 74, 355 => 73, 351 => 72, 342 => 71, 331 => 67, 328 => 65, 326 => 64, 317 => 63, 307 => 60, 300 => 59, 291 => 58, 281 => 55, 278 => 53, 276 => 52, 267 => 51, 257 => 48, 255 => 47, 253 => 46, 250 => 44, 248 => 43, 244 => 42, 235 => 41, 225 => 38, 212 => 37, 210 => 36, 201 => 35, 190 => 31, 187 => 29, 185 => 28, 176 => 27, 166 => 407, 164 => 393, 162 => 379, 160 => 362, 158 => 356, 155 => 353, 153 => 342, 151 => 332, 149 => 328, 147 => 321, 145 => 307, 143 => 301, 141 => 295, 139 => 289, 137 => 281, 135 => 273, 133 => 269, 131 => 234, 129 => 227, 127 => 222, 125 => 208, 123 => 203, 121 => 198, 119 => 193, 117 => 188, 115 => 183, 113 => 178, 111 => 174, 109 => 169, 107 => 163, 105 => 152, 103 => 138, 101 => 125, 99 => 120, 97 => 114, 95 => 101, 93 => 80, 91 => 71, 89 => 63, 87 => 58, 85 => 51, 83 => 41, 81 => 35, 79 => 27,);
|
|
}
|
|
|
|
/** @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("{#**
|
|
* 2007-2019 PrestaShop and Contributors
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Open Software License (OSL 3.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* https://opensource.org/licenses/OSL-3.0
|
|
* If you did not receive a copy of the license and are unable to
|
|
* obtain it through the world-wide-web, please send an email
|
|
* to license@prestashop.com so we can send you a copy immediately.
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future. If you wish to customize PrestaShop for your
|
|
* needs please refer to https://www.prestashop.com for more information.
|
|
*
|
|
* @author PrestaShop SA <contact@prestashop.com>
|
|
* @copyright 2007-2019 PrestaShop SA and Contributors
|
|
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
|
* International Registered Trademark & Property of PrestaShop SA
|
|
*#}
|
|
{# 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 %}/>
|
|
{% include \"@Twig/form_max_length.html.twig\" with {\"attr\": attr} %}
|
|
{%- endblock form_widget_simple -%}
|
|
|
|
{%- block form_widget_compound -%}
|
|
<div {{ block('widget_container_attributes') }}>
|
|
{%- if form.parent is empty -%}
|
|
{{ form_errors(form) }}
|
|
{%- endif -%}
|
|
{{- block('form_rows') -}}
|
|
{{- form_rest(form) -}}
|
|
</div>
|
|
{%- endblock form_widget_compound -%}
|
|
|
|
{%- block collection_widget -%}
|
|
{% if prototype is defined %}
|
|
{%- 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>
|
|
{% include \"@Twig/form_max_length.html.twig\" with {\"attr\": attr} %}
|
|
{%- 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 -%}
|
|
{% 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 != '' ? placeholder }}</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 %} {% set attr = choice.attr %}{{ block('attributes') }}{% 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 -%}
|
|
{% set switch = switch|default('') -%}
|
|
<input type=\"checkbox\"
|
|
{% if switch %}data-toggle=\"switch\"{% endif %} {% if switch %}class=\"{{ switch }}\"{% endif %} {{ 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 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|replace({ '{{ widget }}': block('form_widget_simple') })|raw }}
|
|
{%- 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 button_widget -%}
|
|
{%- 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 -%}
|
|
<button type=\"{{ type|default('button') }}\" {{ block('button_attributes') }}>{{ label }}</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 -%}
|
|
|
|
{# 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 -%}
|
|
<label{% for attrname, attrvalue in label_attr %} {{ attrname }}=\"{{ attrvalue }}\"{% endfor %}>{{ translation_domain is same as(false) ? label|raw : label|raw }}
|
|
{% if label_attr['tooltip'] is defined %}
|
|
{% set placement = label_attr['tooltip_placement'] is defined ? label_attr['tooltip_placement'] : 'top' %}
|
|
<i class=\"icon-question\" data-toggle=\"pstooltip\" data-placement=\"{{ placement }}\"
|
|
title=\"{{ label_attr['tooltip'] }}\"></i>
|
|
{% endif %}
|
|
|
|
{% if label_attr['popover'] is defined %}
|
|
{% set placement = label_attr['popover_placement'] is defined ? label_attr['popover_placement'] : 'top' %}
|
|
<span class=\"help-box\" data-toggle=\"popover\" data-placement=\"{{ placement }}\"
|
|
data-content=\"{{ label_attr['popover'] }}\"></span>
|
|
{% endif %}
|
|
</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 -%}
|
|
{% set method = method|upper %}
|
|
{%- if method in [\"GET\", \"POST\"] -%}
|
|
{% set form_method = method %}
|
|
{%- else -%}
|
|
{% set form_method = \"POST\" %}
|
|
{%- endif -%}
|
|
<form name=\"{{ name }}\"
|
|
method=\"{{ form_method|lower }}\" action=\"{{ action }}\"{% for attrname, attrvalue in attr %} {{ attrname }}=\"{{ attrvalue }}\"{% endfor %}{% 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_enctype -%}
|
|
{% if multipart %}enctype=\"multipart/form-data\"{% endif %}
|
|
{%- endblock form_enctype -%}
|
|
|
|
{%- 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 -%}
|
|
{% import '@PrestaShop/Admin/macros.html.twig' as ps %}
|
|
|
|
{% for child in form -%}
|
|
{% if not child.rendered %}
|
|
{{- ps.form_group_row(child, { attr: child.vars.attr }, {
|
|
'label': child.vars.label
|
|
}) -}}
|
|
{% endif %}
|
|
{%- endfor %}
|
|
{% 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 read_only|default(false) and attr.readonly is not defined %} readonly=\"readonly\"{% endif -%}
|
|
{%- if disabled %} disabled=\"disabled\"{% endif -%}
|
|
{%- if required %} required=\"required\"{% endif -%}
|
|
{%- for attrname, attrvalue in attr -%}
|
|
{{- \" \" -}}
|
|
{%- if attrname in ['placeholder', 'title'] -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- elseif attrvalue is same as(true) -%}
|
|
{{- attrname }}=\"{{ attrname }}\"
|
|
{%- elseif attrvalue is not same as(false) -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
{%- endblock widget_attributes -%}
|
|
|
|
{%- block widget_container_attributes -%}
|
|
{%- if id is not empty %}id=\"{{ id }}\"{% endif -%}
|
|
{%- for attrname, attrvalue in attr -%}
|
|
{{- \" \" -}}
|
|
{%- if attrname in ['placeholder', 'title'] -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- elseif attrvalue is same as(true) -%}
|
|
{{- attrname }}=\"{{ attrname }}\"
|
|
{%- elseif attrvalue is not same as(false) -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
{%- endblock widget_container_attributes -%}
|
|
|
|
{%- block button_attributes -%}
|
|
id=\"{{ id }}\" name=\"{{ full_name }}\"{% if disabled %} disabled=\"disabled\"{% endif -%}
|
|
{%- for attrname, attrvalue in attr -%}
|
|
{{- \" \" -}}
|
|
{%- if attrname in ['placeholder', 'title'] -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- elseif attrvalue is same as(true) -%}
|
|
{{- attrname }}=\"{{ attrname }}\"
|
|
{%- elseif attrvalue is not same as(false) -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
{%- endblock button_attributes -%}
|
|
|
|
{% block attributes -%}
|
|
{%- for attrname, attrvalue in attr -%}
|
|
{{- \" \" -}}
|
|
{%- if attrname in ['placeholder', 'title'] -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- elseif attrvalue is same as(true) -%}
|
|
{{- attrname }}=\"{{ attrname }}\"
|
|
{%- elseif attrvalue is not same as(false) -%}
|
|
{{- attrname }}=\"{{ attrvalue }}\"
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
{%- endblock attributes -%}
|
|
", "@PrestaShop/Admin/TwigTemplateForm/form_div_layout.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/TwigTemplateForm/form_div_layout.html.twig");
|
|
}
|
|
}
|