<?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;

/* PimUIBundle:Form/Tab:history.html.twig */
class __TwigTemplate_3372a361c4a62d6956425c2da982c1a4a595a2653cff5caf8e715a7b736bd446 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        if ( !(isset($context["dataGrid"]) || array_key_exists("dataGrid", $context))) {
            // line 2
            echo "    ";
            $context["dataGrid"] = $this->loadTemplate("PimDataGridBundle::macros.html.twig", "PimUIBundle:Form/Tab:history.html.twig", 2)->unwrap();
        }
        // line 4
        echo "
<div class=\"tab-pane tab-history ";
        // line 5
        echo (($this->getAttribute($this->getAttribute(($context["viewElement"] ?? null), "loop", []), "first", [])) ? ("active") : (""));
        echo "\" id=\"";
        echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_replace_filter($this->getAttribute(($context["viewElement"] ?? null), "alias", []), [" " => "-", "." => "-"])), "html", null, true);
        echo "\">
    ";
        // line 6
        echo $context["dataGrid"]->getrenderHistoryGrid($this->getAttribute($this->getAttribute(($context["form"] ?? null), "vars", []), "value", []));
        echo "
</div>
";
    }

    public function getTemplateName()
    {
        return "PimUIBundle:Form/Tab:history.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  45 => 6,  39 => 5,  36 => 4,  32 => 2,  30 => 1,);
    }

    /** @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("", "PimUIBundle:Form/Tab:history.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/UIBundle/Resources/views/Form/Tab/history.html.twig");
    }
}
