Files
taome/var/cache/dev/twig/3f/3fbc5eab16e904fc8563a1488d8c7afc68f8fdd5f324d033b585229e91011ed1.php
2020-10-07 10:37:15 +02:00

187 lines
7.8 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;
/* @Product/ProductPage/Forms/form_custom_fields.html.twig */
class __TwigTemplate_1b4250a776f65bd2f6363dc6ca63ea856e5f78bea90c9ec9fa892d9db26b433e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
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", "@Product/ProductPage/Forms/form_custom_fields.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", "@Product/ProductPage/Forms/form_custom_fields.html.twig"));
// line 25
echo "<div class=\"row\">
";
// line 26
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "id_customization_field", []), 'widget');
echo "
<div class=\"col-md-3\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">";
// line 29
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "label", []), "vars", []), "label", []), "html", null, true);
echo "</label>
";
// line 30
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "label", []), 'errors');
echo "
";
// line 31
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "label", []), 'widget');
echo "
</fieldset>
</div>
<div class=\"col-md-3\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "type", []), "vars", []), "label", []), "html", null, true);
echo "</label>
";
// line 37
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "type", []), 'errors');
echo "
";
// line 38
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "type", []), 'widget');
echo "
</fieldset>
</div>
<div class=\"col-md-1\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">&nbsp;</label>
<a class=\"btn btn-block delete\" ><i class=\"material-icons\">delete</i></a>
</fieldset>
</div>
<div class=\"col-md-4\">
<fieldset class=\"form-group\">
<div>
<label class=\"form-control-label\">&nbsp;</label>
</div>
<div class=\"required-custom-field\">
";
// line 53
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "require", []), 'widget', ["switch" => "tiny"]);
echo "
</div>
</fieldset>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@Product/ProductPage/Forms/form_custom_fields.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 87 => 53, 69 => 38, 65 => 37, 61 => 36, 53 => 31, 49 => 30, 45 => 29, 39 => 26, 36 => 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 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
*#}
<div class=\"row\">
{{ form_widget(form.id_customization_field) }}
<div class=\"col-md-3\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">{{ form.label.vars.label }}</label>
{{ form_errors(form.label) }}
{{ form_widget(form.label) }}
</fieldset>
</div>
<div class=\"col-md-3\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">{{ form.type.vars.label }}</label>
{{ form_errors(form.type) }}
{{ form_widget(form.type) }}
</fieldset>
</div>
<div class=\"col-md-1\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">&nbsp;</label>
<a class=\"btn btn-block delete\" ><i class=\"material-icons\">delete</i></a>
</fieldset>
</div>
<div class=\"col-md-4\">
<fieldset class=\"form-group\">
<div>
<label class=\"form-control-label\">&nbsp;</label>
</div>
<div class=\"required-custom-field\">
{{ form_widget(form.require, {'switch': 'tiny'}) }}
</div>
</fieldset>
</div>
</div>
", "@Product/ProductPage/Forms/form_custom_fields.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Forms/form_custom_fields.html.twig");
}
}