118 lines
4.2 KiB
PHP
118 lines
4.2 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_cc8d18246d2dec2fec0cb8fdb939c0f1885adea114afe51f6861f015889e87fe extends \Twig\Template
|
|
{
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
];
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
// line 25
|
|
echo "<div class=\"row\">
|
|
";
|
|
// line 26
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "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"] ?? null), "label", []), "vars", []), "label", []), "html", null, true);
|
|
echo "</label>
|
|
";
|
|
// line 30
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "label", []), 'errors');
|
|
echo "
|
|
";
|
|
// line 31
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "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"] ?? null), "type", []), "vars", []), "label", []), "html", null, true);
|
|
echo "</label>
|
|
";
|
|
// line 37
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "type", []), 'errors');
|
|
echo "
|
|
";
|
|
// line 38
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "type", []), 'widget');
|
|
echo "
|
|
</fieldset>
|
|
</div>
|
|
<div class=\"col-md-1\">
|
|
<fieldset class=\"form-group\">
|
|
<label class=\"form-control-label\"> </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\"> </label>
|
|
</div>
|
|
<div class=\"required-custom-field\">
|
|
";
|
|
// line 53
|
|
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "require", []), 'widget', ["switch" => "tiny"]);
|
|
echo "
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
";
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "@Product/ProductPage/Forms/form_custom_fields.html.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 81 => 53, 63 => 38, 59 => 37, 55 => 36, 47 => 31, 43 => 30, 39 => 29, 33 => 26, 30 => 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("", "@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");
|
|
}
|
|
}
|