Current File : //var/www/prestashop/var/cache/prod/twig/ca/ca9fe9c31b452211bb984551b7044ac2.php |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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_manufacturer.html.twig */
class __TwigTemplate_29c3e57484115c092c5d45cacd478b9f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 25
echo "<div id=\"manufacturer-content\" class=\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "vars", [], "any", false, false, false, 25), "value", [], "any", false, false, false, 25) == "")) ? ("hide") : (""));
echo "\">
<h2>";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Brand", [], "Admin.Catalog.Feature"), "html", null, true);
echo "</h2>
<div class=\"row\">
<div class=\"col-md-4\">
<fieldset class=\"form-group\">
";
// line 30
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget');
echo "
<div class=\"col-md-12\">
";
// line 32
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors');
echo "
</div>
</fieldset>
</div>
<div class=\"col-md-1\">
<a id=\"reset_brand_product\" class=\"btn tooltip-link delete pl-0 pr-0\"><i class=\"material-icons\">delete</i></a>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col-md-4\">
<button type=\"button\" class=\"btn btn-outline-primary sensitive open ";
// line 43
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "vars", [], "any", false, false, false, 43), "value", [], "any", false, false, false, 43) != "")) ? ("hide") : (""));
echo "\" id=\"add_brand_button\">
<i class=\"material-icons\">add_circle</i> ";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add a brand", [], "Admin.Catalog.Feature"), "html", null, true);
echo "
</button>
</div>
</div>
";
}
public function getTemplateName()
{
return "@Product/ProductPage/Forms/form_manufacturer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 72 => 44, 68 => 43, 54 => 32, 49 => 30, 42 => 26, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@Product/ProductPage/Forms/form_manufacturer.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Forms/form_manufacturer.html.twig");
}
}