Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,645 @@
<?php
/* PrestaShopBundle:Admin/TwigTemplateForm:bootstrap_4_horizontal_layout.html.twig */
class __TwigTemplate_56787460f592e87e2f76cc4e84ed2690d1580f1a25ebd7076497bf4d84db3e2c extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$_trait_0 = $this->loadTemplate("@PrestaShop/Admin/TwigTemplateForm/bootstrap_4_layout.html.twig", "PrestaShopBundle:Admin/TwigTemplateForm:bootstrap_4_horizontal_layout.html.twig", 25);
// line 25
if (!$_trait_0->isTraitable()) {
throw new Twig_Error_Runtime('Template "'."@PrestaShop/Admin/TwigTemplateForm/bootstrap_4_layout.html.twig".'" cannot be used as a trait.');
}
$_trait_0_blocks = $_trait_0->getBlocks();
$this->traits = $_trait_0_blocks;
$this->blocks = array_merge(
$this->traits,
array(
'form_start' => array($this, 'block_form_start'),
'form_label' => array($this, 'block_form_label'),
'form_label_class' => array($this, 'block_form_label_class'),
'form_row' => array($this, 'block_form_row'),
'checkbox_row' => array($this, 'block_checkbox_row'),
'radio_row' => array($this, 'block_radio_row'),
'checkbox_radio_row' => array($this, 'block_checkbox_radio_row'),
'submit_row' => array($this, 'block_submit_row'),
'form_group_class' => array($this, 'block_form_group_class'),
'form_row_class' => array($this, 'block_form_row_class'),
'text_with_unit_widget' => array($this, 'block_text_with_unit_widget'),
'ip_address_text_widget' => array($this, 'block_ip_address_text_widget'),
'switch_widget' => array($this, 'block_switch_widget'),
)
);
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_9302664a4f78bae8990e75865b78106b93a3b175a25b754c4ce883e0bc552988 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_9302664a4f78bae8990e75865b78106b93a3b175a25b754c4ce883e0bc552988->enter($__internal_9302664a4f78bae8990e75865b78106b93a3b175a25b754c4ce883e0bc552988_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "PrestaShopBundle:Admin/TwigTemplateForm:bootstrap_4_horizontal_layout.html.twig"));
$__internal_62c1c3fc2f0a872f1061ee4719a7251b28edd95cd3bcecd902776e1e5a29997c = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_62c1c3fc2f0a872f1061ee4719a7251b28edd95cd3bcecd902776e1e5a29997c->enter($__internal_62c1c3fc2f0a872f1061ee4719a7251b28edd95cd3bcecd902776e1e5a29997c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "PrestaShopBundle:Admin/TwigTemplateForm:bootstrap_4_horizontal_layout.html.twig"));
// line 26
$this->displayBlock('form_start', $context, $blocks);
// line 30
echo "
";
// line 32
echo "
";
// line 33
$this->displayBlock('form_label', $context, $blocks);
// line 43
echo "
";
// line 44
$this->displayBlock('form_label_class', $context, $blocks);
// line 47
echo "
";
// line 49
echo "
";
// line 50
$this->displayBlock('form_row', $context, $blocks);
// line 61
echo "
";
// line 62
$this->displayBlock('checkbox_row', $context, $blocks);
// line 65
echo "
";
// line 66
$this->displayBlock('radio_row', $context, $blocks);
// line 69
echo "
";
// line 70
$this->displayBlock('checkbox_radio_row', $context, $blocks);
// line 81
echo "
";
// line 82
$this->displayBlock('submit_row', $context, $blocks);
// line 92
echo "
";
// line 93
$this->displayBlock('form_group_class', $context, $blocks);
// line 96
echo "
";
// line 97
$this->displayBlock('form_row_class', $context, $blocks);
// line 100
echo "
";
// line 101
$this->displayBlock('text_with_unit_widget', $context, $blocks);
// line 111
echo "
";
// line 112
$this->displayBlock('ip_address_text_widget', $context, $blocks);
// line 120
echo "
";
// line 121
$this->displayBlock('switch_widget', $context, $blocks);
$__internal_9302664a4f78bae8990e75865b78106b93a3b175a25b754c4ce883e0bc552988->leave($__internal_9302664a4f78bae8990e75865b78106b93a3b175a25b754c4ce883e0bc552988_prof);
$__internal_62c1c3fc2f0a872f1061ee4719a7251b28edd95cd3bcecd902776e1e5a29997c->leave($__internal_62c1c3fc2f0a872f1061ee4719a7251b28edd95cd3bcecd902776e1e5a29997c_prof);
}
// line 26
public function block_form_start($context, array $blocks = array())
{
$__internal_0a2ba963dbd4129c229567b988f4549e5cf7713152ed66cd12c12d4f83359f83 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_0a2ba963dbd4129c229567b988f4549e5cf7713152ed66cd12c12d4f83359f83->enter($__internal_0a2ba963dbd4129c229567b988f4549e5cf7713152ed66cd12c12d4f83359f83_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_start"));
$__internal_ed7d96c38db7fd14742731e24de44ce6c1d241bf3872800773dd4a0a3bc01861 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_ed7d96c38db7fd14742731e24de44ce6c1d241bf3872800773dd4a0a3bc01861->enter($__internal_ed7d96c38db7fd14742731e24de44ce6c1d241bf3872800773dd4a0a3bc01861_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_start"));
// line 27
$context["attr"] = twig_array_merge(($context["attr"] ?? $this->getContext($context, "attr")), array("class" => twig_trim_filter(((($this->getAttribute(($context["attr"] ?? null), "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["attr"] ?? null), "class", array()), "")) : ("")) . " form-horizontal"))));
// line 28
$this->displayParentBlock("form_start", $context, $blocks);
$__internal_ed7d96c38db7fd14742731e24de44ce6c1d241bf3872800773dd4a0a3bc01861->leave($__internal_ed7d96c38db7fd14742731e24de44ce6c1d241bf3872800773dd4a0a3bc01861_prof);
$__internal_0a2ba963dbd4129c229567b988f4549e5cf7713152ed66cd12c12d4f83359f83->leave($__internal_0a2ba963dbd4129c229567b988f4549e5cf7713152ed66cd12c12d4f83359f83_prof);
}
// line 33
public function block_form_label($context, array $blocks = array())
{
$__internal_deed8c956121614467bd63f333604e70750557db6565e08e34a4eff1984ccd5e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_deed8c956121614467bd63f333604e70750557db6565e08e34a4eff1984ccd5e->enter($__internal_deed8c956121614467bd63f333604e70750557db6565e08e34a4eff1984ccd5e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
$__internal_3658bb3c1feb54a6fb903af93d780f32bae69d8baf3381c0565f0128fdf21673 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_3658bb3c1feb54a6fb903af93d780f32bae69d8baf3381c0565f0128fdf21673->enter($__internal_3658bb3c1feb54a6fb903af93d780f32bae69d8baf3381c0565f0128fdf21673_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
// line 34
ob_start();
// line 35
echo " ";
if ((($context["label"] ?? $this->getContext($context, "label")) === false)) {
// line 36
echo " <div class=\"";
$this->displayBlock("form_label_class", $context, $blocks);
echo "\"></div>
";
} else {
// line 38
echo " ";
$context["label_attr"] = twig_array_merge(($context["label_attr"] ?? $this->getContext($context, "label_attr")), array("class" => twig_trim_filter((((($this->getAttribute(($context["label_attr"] ?? null), "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["label_attr"] ?? null), "class", array()), "")) : ("")) . " ") . $this->renderBlock("form_label_class", $context, $blocks)))));
// line 39
$this->displayParentBlock("form_label", $context, $blocks);
}
// line 41
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_3658bb3c1feb54a6fb903af93d780f32bae69d8baf3381c0565f0128fdf21673->leave($__internal_3658bb3c1feb54a6fb903af93d780f32bae69d8baf3381c0565f0128fdf21673_prof);
$__internal_deed8c956121614467bd63f333604e70750557db6565e08e34a4eff1984ccd5e->leave($__internal_deed8c956121614467bd63f333604e70750557db6565e08e34a4eff1984ccd5e_prof);
}
// line 44
public function block_form_label_class($context, array $blocks = array())
{
$__internal_b73ef096c58f09e703541b754dfe7f8311ab3e711d56c2f56f5fb3ba6b59b33f = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_b73ef096c58f09e703541b754dfe7f8311ab3e711d56c2f56f5fb3ba6b59b33f->enter($__internal_b73ef096c58f09e703541b754dfe7f8311ab3e711d56c2f56f5fb3ba6b59b33f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label_class"));
$__internal_00dc9d5060f0b91b45ad0ae24610b86ce2a384e7702db3ff220a0b60d5014d3d = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_00dc9d5060f0b91b45ad0ae24610b86ce2a384e7702db3ff220a0b60d5014d3d->enter($__internal_00dc9d5060f0b91b45ad0ae24610b86ce2a384e7702db3ff220a0b60d5014d3d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label_class"));
// line 45
echo "col-sm-2";
$__internal_00dc9d5060f0b91b45ad0ae24610b86ce2a384e7702db3ff220a0b60d5014d3d->leave($__internal_00dc9d5060f0b91b45ad0ae24610b86ce2a384e7702db3ff220a0b60d5014d3d_prof);
$__internal_b73ef096c58f09e703541b754dfe7f8311ab3e711d56c2f56f5fb3ba6b59b33f->leave($__internal_b73ef096c58f09e703541b754dfe7f8311ab3e711d56c2f56f5fb3ba6b59b33f_prof);
}
// line 50
public function block_form_row($context, array $blocks = array())
{
$__internal_4be1b7e0a0fa2df6caf66329ffec6338cb4f2d57a2a983f804b6a5e7f7a79075 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_4be1b7e0a0fa2df6caf66329ffec6338cb4f2d57a2a983f804b6a5e7f7a79075->enter($__internal_4be1b7e0a0fa2df6caf66329ffec6338cb4f2d57a2a983f804b6a5e7f7a79075_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_row"));
$__internal_daebfcc5417efd41bb7e076ea2cad00a8851d71f3c2e83d8f953896d1692375f = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_daebfcc5417efd41bb7e076ea2cad00a8851d71f3c2e83d8f953896d1692375f->enter($__internal_daebfcc5417efd41bb7e076ea2cad00a8851d71f3c2e83d8f953896d1692375f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_row"));
// line 51
ob_start();
// line 52
echo " <div class=\"";
$this->displayBlock("form_row_class", $context, $blocks);
echo " ";
if ((( !($context["compound"] ?? $this->getContext($context, "compound")) || ((array_key_exists("force_error", $context)) ? (_twig_default_filter(($context["force_error"] ?? $this->getContext($context, "force_error")), false)) : (false))) && !($context["valid"] ?? $this->getContext($context, "valid")))) {
echo " has-error";
}
echo "\">
";
// line 53
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'label');
echo "
<div class=\"";
// line 54
$this->displayBlock("form_group_class", $context, $blocks);
echo "\">
";
// line 55
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
echo "
";
// line 56
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'errors');
echo "
</div>
</div>
";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_daebfcc5417efd41bb7e076ea2cad00a8851d71f3c2e83d8f953896d1692375f->leave($__internal_daebfcc5417efd41bb7e076ea2cad00a8851d71f3c2e83d8f953896d1692375f_prof);
$__internal_4be1b7e0a0fa2df6caf66329ffec6338cb4f2d57a2a983f804b6a5e7f7a79075->leave($__internal_4be1b7e0a0fa2df6caf66329ffec6338cb4f2d57a2a983f804b6a5e7f7a79075_prof);
}
// line 62
public function block_checkbox_row($context, array $blocks = array())
{
$__internal_33c303d7c252e26f617c160934e01ee05335acbe990d28e442c42b0dd853536e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_33c303d7c252e26f617c160934e01ee05335acbe990d28e442c42b0dd853536e->enter($__internal_33c303d7c252e26f617c160934e01ee05335acbe990d28e442c42b0dd853536e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "checkbox_row"));
$__internal_b87bf89bac159ee697badffaf1779e7b75d4f3a7a405e88edf5e98a1b989a5e1 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_b87bf89bac159ee697badffaf1779e7b75d4f3a7a405e88edf5e98a1b989a5e1->enter($__internal_b87bf89bac159ee697badffaf1779e7b75d4f3a7a405e88edf5e98a1b989a5e1_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "checkbox_row"));
// line 63
$this->displayBlock("checkbox_radio_row", $context, $blocks);
$__internal_b87bf89bac159ee697badffaf1779e7b75d4f3a7a405e88edf5e98a1b989a5e1->leave($__internal_b87bf89bac159ee697badffaf1779e7b75d4f3a7a405e88edf5e98a1b989a5e1_prof);
$__internal_33c303d7c252e26f617c160934e01ee05335acbe990d28e442c42b0dd853536e->leave($__internal_33c303d7c252e26f617c160934e01ee05335acbe990d28e442c42b0dd853536e_prof);
}
// line 66
public function block_radio_row($context, array $blocks = array())
{
$__internal_98db154ab5fbc7866722575da7c16922263f8a12b94a0e58ddd409732877e6ef = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_98db154ab5fbc7866722575da7c16922263f8a12b94a0e58ddd409732877e6ef->enter($__internal_98db154ab5fbc7866722575da7c16922263f8a12b94a0e58ddd409732877e6ef_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "radio_row"));
$__internal_577393c1839836270bccc241adfac702e3c01fb83f5b13d59b0cd87632a8d332 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_577393c1839836270bccc241adfac702e3c01fb83f5b13d59b0cd87632a8d332->enter($__internal_577393c1839836270bccc241adfac702e3c01fb83f5b13d59b0cd87632a8d332_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "radio_row"));
// line 67
$this->displayBlock("checkbox_radio_row", $context, $blocks);
$__internal_577393c1839836270bccc241adfac702e3c01fb83f5b13d59b0cd87632a8d332->leave($__internal_577393c1839836270bccc241adfac702e3c01fb83f5b13d59b0cd87632a8d332_prof);
$__internal_98db154ab5fbc7866722575da7c16922263f8a12b94a0e58ddd409732877e6ef->leave($__internal_98db154ab5fbc7866722575da7c16922263f8a12b94a0e58ddd409732877e6ef_prof);
}
// line 70
public function block_checkbox_radio_row($context, array $blocks = array())
{
$__internal_845ce1cbe573ebee0ff155adf80eec3f0de73dbb8b074f11985a4f7e11c277f9 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_845ce1cbe573ebee0ff155adf80eec3f0de73dbb8b074f11985a4f7e11c277f9->enter($__internal_845ce1cbe573ebee0ff155adf80eec3f0de73dbb8b074f11985a4f7e11c277f9_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "checkbox_radio_row"));
$__internal_5333589d7f3e3903fcdef8f6b3d63788c5e4f9e0a0146708741652d22f9168e0 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_5333589d7f3e3903fcdef8f6b3d63788c5e4f9e0a0146708741652d22f9168e0->enter($__internal_5333589d7f3e3903fcdef8f6b3d63788c5e4f9e0a0146708741652d22f9168e0_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "checkbox_radio_row"));
// line 71
ob_start();
// line 72
echo " <div class=\"form-group";
if ( !($context["valid"] ?? $this->getContext($context, "valid"))) {
echo " has-error";
}
echo "\">
<div class=\"";
// line 73
$this->displayBlock("form_label_class", $context, $blocks);
echo "\"></div>
<div class=\"";
// line 74
$this->displayBlock("form_group_class", $context, $blocks);
echo "\">
";
// line 75
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
echo "
";
// line 76
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'errors');
echo "
</div>
</div>
";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_5333589d7f3e3903fcdef8f6b3d63788c5e4f9e0a0146708741652d22f9168e0->leave($__internal_5333589d7f3e3903fcdef8f6b3d63788c5e4f9e0a0146708741652d22f9168e0_prof);
$__internal_845ce1cbe573ebee0ff155adf80eec3f0de73dbb8b074f11985a4f7e11c277f9->leave($__internal_845ce1cbe573ebee0ff155adf80eec3f0de73dbb8b074f11985a4f7e11c277f9_prof);
}
// line 82
public function block_submit_row($context, array $blocks = array())
{
$__internal_d9e5abf303c4d9231e797b7ace8f13b36df4bc1bb469f49a06528b6a7d3cbe7c = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_d9e5abf303c4d9231e797b7ace8f13b36df4bc1bb469f49a06528b6a7d3cbe7c->enter($__internal_d9e5abf303c4d9231e797b7ace8f13b36df4bc1bb469f49a06528b6a7d3cbe7c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "submit_row"));
$__internal_d8e978e165b7f952aefa993b26bf4970c6680d2cb619a145d0af16462c1da058 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_d8e978e165b7f952aefa993b26bf4970c6680d2cb619a145d0af16462c1da058->enter($__internal_d8e978e165b7f952aefa993b26bf4970c6680d2cb619a145d0af16462c1da058_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "submit_row"));
// line 83
ob_start();
// line 84
echo " <div class=\"form-group\">
<div class=\"";
// line 85
$this->displayBlock("form_label_class", $context, $blocks);
echo "\"></div>
<div class=\"";
// line 86
$this->displayBlock("form_group_class", $context, $blocks);
echo "\">
";
// line 87
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? $this->getContext($context, "form")), 'widget');
echo "
</div>
</div>
";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_d8e978e165b7f952aefa993b26bf4970c6680d2cb619a145d0af16462c1da058->leave($__internal_d8e978e165b7f952aefa993b26bf4970c6680d2cb619a145d0af16462c1da058_prof);
$__internal_d9e5abf303c4d9231e797b7ace8f13b36df4bc1bb469f49a06528b6a7d3cbe7c->leave($__internal_d9e5abf303c4d9231e797b7ace8f13b36df4bc1bb469f49a06528b6a7d3cbe7c_prof);
}
// line 93
public function block_form_group_class($context, array $blocks = array())
{
$__internal_6ecb2878c0e6b1e0ff0dc12723af23942a2f97d17a9357e0c0e666ed1ca49942 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_6ecb2878c0e6b1e0ff0dc12723af23942a2f97d17a9357e0c0e666ed1ca49942->enter($__internal_6ecb2878c0e6b1e0ff0dc12723af23942a2f97d17a9357e0c0e666ed1ca49942_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_group_class"));
$__internal_8a1024cab7d7938a52de50697d3f59aad26ac5d3f7d219bde94b7285f38fc834 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_8a1024cab7d7938a52de50697d3f59aad26ac5d3f7d219bde94b7285f38fc834->enter($__internal_8a1024cab7d7938a52de50697d3f59aad26ac5d3f7d219bde94b7285f38fc834_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_group_class"));
// line 94
echo "col-sm-10";
$__internal_8a1024cab7d7938a52de50697d3f59aad26ac5d3f7d219bde94b7285f38fc834->leave($__internal_8a1024cab7d7938a52de50697d3f59aad26ac5d3f7d219bde94b7285f38fc834_prof);
$__internal_6ecb2878c0e6b1e0ff0dc12723af23942a2f97d17a9357e0c0e666ed1ca49942->leave($__internal_6ecb2878c0e6b1e0ff0dc12723af23942a2f97d17a9357e0c0e666ed1ca49942_prof);
}
// line 97
public function block_form_row_class($context, array $blocks = array())
{
$__internal_3eff1cc79be8457bbcc1cf3d03a1b1580d3761164a84a3b3d61f6da785599ee2 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_3eff1cc79be8457bbcc1cf3d03a1b1580d3761164a84a3b3d61f6da785599ee2->enter($__internal_3eff1cc79be8457bbcc1cf3d03a1b1580d3761164a84a3b3d61f6da785599ee2_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_row_class"));
$__internal_e46ad6db92085a6b57d0a1fc9e5653078dc63100c462144fd20e3a31713e3d41 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_e46ad6db92085a6b57d0a1fc9e5653078dc63100c462144fd20e3a31713e3d41->enter($__internal_e46ad6db92085a6b57d0a1fc9e5653078dc63100c462144fd20e3a31713e3d41_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_row_class"));
// line 98
echo "form-group";
$__internal_e46ad6db92085a6b57d0a1fc9e5653078dc63100c462144fd20e3a31713e3d41->leave($__internal_e46ad6db92085a6b57d0a1fc9e5653078dc63100c462144fd20e3a31713e3d41_prof);
$__internal_3eff1cc79be8457bbcc1cf3d03a1b1580d3761164a84a3b3d61f6da785599ee2->leave($__internal_3eff1cc79be8457bbcc1cf3d03a1b1580d3761164a84a3b3d61f6da785599ee2_prof);
}
// line 101
public function block_text_with_unit_widget($context, array $blocks = array())
{
$__internal_bbc74d36b584b4f2455bf55142e68832763dcfb4e5860a8d49eedf7dc7ee405d = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_bbc74d36b584b4f2455bf55142e68832763dcfb4e5860a8d49eedf7dc7ee405d->enter($__internal_bbc74d36b584b4f2455bf55142e68832763dcfb4e5860a8d49eedf7dc7ee405d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "text_with_unit_widget"));
$__internal_ada0734c9598f7f86bf983d3715481b05350488ddfe9ce9500a6bc2e5024863b = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_ada0734c9598f7f86bf983d3715481b05350488ddfe9ce9500a6bc2e5024863b->enter($__internal_ada0734c9598f7f86bf983d3715481b05350488ddfe9ce9500a6bc2e5024863b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "text_with_unit_widget"));
// line 102
echo "<div class=\"input-group\">";
// line 103
$this->displayBlock("form_widget_simple", $context, $blocks);
// line 104
if ($this->getAttribute($this->getAttribute(($context["form"] ?? null), "vars", array(), "any", false, true), "unit", array(), "any", true, true)) {
// line 105
echo " <div class=\"input-group-append\">
<span class=\"input-group-text\">";
// line 106
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "vars", array()), "unit", array()), "html", null, true);
echo "</span>
</div>
";
}
// line 109
echo "</div>
";
$__internal_ada0734c9598f7f86bf983d3715481b05350488ddfe9ce9500a6bc2e5024863b->leave($__internal_ada0734c9598f7f86bf983d3715481b05350488ddfe9ce9500a6bc2e5024863b_prof);
$__internal_bbc74d36b584b4f2455bf55142e68832763dcfb4e5860a8d49eedf7dc7ee405d->leave($__internal_bbc74d36b584b4f2455bf55142e68832763dcfb4e5860a8d49eedf7dc7ee405d_prof);
}
// line 112
public function block_ip_address_text_widget($context, array $blocks = array())
{
$__internal_ed5986535c03f0593f19230f9cd7185e86d7c297077c557ffb7303b8d289834e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_ed5986535c03f0593f19230f9cd7185e86d7c297077c557ffb7303b8d289834e->enter($__internal_ed5986535c03f0593f19230f9cd7185e86d7c297077c557ffb7303b8d289834e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "ip_address_text_widget"));
$__internal_8ff9851125bbb9b976ddeefc6385ac525302f481dfc829eb8a764dab70105f2c = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_8ff9851125bbb9b976ddeefc6385ac525302f481dfc829eb8a764dab70105f2c->enter($__internal_8ff9851125bbb9b976ddeefc6385ac525302f481dfc829eb8a764dab70105f2c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "ip_address_text_widget"));
// line 113
echo "<div class=\"input-group\">";
// line 114
$this->displayBlock("form_widget_simple", $context, $blocks);
// line 115
echo "<button type=\"button\" class=\"btn btn-outline-primary add_ip_button\" data-ip=\"";
echo twig_escape_filter($this->env, ($context["currentIp"] ?? $this->getContext($context, "currentIp")), "html", null, true);
echo "\">
<i class=\"material-icons\">add_circle</i> ";
// line 116
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Add my IP", array(), "Admin.Actions"), "html", null, true);
echo "
</button>
</div>
";
$__internal_8ff9851125bbb9b976ddeefc6385ac525302f481dfc829eb8a764dab70105f2c->leave($__internal_8ff9851125bbb9b976ddeefc6385ac525302f481dfc829eb8a764dab70105f2c_prof);
$__internal_ed5986535c03f0593f19230f9cd7185e86d7c297077c557ffb7303b8d289834e->leave($__internal_ed5986535c03f0593f19230f9cd7185e86d7c297077c557ffb7303b8d289834e_prof);
}
// line 121
public function block_switch_widget($context, array $blocks = array())
{
$__internal_ff2ba9a1a970f1b14e27d6c029fc3144e06937eb8c677e6f88ec9413828524b5 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_ff2ba9a1a970f1b14e27d6c029fc3144e06937eb8c677e6f88ec9413828524b5->enter($__internal_ff2ba9a1a970f1b14e27d6c029fc3144e06937eb8c677e6f88ec9413828524b5_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "switch_widget"));
$__internal_58b541199a7322206ebe60a3c8515073ee7bbdccedee27ad63860d85fb601435 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_58b541199a7322206ebe60a3c8515073ee7bbdccedee27ad63860d85fb601435->enter($__internal_58b541199a7322206ebe60a3c8515073ee7bbdccedee27ad63860d85fb601435_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "switch_widget"));
// line 122
echo "<div class=\"input-group\">";
// line 123
$this->displayParentBlock("switch_widget", $context, $blocks);
// line 124
echo "</div>
";
$__internal_58b541199a7322206ebe60a3c8515073ee7bbdccedee27ad63860d85fb601435->leave($__internal_58b541199a7322206ebe60a3c8515073ee7bbdccedee27ad63860d85fb601435_prof);
$__internal_ff2ba9a1a970f1b14e27d6c029fc3144e06937eb8c677e6f88ec9413828524b5->leave($__internal_ff2ba9a1a970f1b14e27d6c029fc3144e06937eb8c677e6f88ec9413828524b5_prof);
}
public function getTemplateName()
{
return "PrestaShopBundle:Admin/TwigTemplateForm:bootstrap_4_horizontal_layout.html.twig";
}
public function getDebugInfo()
{
return array ( 488 => 124, 486 => 123, 484 => 122, 475 => 121, 461 => 116, 456 => 115, 454 => 114, 452 => 113, 443 => 112, 432 => 109, 426 => 106, 423 => 105, 421 => 104, 419 => 103, 417 => 102, 408 => 101, 398 => 98, 389 => 97, 379 => 94, 370 => 93, 355 => 87, 351 => 86, 347 => 85, 344 => 84, 342 => 83, 333 => 82, 318 => 76, 314 => 75, 310 => 74, 306 => 73, 299 => 72, 297 => 71, 288 => 70, 278 => 67, 269 => 66, 259 => 63, 250 => 62, 235 => 56, 231 => 55, 227 => 54, 223 => 53, 214 => 52, 212 => 51, 203 => 50, 193 => 45, 184 => 44, 173 => 41, 170 => 39, 167 => 38, 161 => 36, 158 => 35, 156 => 34, 147 => 33, 137 => 28, 135 => 27, 126 => 26, 116 => 121, 113 => 120, 111 => 112, 108 => 111, 106 => 101, 103 => 100, 101 => 97, 98 => 96, 96 => 93, 93 => 92, 91 => 82, 88 => 81, 86 => 70, 83 => 69, 81 => 66, 78 => 65, 76 => 62, 73 => 61, 71 => 50, 68 => 49, 65 => 47, 63 => 44, 60 => 43, 58 => 33, 55 => 32, 52 => 30, 50 => 26, 14 => 25,);
}
/** @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 Twig_Source("{#**
* 2007-2018 PrestaShop
*
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*#}
{% use '@PrestaShop/Admin/TwigTemplateForm/bootstrap_4_layout.html.twig' %}
{% block form_start -%}
{% set attr = attr|merge({class: (attr.class|default('') ~ ' form-horizontal')|trim}) %}
{{- parent() -}}
{%- endblock form_start %}
{# Labels #}
{% block form_label -%}
{% spaceless %}
{% if label is same as(false) %}
<div class=\"{{ block('form_label_class') }}\"></div>
{% else %}
{% set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' ' ~ block('form_label_class'))|trim}) %}
{{- parent() -}}
{% endif %}
{% endspaceless %}
{%- endblock form_label %}
{% block form_label_class -%}
col-sm-2
{%- endblock form_label_class %}
{# Rows #}
{% block form_row -%}
{% spaceless %}
<div class=\"{{ block('form_row_class') }} {% if (not compound or force_error|default(false)) and not valid %} has-error{% endif %}\">
{{ form_label(form) }}
<div class=\"{{ block('form_group_class') }}\">
{{ form_widget(form) }}
{{ form_errors(form) }}
</div>
</div>
{% endspaceless %}
{%- endblock form_row %}
{% block checkbox_row -%}
{{- block('checkbox_radio_row') -}}
{%- endblock checkbox_row %}
{% block radio_row -%}
{{- block('checkbox_radio_row') -}}
{%- endblock radio_row %}
{% block checkbox_radio_row -%}
{% spaceless %}
<div class=\"form-group{% if not valid %} has-error{% endif %}\">
<div class=\"{{ block('form_label_class') }}\"></div>
<div class=\"{{ block('form_group_class') }}\">
{{ form_widget(form) }}
{{ form_errors(form) }}
</div>
</div>
{% endspaceless %}
{%- endblock checkbox_radio_row %}
{% block submit_row -%}
{% spaceless %}
<div class=\"form-group\">
<div class=\"{{ block('form_label_class') }}\"></div>
<div class=\"{{ block('form_group_class') }}\">
{{ form_widget(form) }}
</div>
</div>
{% endspaceless %}
{% endblock submit_row %}
{% block form_group_class -%}
col-sm-10
{%- endblock form_group_class %}
{% block form_row_class -%}
form-group
{%- endblock form_row_class %}
{% block text_with_unit_widget %}
<div class=\"input-group\">
{{- block('form_widget_simple') -}}
{% if form.vars.unit is defined %}
<div class=\"input-group-append\">
<span class=\"input-group-text\">{{ form.vars.unit }}</span>
</div>
{% endif %}
</div>
{% endblock text_with_unit_widget %}
{% block ip_address_text_widget %}
<div class=\"input-group\">
{{- block('form_widget_simple') -}}
<button type=\"button\" class=\"btn btn-outline-primary add_ip_button\" data-ip=\"{{ currentIp }}\">
<i class=\"material-icons\">add_circle</i> {{ 'Add my IP'|trans({}, 'Admin.Actions') }}
</button>
</div>
{% endblock ip_address_text_widget %}
{% block switch_widget %}
<div class=\"input-group\">
{{- parent() -}}
</div>
{% endblock switch_widget %}
", "PrestaShopBundle:Admin/TwigTemplateForm:bootstrap_4_horizontal_layout.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/TwigTemplateForm/bootstrap_4_horizontal_layout.html.twig");
}
}