var/cache/dev/twig/3f/3fba30eee80d7878d8913cffee308e0f.php line 73

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* @EasyAdmin/crud/index.html.twig */
  15. class __TwigTemplate_a7295b88249b2057a255cd3ebe2c6898 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'body_id' => [$this'block_body_id'],
  25.             'body_class' => [$this'block_body_class'],
  26.             'configured_head_contents' => [$this'block_configured_head_contents'],
  27.             'configured_body_contents' => [$this'block_configured_body_contents'],
  28.             'configured_stylesheets' => [$this'block_configured_stylesheets'],
  29.             'configured_javascripts' => [$this'block_configured_javascripts'],
  30.             'content_title' => [$this'block_content_title'],
  31.             'page_actions' => [$this'block_page_actions'],
  32.             'filters' => [$this'block_filters'],
  33.             'global_actions' => [$this'block_global_actions'],
  34.             'batch_actions' => [$this'block_batch_actions'],
  35.             'main' => [$this'block_main'],
  36.             'table_head' => [$this'block_table_head'],
  37.             'table_body' => [$this'block_table_body'],
  38.             'entity_actions' => [$this'block_entity_actions'],
  39.             'table_body_empty' => [$this'block_table_body_empty'],
  40.             'table_footer' => [$this'block_table_footer'],
  41.             'paginator' => [$this'block_paginator'],
  42.             'delete_form' => [$this'block_delete_form'],
  43.         ];
  44.     }
  45.     protected function doGetParent(array $context)
  46.     {
  47.         // line 4
  48.         return $this->loadTemplate(CoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'4$this->source); })()), "templatePath", ["layout"], "method"falsefalsefalse4), "@EasyAdmin/crud/index.html.twig"4);
  49.     }
  50.     protected function doDisplay(array $context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EasyAdmin/crud/index.html.twig"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EasyAdmin/crud/index.html.twig"));
  57.         // line 5
  58.         $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'5$this->source); })()), "i18n", [], "any"falsefalsefalse5), "translationDomain", [], "any"falsefalsefalse5);
  59.         // line 10
  60.         $context["ea_field_assets"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'10$this->source); })()), "crud", [], "any"falsefalsefalse10), "fieldAssets", [Twig\Extension\CoreExtension::constant("EasyCorp\\Bundle\\EasyAdminBundle\\Config\\Crud::PAGE_INDEX")], "method"falsefalsefalse10);
  61.         // line 47
  62.         $context["has_batch_actions"] = (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["batch_actions"]) || array_key_exists("batch_actions"$context) ? $context["batch_actions"] : (function () { throw new RuntimeError('Variable "batch_actions" does not exist.'47$this->source); })())) > 0);
  63.         // line 4
  64.         yield from $this->getParent($context)->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.     }
  70.     // line 7
  71.     public function block_body_id($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_id"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_id"));
  78.         (((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'7$this->source); })())) > 0)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("ea-index-" CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::first($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'7$this->source); })())), "name", [], "any"falsefalsefalse7)), "html"nulltrue)) : (yield ""));
  79.         
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  81.         
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  83.         return; yield '';
  84.     }
  85.     // line 8
  86.     public function block_body_class($context, array $blocks = [])
  87.     {
  88.         $macros $this->macros;
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_class"));
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_class"));
  93.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("ea-index" . (((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'8$this->source); })())) > 0)) ? ((" ea-index-" CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::first($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'8$this->source); })())), "name", [], "any"falsefalsefalse8))) : (""))), "html"nulltrue);
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.         return; yield '';
  99.     }
  100.     // line 12
  101.     public function block_configured_head_contents($context, array $blocks = [])
  102.     {
  103.         $macros $this->macros;
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_head_contents"));
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_head_contents"));
  108.         // line 13
  109.         yield "    ";
  110.         yield from $this->yieldParentBlock("configured_head_contents"$context$blocks);
  111.         yield "
  112.     ";
  113.         // line 14
  114.         $context['_parent'] = $context;
  115.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["ea_field_assets"]) || array_key_exists("ea_field_assets"$context) ? $context["ea_field_assets"] : (function () { throw new RuntimeError('Variable "ea_field_assets" does not exist.'14$this->source); })()), "headContents", [], "any"falsefalsefalse14));
  116.         foreach ($context['_seq'] as $context["_key"] => $context["htmlContent"]) {
  117.             // line 15
  118.             yield "        ";
  119.             yield $context["htmlContent"];
  120.             yield "
  121.     ";
  122.         }
  123.         $_parent $context['_parent'];
  124.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['htmlContent'], $context['_parent'], $context['loop']);
  125.         $context array_intersect_key($context$_parent) + $_parent;
  126.         
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  128.         
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  130.         return; yield '';
  131.     }
  132.     // line 19
  133.     public function block_configured_body_contents($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_body_contents"));
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_body_contents"));
  140.         // line 20
  141.         yield "    ";
  142.         yield from $this->yieldParentBlock("configured_body_contents"$context$blocks);
  143.         yield "
  144.     ";
  145.         // line 21
  146.         $context['_parent'] = $context;
  147.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["ea_field_assets"]) || array_key_exists("ea_field_assets"$context) ? $context["ea_field_assets"] : (function () { throw new RuntimeError('Variable "ea_field_assets" does not exist.'21$this->source); })()), "bodyContents", [], "any"falsefalsefalse21));
  148.         foreach ($context['_seq'] as $context["_key"] => $context["htmlContent"]) {
  149.             // line 22
  150.             yield "        ";
  151.             yield $context["htmlContent"];
  152.             yield "
  153.     ";
  154.         }
  155.         $_parent $context['_parent'];
  156.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['htmlContent'], $context['_parent'], $context['loop']);
  157.         $context array_intersect_key($context$_parent) + $_parent;
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.         return; yield '';
  163.     }
  164.     // line 26
  165.     public function block_configured_stylesheets($context, array $blocks = [])
  166.     {
  167.         $macros $this->macros;
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_stylesheets"));
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_stylesheets"));
  172.         // line 27
  173.         yield "    ";
  174.         yield from $this->yieldParentBlock("configured_stylesheets"$context$blocks);
  175.         yield "
  176.     ";
  177.         // line 28
  178.         yield Twig\Extension\CoreExtension::include($this->env$context"@EasyAdmin/includes/_css_assets.html.twig", ["assets" => CoreExtension::getAttribute($this->env$this->source, (isset($context["ea_field_assets"]) || array_key_exists("ea_field_assets"$context) ? $context["ea_field_assets"] : (function () { throw new RuntimeError('Variable "ea_field_assets" does not exist.'28$this->source); })()), "cssAssets", [], "any"falsefalsefalse28)], false);
  179.         yield "
  180.     ";
  181.         // line 29
  182.         yield Twig\Extension\CoreExtension::include($this->env$context"@EasyAdmin/includes/_encore_link_tags.html.twig", ["assets" => CoreExtension::getAttribute($this->env$this->source, (isset($context["ea_field_assets"]) || array_key_exists("ea_field_assets"$context) ? $context["ea_field_assets"] : (function () { throw new RuntimeError('Variable "ea_field_assets" does not exist.'29$this->source); })()), "webpackEncoreAssets", [], "any"falsefalsefalse29)], false);
  183.         yield "
  184. ";
  185.         
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  187.         
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  189.         return; yield '';
  190.     }
  191.     // line 32
  192.     public function block_configured_javascripts($context, array $blocks = [])
  193.     {
  194.         $macros $this->macros;
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_javascripts"));
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_javascripts"));
  199.         // line 33
  200.         yield "    ";
  201.         yield from $this->yieldParentBlock("configured_javascripts"$context$blocks);
  202.         yield "
  203.     ";
  204.         // line 34
  205.         yield Twig\Extension\CoreExtension::include($this->env$context"@EasyAdmin/includes/_js_assets.html.twig", ["assets" => CoreExtension::getAttribute($this->env$this->source, (isset($context["ea_field_assets"]) || array_key_exists("ea_field_assets"$context) ? $context["ea_field_assets"] : (function () { throw new RuntimeError('Variable "ea_field_assets" does not exist.'34$this->source); })()), "jsAssets", [], "any"falsefalsefalse34)], false);
  206.         yield "
  207.     ";
  208.         // line 35
  209.         yield Twig\Extension\CoreExtension::include($this->env$context"@EasyAdmin/includes/_encore_script_tags.html.twig", ["assets" => CoreExtension::getAttribute($this->env$this->source, (isset($context["ea_field_assets"]) || array_key_exists("ea_field_assets"$context) ? $context["ea_field_assets"] : (function () { throw new RuntimeError('Variable "ea_field_assets" does not exist.'35$this->source); })()), "webpackEncoreAssets", [], "any"falsefalsefalse35)], false);
  210.         yield "
  211. ";
  212.         
  213.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  214.         
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  216.         return; yield '';
  217.     }
  218.     // line 38
  219.     public function block_content_title($context, array $blocks = [])
  220.     {
  221.         $macros $this->macros;
  222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_title"));
  224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_title"));
  226.         // line 39
  227.         $___internal_parse_0_ = ('' === $tmp \Twig\Extension\CoreExtension::captureOutput((function () use (&$context$macros$blocks) {
  228.             // line 40
  229.             $context["custom_page_title"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'40$this->source); })()), "crud", [], "any"falsefalsefalse40), "customPageTitle", ["index"nullCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'40$this->source); })()), "i18n", [], "any"falsefalsefalse40), "translationParameters", [], "any"falsefalsefalse40)], "method"falsefalsefalse40);
  230.             // line 41
  231.             yield "        ";
  232.             yield (((null === (isset($context["custom_page_title"]) || array_key_exists("custom_page_title"$context) ? $context["custom_page_title"] : (function () { throw new RuntimeError('Variable "custom_page_title" does not exist.'41$this->source); })()))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 42
  233. (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'42$this->source); })()), "crud", [], "any"falsefalsefalse42), "defaultPageTitle", ["index"nullCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'42$this->source); })()), "i18n", [], "any"falsefalsefalse42), "translationParameters", [], "any"falsefalsefalse42)], "method"falsefalsefalse42), [],             // line 5
  234. (isset($context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"]) || array_key_exists("__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"$context) ? $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] : (function () { throw new RuntimeError('Variable "__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676" does not exist.'5$this->source); })()))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(            // line 43
  235. (isset($context["custom_page_title"]) || array_key_exists("custom_page_title"$context) ? $context["custom_page_title"] : (function () { throw new RuntimeError('Variable "custom_page_title" does not exist.'43$this->source); })()), [],             // line 5
  236. (isset($context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"]) || array_key_exists("__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"$context) ? $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] : (function () { throw new RuntimeError('Variable "__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676" does not exist.'5$this->source); })()))));
  237.             return; yield '';
  238.         })())) ? '' : new Markup($tmp$this->env->getCharset());
  239.         // line 39
  240.         yield Twig\Extension\CoreExtension::spaceless($___internal_parse_0_);
  241.         
  242.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  243.         
  244.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  245.         return; yield '';
  246.     }
  247.     // line 48
  248.     public function block_page_actions($context, array $blocks = [])
  249.     {
  250.         $macros $this->macros;
  251.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  252.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_actions"));
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  254.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_actions"));
  255.         // line 49
  256.         yield "    ";
  257.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'49$this->source); })())) > 0)) {
  258.             // line 50
  259.             yield "        <div class=\"datagrid-filters\">
  260.             ";
  261.             // line 51
  262.             yield from $this->unwrap()->yieldBlock('filters'$context$blocks);
  263.             // line 64
  264.             yield "        </div>
  265.     ";
  266.         }
  267.         // line 66
  268.         yield "
  269.     ";
  270.         // line 67
  271.         yield from $this->unwrap()->yieldBlock('global_actions'$context$blocks);
  272.         // line 74
  273.         yield "    ";
  274.         yield from $this->unwrap()->yieldBlock('batch_actions'$context$blocks);
  275.         
  276.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  277.         
  278.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  279.         return; yield '';
  280.     }
  281.     // line 51
  282.     public function block_filters($context, array $blocks = [])
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""filters"));
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""filters"));
  289.         // line 52
  290.         yield "                ";
  291.         $context["applied_filters"] = Twig\Extension\CoreExtension::keys(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["ea"] ?? null), "request", [], "any"falsetruefalse52), "query", [], "any"falsetruefalse52), "all", [], "any"falsetruefalse52), "filters", [], "array"truetruefalse52)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["ea"] ?? null), "request", [], "any"falsetruefalse52), "query", [], "any"falsetruefalse52), "all", [], "any"falsetruefalse52), "filters", [], "array"falsefalsefalse52), [])) : ([])));
  292.         // line 53
  293.         yield "                <div class=\"btn-group action-filters\">
  294.                     <a href=\"#\" data-href=\"";
  295.         // line 54
  296.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setAction", ["renderFilters"], "method"falsefalsefalse54), "includeReferrer", [], "method"falsefalsefalse54), "html"nulltrue);
  297.         yield "\" class=\"btn btn-secondary btn-labeled btn-labeled-right action-filters-button disabled ";
  298.         yield (((isset($context["applied_filters"]) || array_key_exists("applied_filters"$context) ? $context["applied_filters"] : (function () { throw new RuntimeError('Variable "applied_filters" does not exist.'54$this->source); })())) ? ("action-filters-applied") : (""));
  299.         yield "\" data-bs-toggle=\"modal\" data-bs-target=\"#modal-filters\">
  300.                         <i class=\"fa fa-filter fa-fw\"></i> ";
  301.         // line 55
  302.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->createTranslatable("filter.title"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'55$this->source); })()), "i18n", [], "any"falsefalsefalse55), "translationParameters", [], "any"falsefalsefalse55), "EasyAdminBundle"), [],         // line 5
  303. (isset($context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"]) || array_key_exists("__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"$context) ? $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] : (function () { throw new RuntimeError('Variable "__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676" does not exist.'5$this->source); })())), "html"nulltrue);
  304.         // line 55
  305.         if ((isset($context["applied_filters"]) || array_key_exists("applied_filters"$context) ? $context["applied_filters"] : (function () { throw new RuntimeError('Variable "applied_filters" does not exist.'55$this->source); })())) {
  306.             yield " <span class=\"action-filters-button-count\">(";
  307.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["applied_filters"]) || array_key_exists("applied_filters"$context) ? $context["applied_filters"] : (function () { throw new RuntimeError('Variable "applied_filters" does not exist.'55$this->source); })())), "html"nulltrue);
  308.             yield ")</span>";
  309.         }
  310.         // line 56
  311.         yield "                    </a>
  312.                     ";
  313.         // line 57
  314.         if ((isset($context["applied_filters"]) || array_key_exists("applied_filters"$context) ? $context["applied_filters"] : (function () { throw new RuntimeError('Variable "applied_filters" does not exist.'57$this->source); })())) {
  315.             // line 58
  316.             yield "                        <a href=\"";
  317.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "unset", ["filters"], "method"falsefalsefalse58), "html"nulltrue);
  318.             yield "\" class=\"btn btn-secondary action-filters-reset\">
  319.                             <i class=\"fa fa-close\"></i>
  320.                         </a>
  321.                     ";
  322.         }
  323.         // line 62
  324.         yield "                </div>
  325.             ";
  326.         
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  328.         
  329.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  330.         return; yield '';
  331.     }
  332.     // line 67
  333.     public function block_global_actions($context, array $blocks = [])
  334.     {
  335.         $macros $this->macros;
  336.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  337.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""global_actions"));
  338.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  339.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""global_actions"));
  340.         // line 68
  341.         yield "        <div class=\"global-actions\">
  342.             ";
  343.         // line 69
  344.         $context['_parent'] = $context;
  345.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["global_actions"]) || array_key_exists("global_actions"$context) ? $context["global_actions"] : (function () { throw new RuntimeError('Variable "global_actions" does not exist.'69$this->source); })()));
  346.         foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
  347.             // line 70
  348.             yield "                ";
  349.             yield Twig\Extension\CoreExtension::include($this->env$contextCoreExtension::getAttribute($this->env$this->source$context["action"], "templatePath", [], "any"falsefalsefalse70), ["action" => $context["action"]], false);
  350.             yield "
  351.             ";
  352.         }
  353.         $_parent $context['_parent'];
  354.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
  355.         $context array_intersect_key($context$_parent) + $_parent;
  356.         // line 72
  357.         yield "        </div>
  358.     ";
  359.         
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  361.         
  362.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  363.         return; yield '';
  364.     }
  365.     // line 74
  366.     public function block_batch_actions($context, array $blocks = [])
  367.     {
  368.         $macros $this->macros;
  369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  370.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_actions"));
  371.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  372.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_actions"));
  373.         // line 75
  374.         yield "        ";
  375.         if ((isset($context["has_batch_actions"]) || array_key_exists("has_batch_actions"$context) ? $context["has_batch_actions"] : (function () { throw new RuntimeError('Variable "has_batch_actions" does not exist.'75$this->source); })())) {
  376.             // line 76
  377.             yield "            <div class=\"batch-actions d-none\">
  378.                 ";
  379.             // line 77
  380.             $context['_parent'] = $context;
  381.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["batch_actions"]) || array_key_exists("batch_actions"$context) ? $context["batch_actions"] : (function () { throw new RuntimeError('Variable "batch_actions" does not exist.'77$this->source); })()));
  382.             foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
  383.                 // line 78
  384.                 yield "                    ";
  385.                 yield Twig\Extension\CoreExtension::include($this->env$contextCoreExtension::getAttribute($this->env$this->source$context["action"], "templatePath", [], "any"falsefalsefalse78), ["action" => $context["action"]], false);
  386.                 yield "
  387.                 ";
  388.             }
  389.             $_parent $context['_parent'];
  390.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
  391.             $context array_intersect_key($context$_parent) + $_parent;
  392.             // line 80
  393.             yield "            </div>
  394.         ";
  395.         }
  396.         // line 82
  397.         yield "    ";
  398.         
  399.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  400.         
  401.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  402.         return; yield '';
  403.     }
  404.     // line 85
  405.     public function block_main($context, array $blocks = [])
  406.     {
  407.         $macros $this->macros;
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  411.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  412.         // line 86
  413.         yield "    ";
  414.         // line 87
  415.         yield "    ";
  416.         $context["sort_field_name"] = Twig\Extension\CoreExtension::first($this->env->getCharset(), Twig\Extension\CoreExtension::keys(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'87$this->source); })()), "request", [], "any"falsefalsefalse87), "get", ["sort"], "method"falsefalsefalse87)));
  417.         // line 88
  418.         yield "    ";
  419.         $context["sort_order"] = Twig\Extension\CoreExtension::first($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'88$this->source); })()), "request", [], "any"falsefalsefalse88), "get", ["sort"], "method"falsefalsefalse88));
  420.         // line 89
  421.         yield "    ";
  422.         $context["some_results_are_hidden"] = Twig\Extension\CoreExtension::reduce($this->env, (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'89$this->source); })()), function ($__some_results_are_hidden__$__entity__) use ($context$macros) { $context["some_results_are_hidden"] = $__some_results_are_hidden__$context["entity"] = $__entity__; return ((isset($context["some_results_are_hidden"]) || array_key_exists("some_results_are_hidden"$context) ? $context["some_results_are_hidden"] : (function () { throw new RuntimeError('Variable "some_results_are_hidden" does not exist.'89$this->source); })()) ||  !CoreExtension::getAttribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'89$this->source); })()), "isAccessible", [], "any"falsefalsefalse89)); }, false);
  423.         // line 90
  424.         yield "    ";
  425.         $context["has_footer"] = (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'90$this->source); })())) != 0);
  426.         // line 91
  427.         yield "    ";
  428.         $context["has_search"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'91$this->source); })()), "crud", [], "any"falsefalsefalse91), "isSearchEnabled", [], "any"falsefalsefalse91);
  429.         // line 92
  430.         yield "    ";
  431.         $context["has_filters"] = (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'92$this->source); })())) > 0);
  432.         // line 93
  433.         yield "    ";
  434.         $context["num_results"] = Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'93$this->source); })()));
  435.         // line 94
  436.         yield "
  437.     <table class=\"table table-striped datagrid  ";
  438.         // line 95
  439.         yield ((Twig\Extension\CoreExtension::testEmpty((isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'95$this->source); })()))) ? ("datagrid-empty") : (""));
  440.         yield "\">
  441.         ";
  442.         // line 96
  443.         if (((isset($context["num_results"]) || array_key_exists("num_results"$context) ? $context["num_results"] : (function () { throw new RuntimeError('Variable "num_results" does not exist.'96$this->source); })()) > 0)) {
  444.             // line 97
  445.             yield "            <thead>
  446.             ";
  447.             // line 98
  448.             yield from $this->unwrap()->yieldBlock('table_head'$context$blocks);
  449.             // line 131
  450.             yield "            </thead>
  451.         ";
  452.         }
  453.         // line 133
  454.         yield "
  455.         <tbody>
  456.         ";
  457.         // line 135
  458.         yield from $this->unwrap()->yieldBlock('table_body'$context$blocks);
  459.         // line 214
  460.         yield "        </tbody>
  461.         <tfoot>
  462.         ";
  463.         // line 217
  464.         yield from $this->unwrap()->yieldBlock('table_footer'$context$blocks);
  465.         // line 219
  466.         yield "        </tfoot>
  467.     </table>
  468.     ";
  469.         // line 222
  470.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'222$this->source); })())) > 0)) {
  471.             // line 223
  472.             yield "        <div class=\"content-panel-footer without-padding without-border\">
  473.             ";
  474.             // line 224
  475.             yield from $this->unwrap()->yieldBlock('paginator'$context$blocks);
  476.             // line 227
  477.             yield "        </div>
  478.     ";
  479.         }
  480.         // line 229
  481.         yield "
  482.     ";
  483.         // line 230
  484.         yield from $this->unwrap()->yieldBlock('delete_form'$context$blocks);
  485.         // line 233
  486.         yield "
  487.     ";
  488.         // line 234
  489.         if ((isset($context["has_filters"]) || array_key_exists("has_filters"$context) ? $context["has_filters"] : (function () { throw new RuntimeError('Variable "has_filters" does not exist.'234$this->source); })())) {
  490.             // line 235
  491.             yield "        ";
  492.             yield Twig\Extension\CoreExtension::include($this->env$context"@EasyAdmin/crud/includes/_filters_modal.html.twig");
  493.             yield "
  494.     ";
  495.         }
  496.         // line 237
  497.         yield "
  498.     ";
  499.         // line 238
  500.         if ((isset($context["has_batch_actions"]) || array_key_exists("has_batch_actions"$context) ? $context["has_batch_actions"] : (function () { throw new RuntimeError('Variable "has_batch_actions" does not exist.'238$this->source); })())) {
  501.             // line 239
  502.             yield "        ";
  503.             yield Twig\Extension\CoreExtension::include($this->env$context"@EasyAdmin/crud/includes/_batch_action_modal.html.twig", [], false);
  504.             yield "
  505.     ";
  506.         }
  507.         
  508.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  509.         
  510.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  511.         return; yield '';
  512.     }
  513.     // line 98
  514.     public function block_table_head($context, array $blocks = [])
  515.     {
  516.         $macros $this->macros;
  517.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  518.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_head"));
  519.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  520.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_head"));
  521.         // line 99
  522.         yield "                <tr>
  523.                     ";
  524.         // line 100
  525.         if ((isset($context["has_batch_actions"]) || array_key_exists("has_batch_actions"$context) ? $context["has_batch_actions"] : (function () { throw new RuntimeError('Variable "has_batch_actions" does not exist.'100$this->source); })())) {
  526.             // line 101
  527.             yield "                        <th>
  528.                             <div class=\"form-check\">
  529.                                 <span><input type=\"checkbox\" class=\"form-check-input form-batch-checkbox-all\"></span>
  530.                             </div>
  531.                         </th>
  532.                     ";
  533.         }
  534.         // line 107
  535.         yield "
  536.                     ";
  537.         // line 108
  538.         $context["ea_sort_asc"] = Twig\Extension\CoreExtension::constant("EasyCorp\\Bundle\\EasyAdminBundle\\Config\\Option\\SortOrder::ASC");
  539.         // line 109
  540.         yield "                    ";
  541.         $context["ea_sort_desc"] = Twig\Extension\CoreExtension::constant("EasyCorp\\Bundle\\EasyAdminBundle\\Config\\Option\\SortOrder::DESC");
  542.         // line 110
  543.         yield "                    ";
  544.         $context['_parent'] = $context;
  545.         $context['_seq'] = CoreExtension::ensureTraversable((((CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::first($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'110$this->source); })())), "fields", [], "any"truetruefalse110) &&  !(null === CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::first($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'110$this->source); })())), "fields", [], "any"falsefalsefalse110)))) ? (CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::first($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'110$this->source); })())), "fields", [], "any"falsefalsefalse110)) : ([])));
  546.         foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
  547.             // line 111
  548.             yield "                        ";
  549.             $context["is_sorting_field"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'111$this->source); })()), "search", [], "any"falsefalsefalse111), "isSortingField", [CoreExtension::getAttribute($this->env$this->source$context["field"], "property", [], "any"falsefalsefalse111)], "method"falsefalsefalse111);
  550.             // line 112
  551.             yield "                        ";
  552.             $context["next_sort_direction"] = (((isset($context["is_sorting_field"]) || array_key_exists("is_sorting_field"$context) ? $context["is_sorting_field"] : (function () { throw new RuntimeError('Variable "is_sorting_field" does not exist.'112$this->source); })())) ? ((((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'112$this->source); })()), "search", [], "any"falsefalsefalse112), "sortDirection", [CoreExtension::getAttribute($this->env$this->source$context["field"], "property", [], "any"falsefalsefalse112)], "method"falsefalsefalse112) == (isset($context["ea_sort_desc"]) || array_key_exists("ea_sort_desc"$context) ? $context["ea_sort_desc"] : (function () { throw new RuntimeError('Variable "ea_sort_desc" does not exist.'112$this->source); })()))) ? ((isset($context["ea_sort_asc"]) || array_key_exists("ea_sort_asc"$context) ? $context["ea_sort_asc"] : (function () { throw new RuntimeError('Variable "ea_sort_asc" does not exist.'112$this->source); })())) : ((isset($context["ea_sort_desc"]) || array_key_exists("ea_sort_desc"$context) ? $context["ea_sort_desc"] : (function () { throw new RuntimeError('Variable "ea_sort_desc" does not exist.'112$this->source); })())))) : ((isset($context["ea_sort_desc"]) || array_key_exists("ea_sort_desc"$context) ? $context["ea_sort_desc"] : (function () { throw new RuntimeError('Variable "ea_sort_desc" does not exist.'112$this->source); })())));
  553.             // line 113
  554.             yield "                        ";
  555.             $context["column_icon"] = (((isset($context["is_sorting_field"]) || array_key_exists("is_sorting_field"$context) ? $context["is_sorting_field"] : (function () { throw new RuntimeError('Variable "is_sorting_field" does not exist.'113$this->source); })())) ? (((((isset($context["next_sort_direction"]) || array_key_exists("next_sort_direction"$context) ? $context["next_sort_direction"] : (function () { throw new RuntimeError('Variable "next_sort_direction" does not exist.'113$this->source); })()) == (isset($context["ea_sort_desc"]) || array_key_exists("ea_sort_desc"$context) ? $context["ea_sort_desc"] : (function () { throw new RuntimeError('Variable "ea_sort_desc" does not exist.'113$this->source); })()))) ? ("fa-arrow-up") : ("fa-arrow-down"))) : ("fa-sort"));
  556.             // line 114
  557.             yield "
  558.                         <th data-column=\"";
  559.             // line 115
  560.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["field"], "property", [], "any"falsefalsefalse115), "html"nulltrue);
  561.             yield "\" class=\"";
  562.             yield (((isset($context["is_sorting_field"]) || array_key_exists("is_sorting_field"$context) ? $context["is_sorting_field"] : (function () { throw new RuntimeError('Variable "is_sorting_field" does not exist.'115$this->source); })())) ? ("sorted") : (""));
  563.             yield " ";
  564.             yield ((CoreExtension::getAttribute($this->env$this->source$context["field"], "isVirtual", [], "any"falsefalsefalse115)) ? ("field-virtual") : (""));
  565.             yield " header-for-";
  566.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(Twig\Extension\CoreExtension::filter($this->envTwig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["field"], "cssClass", [], "any"falsefalsefalse115), " "), function ($__class__) use ($context$macros) { $context["class"] = $__class__; return (is_string($__internal_compile_0 = (isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'115$this->source); })())) && is_string($__internal_compile_1 "field-") && str_starts_with($__internal_compile_0$__internal_compile_1)); }), ""), "html"nulltrue);
  567.             yield " text-";
  568.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["field"], "textAlign", [], "any"falsefalsefalse115), "html"nulltrue);
  569.             yield "\" dir=\"";
  570.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'115$this->source); })()), "i18n", [], "any"falsefalsefalse115), "textDirection", [], "any"falsefalsefalse115), "html"nulltrue);
  571.             yield "\">
  572.                             ";
  573.             // line 116
  574.             if (CoreExtension::getAttribute($this->env$this->source$context["field"], "isSortable", [], "any"falsefalsefalse116)) {
  575.                 // line 117
  576.                 yield "                                <a href=\"";
  577.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(["page" => 1"sort" => [CoreExtension::getAttribute($this->env$this->source$context["field"], "property", [], "any"falsefalsefalse117) => (isset($context["next_sort_direction"]) || array_key_exists("next_sort_direction"$context) ? $context["next_sort_direction"] : (function () { throw new RuntimeError('Variable "next_sort_direction" does not exist.'117$this->source); })())]]), "includeReferrer", [], "method"falsefalsefalse117), "html"nulltrue);
  578.                 yield "\">
  579.                                     ";
  580.                 // line 118
  581.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source$context["field"], "label", [], "any"falsefalsefalse118), [],                 // line 5
  582. (isset($context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"]) || array_key_exists("__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"$context) ? $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] : (function () { throw new RuntimeError('Variable "__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676" does not exist.'5$this->source); })()));
  583.                 // line 118
  584.                 yield " <i class=\"fa fa-fw ";
  585.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["column_icon"]) || array_key_exists("column_icon"$context) ? $context["column_icon"] : (function () { throw new RuntimeError('Variable "column_icon" does not exist.'118$this->source); })()), "html"nulltrue);
  586.                 yield "\"></i>
  587.                                 </a>
  588.                             ";
  589.             } else {
  590.                 // line 121
  591.                 yield "                                <span>";
  592.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source$context["field"], "label", [], "any"falsefalsefalse121), [],                 // line 5
  593. (isset($context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"]) || array_key_exists("__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"$context) ? $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] : (function () { throw new RuntimeError('Variable "__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676" does not exist.'5$this->source); })()));
  594.                 // line 121
  595.                 yield "</span>
  596.                             ";
  597.             }
  598.             // line 123
  599.             yield "                        </th>
  600.                     ";
  601.         }
  602.         $_parent $context['_parent'];
  603.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
  604.         $context array_intersect_key($context$_parent) + $_parent;
  605.         // line 125
  606.         yield "
  607.                     <th class=\"";
  608.         // line 126
  609.         yield ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'126$this->source); })()), "crud", [], "any"falsefalsefalse126), "showEntityActionsAsDropdown", [], "any"falsefalsefalse126)) ? ("actions-as-dropdown-table-head") : (""));
  610.         yield "\" dir=\"";
  611.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'126$this->source); })()), "i18n", [], "any"falsefalsefalse126), "textDirection", [], "any"falsefalsefalse126), "html"nulltrue);
  612.         yield "\">
  613.                         <span class=\"sr-only\">";
  614.         // line 127
  615.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->createTranslatable("action.entity_actions"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'127$this->source); })()), "i18n", [], "any"falsefalsefalse127), "translationParameters", [], "any"falsefalsefalse127), "EasyAdminBundle"), [],         // line 5
  616. (isset($context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"]) || array_key_exists("__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"$context) ? $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] : (function () { throw new RuntimeError('Variable "__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676" does not exist.'5$this->source); })())), "html"nulltrue);
  617.         // line 127
  618.         yield "</span>
  619.                     </th>
  620.                 </tr>
  621.             ";
  622.         
  623.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  624.         
  625.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  626.         return; yield '';
  627.     }
  628.     // line 135
  629.     public function block_table_body($context, array $blocks = [])
  630.     {
  631.         $macros $this->macros;
  632.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  633.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_body"));
  634.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  635.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_body"));
  636.         // line 136
  637.         yield "            ";
  638.         $context['_parent'] = $context;
  639.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'136$this->source); })()));
  640.         $context['_iterated'] = false;
  641.         $context['loop'] = [
  642.           'parent' => $context['_parent'],
  643.           'index0' => 0,
  644.           'index'  => 1,
  645.           'first'  => true,
  646.         ];
  647.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  648.             $length count($context['_seq']);
  649.             $context['loop']['revindex0'] = $length 1;
  650.             $context['loop']['revindex'] = $length;
  651.             $context['loop']['length'] = $length;
  652.             $context['loop']['last'] = === $length;
  653.         }
  654.         foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
  655.             // line 137
  656.             yield "                ";
  657.             if (CoreExtension::getAttribute($this->env$this->source$context["entity"], "isAccessible", [], "any"falsefalsefalse137)) {
  658.                 // line 138
  659.                 yield "                    <tr data-id=\"";
  660.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["entity"], "primaryKeyValueAsString", [], "any"falsefalsefalse138), "html"nulltrue);
  661.                 yield "\">
  662.                         ";
  663.                 // line 139
  664.                 if ((isset($context["has_batch_actions"]) || array_key_exists("has_batch_actions"$context) ? $context["has_batch_actions"] : (function () { throw new RuntimeError('Variable "has_batch_actions" does not exist.'139$this->source); })())) {
  665.                     // line 140
  666.                     yield "                            <td class=\"batch-actions-selector\">
  667.                                 <div class=\"form-check\">
  668.                                     <input type=\"checkbox\" class=\"form-check-input form-batch-checkbox\" value=\"";
  669.                     // line 142
  670.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["entity"], "primaryKeyValue", [], "any"falsefalsefalse142), "html"nulltrue);
  671.                     yield "\">
  672.                                 </div>
  673.                             </td>
  674.                         ";
  675.                 }
  676.                 // line 146
  677.                 yield "
  678.                         ";
  679.                 // line 147
  680.                 $context['_parent'] = $context;
  681.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["entity"], "fields", [], "any"falsefalsefalse147));
  682.                 foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
  683.                     // line 148
  684.                     yield "                            <td data-column=\"";
  685.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["field"], "property", [], "any"falsefalsefalse148), "html"nulltrue);
  686.                     yield "\" data-label=\"";
  687.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source$context["field"], "label", [], "any"falsefalsefalse148), [],                     // line 5
  688. (isset($context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"]) || array_key_exists("__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"$context) ? $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] : (function () { throw new RuntimeError('Variable "__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676" does not exist.'5$this->source); })())), "html_attr");
  689.                     // line 148
  690.                     yield "\" class=\"";
  691.                     yield (((CoreExtension::getAttribute($this->env$this->source$context["field"], "property", [], "any"falsefalsefalse148) == (isset($context["sort_field_name"]) || array_key_exists("sort_field_name"$context) ? $context["sort_field_name"] : (function () { throw new RuntimeError('Variable "sort_field_name" does not exist.'148$this->source); })()))) ? ("sorted") : (""));
  692.                     yield " text-";
  693.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["field"], "textAlign", [], "any"falsefalsefalse148), "html"nulltrue);
  694.                     yield " ";
  695.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["field"], "cssClass", [], "any"falsefalsefalse148), "html"nulltrue);
  696.                     yield "\" dir=\"";
  697.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'148$this->source); })()), "i18n", [], "any"falsefalsefalse148), "textDirection", [], "any"falsefalsefalse148), "html"nulltrue);
  698.                     yield "\">
  699.                                 ";
  700.                     // line 149
  701.                     yield Twig\Extension\CoreExtension::include($this->env$contextCoreExtension::getAttribute($this->env$this->source$context["field"], "templatePath", [], "any"falsefalsefalse149), ["field" => $context["field"], "entity" => $context["entity"]], false);
  702.                     yield "
  703.                             </td>
  704.                         ";
  705.                 }
  706.                 $_parent $context['_parent'];
  707.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
  708.                 $context array_intersect_key($context$_parent) + $_parent;
  709.                 // line 152
  710.                 yield "
  711.                         ";
  712.                 // line 153
  713.                 yield from $this->unwrap()->yieldBlock('entity_actions'$context$blocks);
  714.                 // line 180
  715.                 yield "                    </tr>
  716.                 ";
  717.             }
  718.             // line 183
  719.             yield "            ";
  720.             $context['_iterated'] = true;
  721.             ++$context['loop']['index0'];
  722.             ++$context['loop']['index'];
  723.             $context['loop']['first'] = false;
  724.             if (isset($context['loop']['length'])) {
  725.                 --$context['loop']['revindex0'];
  726.                 --$context['loop']['revindex'];
  727.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  728.             }
  729.         }
  730.         if (!$context['_iterated']) {
  731.             // line 184
  732.             yield "                ";
  733.             yield from $this->unwrap()->yieldBlock('table_body_empty'$context$blocks);
  734.             // line 204
  735.             yield "            ";
  736.         }
  737.         $_parent $context['_parent'];
  738.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
  739.         $context array_intersect_key($context$_parent) + $_parent;
  740.         // line 205
  741.         yield "
  742.             ";
  743.         // line 206
  744.         if ((isset($context["some_results_are_hidden"]) || array_key_exists("some_results_are_hidden"$context) ? $context["some_results_are_hidden"] : (function () { throw new RuntimeError('Variable "some_results_are_hidden" does not exist.'206$this->source); })())) {
  745.             // line 207
  746.             yield "                <tr class=\"datagrid-row-empty\">
  747.                     <td class=\"text-center\" colspan=\"100\">
  748.                         <span class=\"datagrid-row-empty-message\"><i class=\"fa fa-lock mr-1\"></i> ";
  749.             // line 209
  750.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("datagrid.hidden_results", [], "EasyAdminBundle"), "html"nulltrue);
  751.             yield "</span>
  752.                     </td>
  753.                 </tr>
  754.             ";
  755.         }
  756.         // line 213
  757.         yield "        ";
  758.         
  759.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  760.         
  761.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  762.         return; yield '';
  763.     }
  764.     // line 153
  765.     public function block_entity_actions($context, array $blocks = [])
  766.     {
  767.         $macros $this->macros;
  768.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  769.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""entity_actions"));
  770.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  771.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""entity_actions"));
  772.         // line 154
  773.         yield "                            <td class=\"actions ";
  774.         yield ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'154$this->source); })()), "crud", [], "any"falsefalsefalse154), "showEntityActionsAsDropdown", [], "any"falsefalsefalse154)) ? ("actions-as-dropdown") : (""));
  775.         yield "\">
  776.                                 ";
  777.         // line 155
  778.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'155$this->source); })()), "actions", [], "any"falsefalsefalse155), "count", [], "any"falsefalsefalse155) > 0)) {
  779.             // line 156
  780.             yield "                                    ";
  781.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'156$this->source); })()), "crud", [], "any"falsefalsefalse156), "showEntityActionsAsDropdown", [], "any"falsefalsefalse156)) {
  782.                 // line 157
  783.                 yield "                                        <div class=\"dropdown dropdown-actions\">
  784.                                             <a class=\"dropdown-toggle\" href=\"#\" role=\"button\" data-bs-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
  785.                                                 ";
  786.                 // line 160
  787.                 yield "                                                ";
  788.                 // line 161
  789.                 yield "                                                <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"21\" width=\"21\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">
  790.                                                     <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z\" />
  791.                                                 </svg>
  792.                                             </a>
  793.                                             <div class=\"dropdown-menu dropdown-menu-right\">
  794.                                                 ";
  795.                 // line 167
  796.                 $context['_parent'] = $context;
  797.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'167$this->source); })()), "actions", [], "any"falsefalsefalse167));
  798.                 foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
  799.                     // line 168
  800.                     yield "                                                    ";
  801.                     yield Twig\Extension\CoreExtension::include($this->env$contextCoreExtension::getAttribute($this->env$this->source$context["action"], "templatePath", [], "any"falsefalsefalse168), ["action" => $context["action"], "entity" => (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'168$this->source); })()), "isIncludedInDropdown" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'168$this->source); })()), "crud", [], "any"falsefalsefalse168), "showEntityActionsAsDropdown", [], "any"falsefalsefalse168)], false);
  802.                     yield "
  803.                                                 ";
  804.                 }
  805.                 $_parent $context['_parent'];
  806.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
  807.                 $context array_intersect_key($context$_parent) + $_parent;
  808.                 // line 170
  809.                 yield "                                            </div>
  810.                                         </div>
  811.                                     ";
  812.             } else {
  813.                 // line 173
  814.                 yield "                                        ";
  815.                 $context['_parent'] = $context;
  816.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'173$this->source); })()), "actions", [], "any"falsefalsefalse173));
  817.                 foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
  818.                     // line 174
  819.                     yield "                                            ";
  820.                     yield Twig\Extension\CoreExtension::include($this->env$contextCoreExtension::getAttribute($this->env$this->source$context["action"], "templatePath", [], "any"falsefalsefalse174), ["action" => $context["action"], "entity" => (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'174$this->source); })()), "isIncludedInDropdown" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'174$this->source); })()), "crud", [], "any"falsefalsefalse174), "showEntityActionsAsDropdown", [], "any"falsefalsefalse174)], false);
  821.                     yield "
  822.                                         ";
  823.                 }
  824.                 $_parent $context['_parent'];
  825.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
  826.                 $context array_intersect_key($context$_parent) + $_parent;
  827.                 // line 176
  828.                 yield "                                    ";
  829.             }
  830.             // line 177
  831.             yield "                                ";
  832.         }
  833.         // line 178
  834.         yield "                            </td>
  835.                         ";
  836.         
  837.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  838.         
  839.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  840.         return; yield '';
  841.     }
  842.     // line 184
  843.     public function block_table_body_empty($context, array $blocks = [])
  844.     {
  845.         $macros $this->macros;
  846.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  847.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_body_empty"));
  848.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  849.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_body_empty"));
  850.         // line 185
  851.         yield "                    ";
  852.         $context['_parent'] = $context;
  853.         $context['_seq'] = CoreExtension::ensureTraversable(range(114));
  854.         $context['loop'] = [
  855.           'parent' => $context['_parent'],
  856.           'index0' => 0,
  857.           'index'  => 1,
  858.           'first'  => true,
  859.         ];
  860.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  861.             $length count($context['_seq']);
  862.             $context['loop']['revindex0'] = $length 1;
  863.             $context['loop']['revindex'] = $length;
  864.             $context['loop']['length'] = $length;
  865.             $context['loop']['last'] = === $length;
  866.         }
  867.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  868.             // line 186
  869.             yield "                        <tr class=\"empty-row\">
  870.                             <td><span></span></td>
  871.                             <td><span></span></td>
  872.                             <td><span></span></td>
  873.                             <td><span></span></td>
  874.                             <td><span></span></td>
  875.                             <td><span></span></td>
  876.                         </tr>
  877.                         ";
  878.             // line 195
  879.             if ((== CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse195))) {
  880.                 // line 196
  881.                 yield "                            <tr class=\"no-results\">
  882.                                 <td colspan=\"100\">
  883.                                     ";
  884.                 // line 198
  885.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->createTranslatable("datagrid.no_results"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'198$this->source); })()), "i18n", [], "any"falsefalsefalse198), "translationParameters", [], "any"falsefalsefalse198), "EasyAdminBundle"), [],                 // line 5
  886. (isset($context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"]) || array_key_exists("__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"$context) ? $context["__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676"] : (function () { throw new RuntimeError('Variable "__internal_77d9a3708bcdcf229fd33cb8ef97bd0eff4e10e435d70cd45089107917eca676" does not exist.'5$this->source); })())), "html"nulltrue);
  887.                 // line 198
  888.                 yield "
  889.                                 </td>
  890.                             </tr>
  891.                         ";
  892.             }
  893.             // line 202
  894.             yield "                    ";
  895.             ++$context['loop']['index0'];
  896.             ++$context['loop']['index'];
  897.             $context['loop']['first'] = false;
  898.             if (isset($context['loop']['length'])) {
  899.                 --$context['loop']['revindex0'];
  900.                 --$context['loop']['revindex'];
  901.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  902.             }
  903.         }
  904.         $_parent $context['_parent'];
  905.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  906.         $context array_intersect_key($context$_parent) + $_parent;
  907.         // line 203
  908.         yield "                ";
  909.         
  910.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  911.         
  912.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  913.         return; yield '';
  914.     }
  915.     // line 217
  916.     public function block_table_footer($context, array $blocks = [])
  917.     {
  918.         $macros $this->macros;
  919.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  920.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_footer"));
  921.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  922.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_footer"));
  923.         // line 218
  924.         yield "        ";
  925.         
  926.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  927.         
  928.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  929.         return; yield '';
  930.     }
  931.     // line 224
  932.     public function block_paginator($context, array $blocks = [])
  933.     {
  934.         $macros $this->macros;
  935.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  936.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""paginator"));
  937.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  938.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""paginator"));
  939.         // line 225
  940.         yield "                ";
  941.         yield Twig\Extension\CoreExtension::include($this->env$contextCoreExtension::getAttribute($this->env$this->source, (isset($context["ea"]) || array_key_exists("ea"$context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.'225$this->source); })()), "templatePath", ["crud/paginator"], "method"falsefalsefalse225), ["render_detailed_pagination" =>  !(isset($context["some_results_are_hidden"]) || array_key_exists("some_results_are_hidden"$context) ? $context["some_results_are_hidden"] : (function () { throw new RuntimeError('Variable "some_results_are_hidden" does not exist.'225$this->source); })())]);
  942.         yield "
  943.             ";
  944.         
  945.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  946.         
  947.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  948.         return; yield '';
  949.     }
  950.     // line 230
  951.     public function block_delete_form($context, array $blocks = [])
  952.     {
  953.         $macros $this->macros;
  954.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  955.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""delete_form"));
  956.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  957.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""delete_form"));
  958.         // line 231
  959.         yield "        ";
  960.         yield Twig\Extension\CoreExtension::include($this->env$context"@EasyAdmin/crud/includes/_delete_form.html.twig", array(), false);
  961.         yield "
  962.     ";
  963.         
  964.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  965.         
  966.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  967.         return; yield '';
  968.     }
  969.     /**
  970.      * @codeCoverageIgnore
  971.      */
  972.     public function getTemplateName()
  973.     {
  974.         return "@EasyAdmin/crud/index.html.twig";
  975.     }
  976.     /**
  977.      * @codeCoverageIgnore
  978.      */
  979.     public function isTraitable()
  980.     {
  981.         return false;
  982.     }
  983.     /**
  984.      * @codeCoverageIgnore
  985.      */
  986.     public function getDebugInfo()
  987.     {
  988.         return array (  1068 => 231,  1058 => 230,  1044 => 225,  1034 => 224,  1023 => 218,  1013 => 217,  1002 => 203,  988 => 202,  982 => 198,  980 => 5,  979 => 198,  975 => 196,  973 => 195,  962 => 186,  944 => 185,  934 => 184,  922 => 178,  919 => 177,  916 => 176,  907 => 174,  902 => 173,  897 => 170,  888 => 168,  884 => 167,  876 => 161,  874 => 160,  870 => 157,  867 => 156,  865 => 155,  860 => 154,  850 => 153,  839 => 213,  832 => 209,  828 => 207,  826 => 206,  823 => 205,  817 => 204,  814 => 184,  801 => 183,  796 => 180,  794 => 153,  791 => 152,  782 => 149,  771 => 148,  769 => 5,  765 => 148,  761 => 147,  758 => 146,  751 => 142,  747 => 140,  745 => 139,  740 => 138,  737 => 137,  718 => 136,  708 => 135,  694 => 127,  692 => 5,  691 => 127,  685 => 126,  682 => 125,  675 => 123,  671 => 121,  669 => 5,  667 => 121,  660 => 118,  658 => 5,  657 => 118,  652 => 117,  650 => 116,  636 => 115,  633 => 114,  630 => 113,  627 => 112,  624 => 111,  619 => 110,  616 => 109,  614 => 108,  611 => 107,  603 => 101,  601 => 100,  598 => 99,  588 => 98,  573 => 239,  571 => 238,  568 => 237,  562 => 235,  560 => 234,  557 => 233,  555 => 230,  552 => 229,  548 => 227,  546 => 224,  543 => 223,  541 => 222,  536 => 219,  534 => 217,  529 => 214,  527 => 135,  523 => 133,  519 => 131,  517 => 98,  514 => 97,  512 => 96,  508 => 95,  505 => 94,  502 => 93,  499 => 92,  496 => 91,  493 => 90,  490 => 89,  487 => 88,  484 => 87,  482 => 86,  472 => 85,  461 => 82,  457 => 80,  448 => 78,  444 => 77,  441 => 76,  438 => 75,  428 => 74,  416 => 72,  407 => 70,  403 => 69,  400 => 68,  390 => 67,  378 => 62,  370 => 58,  368 => 57,  365 => 56,  359 => 55,  357 => 5,  356 => 55,  350 => 54,  347 => 53,  344 => 52,  334 => 51,  322 => 74,  320 => 67,  317 => 66,  313 => 64,  311 => 51,  308 => 50,  305 => 49,  295 => 48,  284 => 39,  280 => 5,  279 => 43,  278 => 5,  277 => 42,  275 => 41,  273 => 40,  271 => 39,  261 => 38,  248 => 35,  244 => 34,  239 => 33,  229 => 32,  216 => 29,  212 => 28,  207 => 27,  197 => 26,  179 => 22,  175 => 21,  170 => 20,  160 => 19,  142 => 15,  138 => 14,  133 => 13,  123 => 12,  103 => 8,  83 => 7,  73 => 4,  71 => 47,  69 => 10,  67 => 5,  54 => 4,);
  989.     }
  990.     public function getSourceContext()
  991.     {
  992.         return new Source("{# @var ea \\EasyCorp\\Bundle\\EasyAdminBundle\\Context\\AdminContext #}
  993. {# @var entities \\EasyCorp\\Bundle\\EasyAdminBundle\\Collection\\EntityCollection #}
  994. {# @var paginator \\EasyCorp\\Bundle\\EasyAdminBundle\\Orm\\EntityPaginator #}
  995. {% extends ea.templatePath('layout') %}
  996. {% trans_default_domain ea.i18n.translationDomain %}
  997. {% block body_id entities|length > 0 ? 'ea-index-' ~ entities|first.name : '' %}
  998. {% block body_class 'ea-index' ~ (entities|length > 0 ? ' ea-index-' ~ entities|first.name : '') %}
  999. {% set ea_field_assets = ea.crud.fieldAssets(constant('EasyCorp\\\\Bundle\\\\EasyAdminBundle\\\\Config\\\\Crud::PAGE_INDEX')) %}
  1000. {% block configured_head_contents %}
  1001.     {{ parent() }}
  1002.     {% for htmlContent in ea_field_assets.headContents %}
  1003.         {{ htmlContent|raw }}
  1004.     {% endfor %}
  1005. {% endblock %}
  1006. {% block configured_body_contents %}
  1007.     {{ parent() }}
  1008.     {% for htmlContent in ea_field_assets.bodyContents %}
  1009.         {{ htmlContent|raw }}
  1010.     {% endfor %}
  1011. {% endblock %}
  1012. {% block configured_stylesheets %}
  1013.     {{ parent() }}
  1014.     {{ include('@EasyAdmin/includes/_css_assets.html.twig', { assets: ea_field_assets.cssAssets }, with_context = false) }}
  1015.     {{ include('@EasyAdmin/includes/_encore_link_tags.html.twig', { assets: ea_field_assets.webpackEncoreAssets }, with_context = false) }}
  1016. {% endblock %}
  1017. {% block configured_javascripts %}
  1018.     {{ parent() }}
  1019.     {{ include('@EasyAdmin/includes/_js_assets.html.twig', { assets: ea_field_assets.jsAssets }, with_context = false) }}
  1020.     {{ include('@EasyAdmin/includes/_encore_script_tags.html.twig', { assets: ea_field_assets.webpackEncoreAssets }, with_context = false) }}
  1021. {% endblock %}
  1022. {% block content_title %}
  1023.     {%- apply spaceless -%}
  1024.         {% set custom_page_title = ea.crud.customPageTitle('index', null, ea.i18n.translationParameters) %}
  1025.         {{ custom_page_title is null
  1026.             ? ea.crud.defaultPageTitle('index', null, ea.i18n.translationParameters)|trans|raw
  1027.             : custom_page_title|trans|raw }}
  1028.     {%- endapply -%}
  1029. {% endblock %}
  1030. {% set has_batch_actions = batch_actions|length > 0 %}
  1031. {% block page_actions %}
  1032.     {% if filters|length > 0 %}
  1033.         <div class=\"datagrid-filters\">
  1034.             {% block filters %}
  1035.                 {% set applied_filters = ea.request.query.all['filters']|default([])|keys %}
  1036.                 <div class=\"btn-group action-filters\">
  1037.                     <a href=\"#\" data-href=\"{{ ea_url().setAction('renderFilters').includeReferrer() }}\" class=\"btn btn-secondary btn-labeled btn-labeled-right action-filters-button disabled {{ applied_filters ? 'action-filters-applied' }}\" data-bs-toggle=\"modal\" data-bs-target=\"#modal-filters\">
  1038.                         <i class=\"fa fa-filter fa-fw\"></i> {{ t('filter.title', ea.i18n.translationParameters, 'EasyAdminBundle')|trans }}{% if applied_filters %} <span class=\"action-filters-button-count\">({{ applied_filters|length }})</span>{% endif %}
  1039.                     </a>
  1040.                     {% if applied_filters %}
  1041.                         <a href=\"{{ ea_url().unset('filters') }}\" class=\"btn btn-secondary action-filters-reset\">
  1042.                             <i class=\"fa fa-close\"></i>
  1043.                         </a>
  1044.                     {% endif %}
  1045.                 </div>
  1046.             {% endblock filters %}
  1047.         </div>
  1048.     {% endif %}
  1049.     {% block global_actions %}
  1050.         <div class=\"global-actions\">
  1051.             {% for action in global_actions %}
  1052.                 {{ include(action.templatePath, { action: action }, with_context = false) }}
  1053.             {% endfor %}
  1054.         </div>
  1055.     {% endblock global_actions %}
  1056.     {% block batch_actions %}
  1057.         {% if has_batch_actions %}
  1058.             <div class=\"batch-actions d-none\">
  1059.                 {% for action in batch_actions %}
  1060.                     {{ include(action.templatePath, { action: action }, with_context = false) }}
  1061.                 {% endfor %}
  1062.             </div>
  1063.         {% endif %}
  1064.     {% endblock %}
  1065. {% endblock page_actions %}
  1066. {% block main %}
  1067.     {# sort can be multiple; let's consider the sorting field the first one #}
  1068.     {% set sort_field_name = app.request.get('sort')|keys|first %}
  1069.     {% set sort_order = app.request.get('sort')|first %}
  1070.     {% set some_results_are_hidden = entities|reduce((some_results_are_hidden, entity) => some_results_are_hidden or not entity.isAccessible, false) %}
  1071.     {% set has_footer = entities|length != 0 %}
  1072.     {% set has_search = ea.crud.isSearchEnabled %}
  1073.     {% set has_filters = filters|length > 0 %}
  1074.     {% set num_results = entities|length %}
  1075.     <table class=\"table table-striped datagrid  {{ entities is empty ? 'datagrid-empty' }}\">
  1076.         {% if num_results > 0 %}
  1077.             <thead>
  1078.             {% block table_head %}
  1079.                 <tr>
  1080.                     {% if has_batch_actions %}
  1081.                         <th>
  1082.                             <div class=\"form-check\">
  1083.                                 <span><input type=\"checkbox\" class=\"form-check-input form-batch-checkbox-all\"></span>
  1084.                             </div>
  1085.                         </th>
  1086.                     {% endif %}
  1087.                     {% set ea_sort_asc = constant('EasyCorp\\\\Bundle\\\\EasyAdminBundle\\\\Config\\\\Option\\\\SortOrder::ASC') %}
  1088.                     {% set ea_sort_desc = constant('EasyCorp\\\\Bundle\\\\EasyAdminBundle\\\\Config\\\\Option\\\\SortOrder::DESC') %}
  1089.                     {% for field in entities|first.fields ?? [] %}
  1090.                         {% set is_sorting_field = ea.search.isSortingField(field.property) %}
  1091.                         {% set next_sort_direction = is_sorting_field ? (ea.search.sortDirection(field.property) == ea_sort_desc ? ea_sort_asc : ea_sort_desc) : ea_sort_desc %}
  1092.                         {% set column_icon = is_sorting_field ? (next_sort_direction == ea_sort_desc ? 'fa-arrow-up' : 'fa-arrow-down') : 'fa-sort' %}
  1093.                         <th data-column=\"{{ field.property }}\" class=\"{{ is_sorting_field ? 'sorted' }} {{ field.isVirtual ? 'field-virtual' }} header-for-{{ field.cssClass|split(' ')|filter(class => class starts with 'field-')|join('') }} text-{{ field.textAlign }}\" dir=\"{{ ea.i18n.textDirection }}\">
  1094.                             {% if field.isSortable %}
  1095.                                 <a href=\"{{ ea_url({ page: 1, sort: { (field.property): next_sort_direction } }).includeReferrer() }}\">
  1096.                                     {{ field.label|trans|raw }} <i class=\"fa fa-fw {{ column_icon }}\"></i>
  1097.                                 </a>
  1098.                             {% else %}
  1099.                                 <span>{{ field.label|trans|raw }}</span>
  1100.                             {% endif %}
  1101.                         </th>
  1102.                     {% endfor %}
  1103.                     <th class=\"{{ ea.crud.showEntityActionsAsDropdown ? 'actions-as-dropdown-table-head' }}\" dir=\"{{ ea.i18n.textDirection }}\">
  1104.                         <span class=\"sr-only\">{{ t('action.entity_actions', ea.i18n.translationParameters, 'EasyAdminBundle')|trans }}</span>
  1105.                     </th>
  1106.                 </tr>
  1107.             {% endblock table_head %}
  1108.             </thead>
  1109.         {% endif %}
  1110.         <tbody>
  1111.         {% block table_body %}
  1112.             {% for entity in entities %}
  1113.                 {% if entity.isAccessible %}
  1114.                     <tr data-id=\"{{ entity.primaryKeyValueAsString }}\">
  1115.                         {% if has_batch_actions %}
  1116.                             <td class=\"batch-actions-selector\">
  1117.                                 <div class=\"form-check\">
  1118.                                     <input type=\"checkbox\" class=\"form-check-input form-batch-checkbox\" value=\"{{ entity.primaryKeyValue }}\">
  1119.                                 </div>
  1120.                             </td>
  1121.                         {% endif %}
  1122.                         {% for field in entity.fields %}
  1123.                             <td data-column=\"{{ field.property }}\" data-label=\"{{ field.label|trans|e('html_attr') }}\" class=\"{{ field.property == sort_field_name ? 'sorted' }} text-{{ field.textAlign }} {{ field.cssClass }}\" dir=\"{{ ea.i18n.textDirection }}\">
  1124.                                 {{ include(field.templatePath, { field: field, entity: entity }, with_context = false) }}
  1125.                             </td>
  1126.                         {% endfor %}
  1127.                         {% block entity_actions %}
  1128.                             <td class=\"actions {{ ea.crud.showEntityActionsAsDropdown ? 'actions-as-dropdown' }}\">
  1129.                                 {% if entity.actions.count > 0 %}
  1130.                                     {% if ea.crud.showEntityActionsAsDropdown %}
  1131.                                         <div class=\"dropdown dropdown-actions\">
  1132.                                             <a class=\"dropdown-toggle\" href=\"#\" role=\"button\" data-bs-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
  1133.                                                 {# don't use FontAwesome 'fa-ellipsis-h' icon here because it doesn't look good #}
  1134.                                                 {# this icon is 'dots-horizontal' icon from https://heroicons.com/ #}
  1135.                                                 <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"21\" width=\"21\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">
  1136.                                                     <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z\" />
  1137.                                                 </svg>
  1138.                                             </a>
  1139.                                             <div class=\"dropdown-menu dropdown-menu-right\">
  1140.                                                 {% for action in entity.actions %}
  1141.                                                     {{ include(action.templatePath, { action: action, entity: entity, isIncludedInDropdown: ea.crud.showEntityActionsAsDropdown }, with_context = false) }}
  1142.                                                 {% endfor %}
  1143.                                             </div>
  1144.                                         </div>
  1145.                                     {% else %}
  1146.                                         {% for action in entity.actions %}
  1147.                                             {{ include(action.templatePath, { action: action, entity: entity, isIncludedInDropdown: ea.crud.showEntityActionsAsDropdown }, with_context = false) }}
  1148.                                         {% endfor %}
  1149.                                     {% endif %}
  1150.                                 {% endif %}
  1151.                             </td>
  1152.                         {% endblock entity_actions %}
  1153.                     </tr>
  1154.                 {% endif %}
  1155.             {% else %}
  1156.                 {% block table_body_empty %}
  1157.                     {% for i in 1..14 %}
  1158.                         <tr class=\"empty-row\">
  1159.                             <td><span></span></td>
  1160.                             <td><span></span></td>
  1161.                             <td><span></span></td>
  1162.                             <td><span></span></td>
  1163.                             <td><span></span></td>
  1164.                             <td><span></span></td>
  1165.                         </tr>
  1166.                         {% if 3 == loop.index %}
  1167.                             <tr class=\"no-results\">
  1168.                                 <td colspan=\"100\">
  1169.                                     {{ t('datagrid.no_results', ea.i18n.translationParameters, 'EasyAdminBundle')|trans }}
  1170.                                 </td>
  1171.                             </tr>
  1172.                         {% endif %}
  1173.                     {% endfor %}
  1174.                 {% endblock table_body_empty %}
  1175.             {% endfor %}
  1176.             {% if some_results_are_hidden %}
  1177.                 <tr class=\"datagrid-row-empty\">
  1178.                     <td class=\"text-center\" colspan=\"100\">
  1179.                         <span class=\"datagrid-row-empty-message\"><i class=\"fa fa-lock mr-1\"></i> {{ 'datagrid.hidden_results'|trans({}, 'EasyAdminBundle') }}</span>
  1180.                     </td>
  1181.                 </tr>
  1182.             {% endif %}
  1183.         {% endblock table_body %}
  1184.         </tbody>
  1185.         <tfoot>
  1186.         {% block table_footer %}
  1187.         {% endblock table_footer %}
  1188.         </tfoot>
  1189.     </table>
  1190.     {% if entities|length > 0 %}
  1191.         <div class=\"content-panel-footer without-padding without-border\">
  1192.             {% block paginator %}
  1193.                 {{ include(ea.templatePath('crud/paginator'), { render_detailed_pagination: not some_results_are_hidden }) }}
  1194.             {% endblock paginator %}
  1195.         </div>
  1196.     {% endif %}
  1197.     {% block delete_form %}
  1198.         {{ include('@EasyAdmin/crud/includes/_delete_form.html.twig', with_context = false) }}
  1199.     {% endblock delete_form %}
  1200.     {% if has_filters %}
  1201.         {{ include('@EasyAdmin/crud/includes/_filters_modal.html.twig') }}
  1202.     {% endif %}
  1203.     {% if has_batch_actions %}
  1204.         {{ include('@EasyAdmin/crud/includes/_batch_action_modal.html.twig', {}, with_context = false) }}
  1205.     {% endif %}
  1206. {% endblock main %}
  1207. ""@EasyAdmin/crud/index.html.twig""/home/gebcloud/public_html/ilaveu/templates/bundles/EasyAdminBundle/crud/index.html.twig");
  1208.     }
  1209. }