<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;

/* admin/list_datagrid_content.html.twig */
class __TwigTemplate_4fd3c96470cd609e8432edead0a7cea0f5619577723f360dcb873d2e02de2ab9 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;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/list_datagrid_content.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/list_datagrid_content.html.twig"));

        // line 1
        yield "<div clas=\"col-xs-12\">
</div>
<div class=\"dx-viewport py-2 px-2\">
    <div id=\"gridContainer\"
         class=\"grid\"
         data-style=\"content\"
         data-columns=\"";
        // line 7
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 7, $this->source); })()), "columns", [], "any", false, false, false, 7)), "html", null, true);
        yield "\"
         data-page=\"";
        // line 8
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 8, $this->source); })()), "html", null, true);
        yield "\"
         data-position=\"";
        // line 9
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 9, $this->source); })()), "position", [], "any", false, false, false, 9), "html", null, true);
        yield "\"
         data-lookup=\"";
        // line 10
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "lookup", [], "any", true, true, false, 10)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 10, $this->source); })()), "lookup", [], "any", false, false, false, 10)), "html", null, true)) : (yield ""));
        yield "\"
         style=\" height: 440px;\">
    </div>
</div>
";
        // line 14
        yield Twig\Extension\CoreExtension::include($this->env, $context, "form/save_filter.html.twig");
        yield "
    ";
        // line 15
        if (array_key_exists("form", $context)) {
            // line 16
            yield "        <div id=\"popupadd";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 16, $this->source); })()), "html", null, true);
            yield "\" style=\"display:none\" >
            <div class=\"alert alert-danger\" style=\"display:none;\">
            </div>
            ";
            // line 19
            yield from             $this->loadTemplate((("form/" . (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 19, $this->source); })())) . "_add.html.twig"), "admin/list_datagrid_content.html.twig", 19)->unwrap()->yield($context);
            // line 20
            yield "        </div>
    ";
        }
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "admin/list_datagrid_content.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  86 => 20,  84 => 19,  77 => 16,  75 => 15,  71 => 14,  64 => 10,  60 => 9,  56 => 8,  52 => 7,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<div clas=\"col-xs-12\">
</div>
<div class=\"dx-viewport py-2 px-2\">
    <div id=\"gridContainer\"
         class=\"grid\"
         data-style=\"content\"
         data-columns=\"{{ datas.columns|json_encode() }}\"
         data-page=\"{{ page }}\"
         data-position=\"{{ datas.position }}\"
         data-lookup=\"{{ datas.lookup is defined  ? datas.lookup|json_encode() : '' }}\"
         style=\" height: 440px;\">
    </div>
</div>
{{ include('form/save_filter.html.twig') }}
    {%  if form is defined %}
        <div id=\"popupadd{{ page }}\" style=\"display:none\" >
            <div class=\"alert alert-danger\" style=\"display:none;\">
            </div>
            {% include(\"form/#{page}_add.html.twig\") %}
        </div>
    {% endif %}
", "admin/list_datagrid_content.html.twig", "/builds/dev/refonte_sav/templates/admin/list_datagrid_content.html.twig");
    }
}
