var/cache/dev/twig/3e/3e6960a83721295f4165f840740524279301daf6939a2fd27c1f2593c2927bd7.php line 56

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* SonataAdminBundle:CRUD:base_list.html.twig */
  14. class __TwigTemplate_7671a9e8925baf6e492fd22acb65fe00da4aad2a28bc1c4dd7c917cde7e42b83 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'actions' => [$this'block_actions'],
  24.             'tab_menu' => [$this'block_tab_menu'],
  25.             'title' => [$this'block_title'],
  26.             'navbar_title' => [$this'block_navbar_title'],
  27.             'list_table' => [$this'block_list_table'],
  28.             'list_header' => [$this'block_list_header'],
  29.             'table_header' => [$this'block_table_header'],
  30.             'table_body' => [$this'block_table_body'],
  31.             'table_footer' => [$this'block_table_footer'],
  32.             'no_result_content' => [$this'block_no_result_content'],
  33.             'list_footer' => [$this'block_list_footer'],
  34.             'batch' => [$this'block_batch'],
  35.             'batch_javascript' => [$this'block_batch_javascript'],
  36.             'batch_actions' => [$this'block_batch_actions'],
  37.             'pager_results' => [$this'block_pager_results'],
  38.             'pager_links' => [$this'block_pager_links'],
  39.             'list_filters_actions' => [$this'block_list_filters_actions'],
  40.             'list_filters' => [$this'block_list_filters'],
  41.             'sonata_list_filter_group_class' => [$this'block_sonata_list_filter_group_class'],
  42.         ];
  43.     }
  44.     protected function doGetParent(array $context)
  45.     {
  46.         // line 12
  47.         return $this->loadTemplate((isset($context["base_template"]) || array_key_exists("base_template"$context) ? $context["base_template"] : (function () { throw new RuntimeError('Variable "base_template" does not exist.'12$this->source); })()), "SonataAdminBundle:CRUD:base_list.html.twig"12);
  48.     }
  49.     protected function doDisplay(array $context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SonataAdminBundle:CRUD:base_list.html.twig"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SonataAdminBundle:CRUD:base_list.html.twig"));
  56.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.         
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  61.     }
  62.     // line 14
  63.     public function block_actions($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  70.         // line 15
  71.         $this->loadTemplate("@SonataAdmin/CRUD/action_buttons.html.twig""SonataAdminBundle:CRUD:base_list.html.twig"15)->display($context);
  72.         
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  74.         
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  76.     }
  77.     // line 18
  78.     public function block_tab_menu($context, array $blocks = [])
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tab_menu"));
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tab_menu"));
  85.         // line 19
  86.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render(twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'19$this->source); })()), "sidemenu", [=> (isset($context["action"]) || array_key_exists("action"$context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.'19$this->source); })())], "method"falsefalsefalse19), ["currentClass" => "active""template" => $this->extensions['Sonata\AdminBundle\Twig\Extension\TemplateRegistryExtension']->getGlobalTemplate("tab_menu_template")], "twig");
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.     }
  92.     // line 25
  93.     public function block_title($context, array $blocks = [])
  94.     {
  95.         $macros $this->macros;
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  100.         // line 26
  101.         echo "    ";
  102.         (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'26$this->source); })()), "isChild", [], "any"falsefalsefalse26) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'26$this->source); })()), "parent", [], "any"falsefalsefalse26), "subject", [], "any"falsefalsefalse26))) ? (print (twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title_edit", ["%name%" => twig_truncate_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'26$this->source); })()), "parent", [], "any"falsefalsefalse26), "toString", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'26$this->source); })()), "parent", [], "any"falsefalsefalse26), "subject", [], "any"falsefalsefalse26)], "method"falsefalsefalse26), 15)], "SonataAdminBundle"), "html"nulltrue))) : (print ("")));
  103.         echo "
  104. ";
  105.         
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  107.         
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  109.     }
  110.     // line 29
  111.     public function block_navbar_title($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_title"));
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_title"));
  118.         // line 30
  119.         echo "    ";
  120.         (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'30$this->source); })()), "isChild", [], "any"falsefalsefalse30) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'30$this->source); })()), "parent", [], "any"falsefalsefalse30), "subject", [], "any"falsefalsefalse30))) ? (print (twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title_edit", ["%name%" => twig_truncate_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'30$this->source); })()), "parent", [], "any"falsefalsefalse30), "toString", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'30$this->source); })()), "parent", [], "any"falsefalsefalse30), "subject", [], "any"falsefalsefalse30)], "method"falsefalsefalse30), 100)], "SonataAdminBundle"), "html"nulltrue))) : (print ("")));
  121.         echo "
  122. ";
  123.         
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  125.         
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  127.     }
  128.     // line 33
  129.     public function block_list_table($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_table"));
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_table"));
  136.         // line 34
  137.         echo "    <div class=\"col-xs-12 col-md-12\">
  138.         ";
  139.         // line 35
  140.         $context["batchactions"] = twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'35$this->source); })()), "batchactions", [], "any"falsefalsefalse35);
  141.         // line 36
  142.         echo "        ";
  143.         if ((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'36$this->source); })()), "hasRoute", [=> "batch"], "method"falsefalsefalse36) && twig_length_filter($this->env, (isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'36$this->source); })())))) {
  144.             // line 37
  145.             echo "            <form action=\"";
  146.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'37$this->source); })()), "generateUrl", [=> "batch"=> ["filter" => twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'37$this->source); })()), "filterParameters", [], "any"falsefalsefalse37)]], "method"falsefalsefalse37), "html"nulltrue);
  147.             echo "\" method=\"POST\" >
  148.             <input type=\"hidden\" name=\"_sonata_csrf_token\" value=\"";
  149.             // line 38
  150.             echo twig_escape_filter($this->env, (isset($context["csrf_token"]) || array_key_exists("csrf_token"$context) ? $context["csrf_token"] : (function () { throw new RuntimeError('Variable "csrf_token" does not exist.'38$this->source); })()), "html"nulltrue);
  151.             echo "\">
  152.         ";
  153.         }
  154.         // line 40
  155.         echo "
  156.         ";
  157.         // line 42
  158.         echo "        <div class=\"box box-primary\"";
  159.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'42$this->source); })()), "datagrid", [], "any"falsefalsefalse42), "pager", [], "any"falsefalsefalse42), "lastPage", [], "any"falsefalsefalse42) == 1)) {
  160.             echo " style=\"margin-bottom: 100px;\"";
  161.         }
  162.         echo ">
  163.             <div class=\"box-body";
  164.         // line 43
  165.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'43$this->source); })()), "datagrid", [], "any"falsefalsefalse43), "results", [], "any"falsefalsefalse43)) > 0)) {
  166.             echo " table-responsive no-padding";
  167.         }
  168.         echo "\">
  169.                 ";
  170.         // line 44
  171.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sonata.admin.list.table.top", ["admin" => (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'44$this->source); })())]]);
  172.         echo "
  173.                 ";
  174.         // line 46
  175.         $this->displayBlock('list_header'$context$blocks);
  176.         // line 47
  177.         echo "
  178.                 ";
  179.         // line 48
  180.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'48$this->source); })()), "datagrid", [], "any"falsefalsefalse48), "results", [], "any"falsefalsefalse48)) > 0)) {
  181.             // line 49
  182.             echo "                    <table class=\"table table-bordered table-striped table-hover sonata-ba-list\">
  183.                         ";
  184.             // line 50
  185.             $this->displayBlock('table_header'$context$blocks);
  186.             // line 93
  187.             echo "
  188.                         ";
  189.             // line 94
  190.             $this->displayBlock('table_body'$context$blocks);
  191.             // line 99
  192.             echo "
  193.                         ";
  194.             // line 100
  195.             $this->displayBlock('table_footer'$context$blocks);
  196.             // line 102
  197.             echo "                    </table>
  198.                 ";
  199.         } else {
  200.             // line 104
  201.             echo "                    ";
  202.             $this->displayBlock('no_result_content'$context$blocks);
  203.             // line 122
  204.             echo "                ";
  205.         }
  206.         // line 123
  207.         echo "
  208.                 ";
  209.         // line 124
  210.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sonata.admin.list.table.bottom", ["admin" => (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'124$this->source); })())]]);
  211.         echo "
  212.             </div>
  213.             ";
  214.         // line 126
  215.         $this->displayBlock('list_footer'$context$blocks);
  216.         // line 227
  217.         echo "        </div>
  218.         ";
  219.         // line 228
  220.         if ((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'228$this->source); })()), "hasRoute", [=> "batch"], "method"falsefalsefalse228) && twig_length_filter($this->env, (isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'228$this->source); })())))) {
  221.             // line 229
  222.             echo "            </form>
  223.         ";
  224.         }
  225.         // line 231
  226.         echo "    </div>
  227. ";
  228.         
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  230.         
  231.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  232.     }
  233.     // line 46
  234.     public function block_list_header($context, array $blocks = [])
  235.     {
  236.         $macros $this->macros;
  237.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  238.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_header"));
  239.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  240.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_header"));
  241.         
  242.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  243.         
  244.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  245.     }
  246.     // line 50
  247.     public function block_table_header($context, array $blocks = [])
  248.     {
  249.         $macros $this->macros;
  250.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  251.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_header"));
  252.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  253.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_header"));
  254.         // line 51
  255.         echo "                            <thead>
  256.                                 <tr class=\"sonata-ba-list-field-header\">
  257.                                     ";
  258.         // line 53
  259.         $context['_parent'] = $context;
  260.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'53$this->source); })()), "list", [], "any"falsefalsefalse53), "elements", [], "any"falsefalsefalse53));
  261.         foreach ($context['_seq'] as $context["_key"] => $context["field_description"]) {
  262.             // line 54
  263.             echo "                                        ";
  264.             if (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'54$this->source); })()), "hasRoute", [=> "batch"], "method"falsefalsefalse54) && (twig_get_attribute($this->env$this->source$context["field_description"], "getOption", [=> "code"], "method"falsefalsefalse54) == "_batch")) && (twig_length_filter($this->env, (isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'54$this->source); })())) > 0))) {
  265.                 // line 55
  266.                 echo "                                            <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-batch\">
  267.                                               <input type=\"checkbox\" id=\"list_batch_checkbox\">
  268.                                             </th>
  269.                                         ";
  270.             } elseif ((twig_get_attribute($this->env$this->source,             // line 58
  271. $context["field_description"], "getOption", [=> "code"], "method"falsefalsefalse58) == "_select")) {
  272.                 // line 59
  273.                 echo "                                            <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-select\"></th>
  274.                                         ";
  275.             } elseif (((twig_get_attribute($this->env$this->source,             // line 60
  276. $context["field_description"], "name", [], "any"falsefalsefalse60) == "_action") && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'60$this->source); })()), "request", [], "any"falsefalsefalse60), "isXmlHttpRequest", [], "any"falsefalsefalse60))) {
  277.                 // line 61
  278.                 echo "                                            ";
  279.                 // line 62
  280.                 echo "                                        ";
  281.             } elseif (((twig_get_attribute($this->env$this->source$context["field_description"], "getOption", [=> "ajax_hidden"], "method"falsefalsefalse62) == true) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'62$this->source); })()), "request", [], "any"falsefalsefalse62), "isXmlHttpRequest", [], "any"falsefalsefalse62))) {
  282.                 // line 63
  283.                 echo "                                            ";
  284.                 // line 64
  285.                 echo "                                        ";
  286.             } else {
  287.                 // line 65
  288.                 echo "                                            ";
  289.                 $context["sortable"] = false;
  290.                 // line 66
  291.                 echo "                                            ";
  292.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["field_description"], "options", [], "any"falsetruefalse66), "sortable", [], "any"truetruefalse66) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["field_description"], "options", [], "any"falsefalsefalse66), "sortable", [], "any"falsefalsefalse66))) {
  293.                     // line 67
  294.                     echo "                                                ";
  295.                     $context["sortable"] = true;
  296.                     // line 68
  297.                     echo "                                                ";
  298.                     $context["sort_parameters"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'68$this->source); })()), "modelmanager", [], "any"falsefalsefalse68), "sortparameters", [=> $context["field_description"], => twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'68$this->source); })()), "datagrid", [], "any"falsefalsefalse68)], "method"falsefalsefalse68);
  299.                     // line 69
  300.                     echo "                                                ";
  301.                     $context["current"] = (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["admin"] ?? null), "datagrid", [], "any"falsetruefalse69), "values", [], "any"falsetruefalse69), "_sort_by", [], "any"truetruefalse69) && ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 70
  302. (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'70$this->source); })()), "datagrid", [], "any"falsefalsefalse70), "values", [], "any"falsefalsefalse70), "_sort_by", [], "any"falsefalsefalse70) == $context["field_description"]) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 71
  303. (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'71$this->source); })()), "datagrid", [], "any"falsefalsefalse71), "values", [], "any"falsefalsefalse71), "_sort_by", [], "any"falsefalsefalse71), "name", [], "any"falsefalsefalse71) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sort_parameters"]) || array_key_exists("sort_parameters"$context) ? $context["sort_parameters"] : (function () { throw new RuntimeError('Variable "sort_parameters" does not exist.'71$this->source); })()), "filter", [], "any"falsefalsefalse71), "_sort_by", [], "any"falsefalsefalse71))));
  304.                     // line 72
  305.                     echo "                                                ";
  306.                     $context["sort_active_class"] = (((isset($context["current"]) || array_key_exists("current"$context) ? $context["current"] : (function () { throw new RuntimeError('Variable "current" does not exist.'72$this->source); })())) ? ("sonata-ba-list-field-order-active") : (""));
  307.                     // line 73
  308.                     echo "                                                ";
  309.                     $context["sort_by"] = (((isset($context["current"]) || array_key_exists("current"$context) ? $context["current"] : (function () { throw new RuntimeError('Variable "current" does not exist.'73$this->source); })())) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'73$this->source); })()), "datagrid", [], "any"falsefalsefalse73), "values", [], "any"falsefalsefalse73), "_sort_order", [], "any"falsefalsefalse73)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["field_description"], "options", [], "any"falsefalsefalse73), "_sort_order", [], "any"falsefalsefalse73)));
  310.                     // line 74
  311.                     echo "                                            ";
  312.                 }
  313.                 // line 75
  314.                 echo "
  315.                                             ";
  316.                 // line 76
  317.                 ob_start();
  318.                 // line 77
  319.                 echo "                                                <th class=\"sonata-ba-list-field-header-";
  320.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field_description"], "type", [], "any"falsefalsefalse77), "html"nulltrue);
  321.                 if ((isset($context["sortable"]) || array_key_exists("sortable"$context) ? $context["sortable"] : (function () { throw new RuntimeError('Variable "sortable" does not exist.'77$this->source); })())) {
  322.                     echo " sonata-ba-list-field-header-order-";
  323.                     echo twig_escape_filter($this->envtwig_lower_filter($this->env, (isset($context["sort_by"]) || array_key_exists("sort_by"$context) ? $context["sort_by"] : (function () { throw new RuntimeError('Variable "sort_by" does not exist.'77$this->source); })())), "html"nulltrue);
  324.                     echo " ";
  325.                     echo twig_escape_filter($this->env, (isset($context["sort_active_class"]) || array_key_exists("sort_active_class"$context) ? $context["sort_active_class"] : (function () { throw new RuntimeError('Variable "sort_active_class" does not exist.'77$this->source); })()), "html"nulltrue);
  326.                 }
  327.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["field_description"], "options", [], "any"falsetruefalse77), "header_class", [], "any"truetruefalse77)) {
  328.                     echo " ";
  329.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["field_description"], "options", [], "any"falsefalsefalse77), "header_class", [], "any"falsefalsefalse77), "html"nulltrue);
  330.                 }
  331.                 echo "\"";
  332.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["field_description"], "options", [], "any"falsetruefalse77), "header_style", [], "any"truetruefalse77)) {
  333.                     echo " style=\"";
  334.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["field_description"], "options", [], "any"falsefalsefalse77), "header_style", [], "any"falsefalsefalse77), "html"nulltrue);
  335.                     echo "\"";
  336.                 }
  337.                 echo ">
  338.                                                     ";
  339.                 // line 78
  340.                 if ((isset($context["sortable"]) || array_key_exists("sortable"$context) ? $context["sortable"] : (function () { throw new RuntimeError('Variable "sortable" does not exist.'78$this->source); })())) {
  341.                     echo "<a href=\"";
  342.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'78$this->source); })()), "generateUrl", [=> "list"=> twig_array_merge((isset($context["sort_parameters"]) || array_key_exists("sort_parameters"$context) ? $context["sort_parameters"] : (function () { throw new RuntimeError('Variable "sort_parameters" does not exist.'78$this->source); })()), ["_list_mode" => twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'78$this->source); })()), "getListMode", [], "method"falsefalsefalse78)])], "method"falsefalsefalse78), "html"nulltrue);
  343.                     echo "\">";
  344.                 }
  345.                 // line 79
  346.                 echo "                                                    ";
  347.                 if (twig_get_attribute($this->env$this->source$context["field_description"], "getOption", [=> "label_icon"], "method"falsefalsefalse79)) {
  348.                     // line 80
  349.                     echo "                                                        <i class=\"sonata-ba-list-field-header-label-icon ";
  350.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field_description"], "getOption", [=> "label_icon"], "method"falsefalsefalse80), "html"nulltrue);
  351.                     echo "\" aria-hidden=\"true\"></i>
  352.                                                     ";
  353.                 }
  354.                 // line 82
  355.                 echo "                                                    ";
  356.                 if ( !(twig_get_attribute($this->env$this->source$context["field_description"], "label", [], "any"falsefalsefalse82) === false)) {
  357.                     // line 83
  358.                     echo "                                                        ";
  359.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["field_description"], "label", [], "any"falsefalsefalse83), [], twig_get_attribute($this->env$this->source$context["field_description"], "translationDomain", [], "any"falsefalsefalse83)), "html"nulltrue);
  360.                     echo "
  361.                                                     ";
  362.                 }
  363.                 // line 85
  364.                 echo "                                                    ";
  365.                 if ((isset($context["sortable"]) || array_key_exists("sortable"$context) ? $context["sortable"] : (function () { throw new RuntimeError('Variable "sortable" does not exist.'85$this->source); })())) {
  366.                     echo "</a>";
  367.                 }
  368.                 // line 86
  369.                 echo "                                                </th>
  370.                                             ";
  371.                 $___internal_db98355a4fd6115e38661f4160e5ce4a9937b5d10dfc05011bb5b9bbfadd8856_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  372.                 // line 76
  373.                 echo twig_spaceless($___internal_db98355a4fd6115e38661f4160e5ce4a9937b5d10dfc05011bb5b9bbfadd8856_);
  374.                 // line 88
  375.                 echo "                                        ";
  376.             }
  377.             // line 89
  378.             echo "                                    ";
  379.         }
  380.         $_parent $context['_parent'];
  381.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field_description'], $context['_parent'], $context['loop']);
  382.         $context array_intersect_key($context$_parent) + $_parent;
  383.         // line 90
  384.         echo "                                </tr>
  385.                             </thead>
  386.                         ";
  387.         
  388.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  389.         
  390.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  391.     }
  392.     // line 94
  393.     public function block_table_body($context, array $blocks = [])
  394.     {
  395.         $macros $this->macros;
  396.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  397.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_body"));
  398.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  399.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_body"));
  400.         // line 95
  401.         echo "                            <tbody>
  402.                                 ";
  403.         // line 96
  404.         $this->loadTemplate($this->extensions['Sonata\AdminBundle\Twig\Extension\TemplateRegistryExtension']->getAdminTemplate(("outer_list_rows_" twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'96$this->source); })()), "getListMode", [], "method"falsefalsefalse96)), twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'96$this->source); })()), "code", [], "any"falsefalsefalse96)), "SonataAdminBundle:CRUD:base_list.html.twig"96)->display($context);
  405.         // line 97
  406.         echo "                            </tbody>
  407.                         ";
  408.         
  409.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  410.         
  411.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  412.     }
  413.     // line 100
  414.     public function block_table_footer($context, array $blocks = [])
  415.     {
  416.         $macros $this->macros;
  417.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  418.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_footer"));
  419.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  420.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_footer"));
  421.         // line 101
  422.         echo "                        ";
  423.         
  424.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  425.         
  426.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  427.     }
  428.     // line 104
  429.     public function block_no_result_content($context, array $blocks = [])
  430.     {
  431.         $macros $this->macros;
  432.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  433.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""no_result_content"));
  434.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  435.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""no_result_content"));
  436.         // line 105
  437.         echo "                        <div class=\"info-box\">
  438.                             <span class=\"info-box-icon bg-aqua\"><i class=\"fa fa-arrow-circle-right\" aria-hidden=\"true\"></i></span>
  439.                             <div class=\"info-box-content\">
  440.                                 <span class=\"info-box-text\">";
  441.         // line 108
  442.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_result", [], "SonataAdminBundle"), "html"nulltrue);
  443.         echo "</span>
  444.                                 <div class=\"progress\">
  445.                                     <div class=\"progress-bar\" style=\"width: 0%\"></div>
  446.                                 </div>
  447.                                 <span class=\"progress-description\">
  448.                                     ";
  449.         // line 113
  450.         if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'113$this->source); })()), "request", [], "any"falsefalsefalse113), "xmlHttpRequest", [], "any"falsefalsefalse113)) {
  451.             // line 114
  452.             echo "                                    <ul class=\"list-unstyled\">
  453.                                         ";
  454.             // line 115
  455.             $this->loadTemplate($this->extensions['Sonata\AdminBundle\Twig\Extension\TemplateRegistryExtension']->getAdminTemplate("button_create"twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'115$this->source); })()), "code", [], "any"falsefalsefalse115)), "SonataAdminBundle:CRUD:base_list.html.twig"115)->display($context);
  456.             // line 116
  457.             echo "                                    </ul>
  458.                                     ";
  459.         }
  460.         // line 118
  461.         echo "                                </span>
  462.                             </div><!-- /.info-box-content -->
  463.                         </div>
  464.                     ";
  465.         
  466.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  467.         
  468.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  469.     }
  470.     // line 126
  471.     public function block_list_footer($context, array $blocks = [])
  472.     {
  473.         $macros $this->macros;
  474.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  475.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_footer"));
  476.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  477.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_footer"));
  478.         // line 127
  479.         echo "                ";
  480.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'127$this->source); })()), "datagrid", [], "any"falsefalsefalse127), "results", [], "any"falsefalsefalse127)) > 0)) {
  481.             // line 128
  482.             echo "                    <div class=\"box-footer\">
  483.                         <div class=\"form-inline clearfix\">
  484.                             ";
  485.             // line 130
  486.             if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'130$this->source); })()), "request", [], "any"falsefalsefalse130), "isXmlHttpRequest", [], "any"falsefalsefalse130)) {
  487.                 // line 131
  488.                 echo "                                <div class=\"pull-left\">
  489.                                     ";
  490.                 // line 132
  491.                 if ((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'132$this->source); })()), "hasRoute", [=> "batch"], "method"falsefalsefalse132) && (twig_length_filter($this->env, (isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'132$this->source); })())) > 0))) {
  492.                     // line 133
  493.                     echo "                                        ";
  494.                     $this->displayBlock('batch'$context$blocks);
  495.                     // line 181
  496.                     echo "                                    ";
  497.                 }
  498.                 // line 182
  499.                 echo "                                </div>
  500.                                 ";
  501.                 // line 186
  502.                 echo "                                ";
  503.                 $context["export_formats"] = (((isset($context["export_formats"]) || array_key_exists("export_formats"$context))) ? (_twig_default_filter((isset($context["export_formats"]) || array_key_exists("export_formats"$context) ? $context["export_formats"] : (function () { throw new RuntimeError('Variable "export_formats" does not exist.'186$this->source); })()), twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'186$this->source); })()), "exportFormats", [], "any"falsefalsefalse186))) : (twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'186$this->source); })()), "exportFormats", [], "any"falsefalsefalse186)));
  504.                 // line 187
  505.                 echo "
  506.                                 <div class=\"pull-right\">
  507.                                     ";
  508.                 // line 189
  509.                 if (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'189$this->source); })()), "hasRoute", [=> "export"], "method"falsefalsefalse189) && twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'189$this->source); })()), "hasAccess", [=> "export"], "method"falsefalsefalse189)) && twig_length_filter($this->env, (isset($context["export_formats"]) || array_key_exists("export_formats"$context) ? $context["export_formats"] : (function () { throw new RuntimeError('Variable "export_formats" does not exist.'189$this->source); })())))) {
  510.                     // line 190
  511.                     echo "                                        <div class=\"btn-group\">
  512.                                             <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">
  513.                                                 <i class=\"fa fa-share-square-o\" aria-hidden=\"true\"></i>
  514.                                                 ";
  515.                     // line 193
  516.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label_export_download", [], "SonataAdminBundle"), "html"nulltrue);
  517.                     echo "
  518.                                                 <span class=\"caret\"></span>
  519.                                             </button>
  520.                                             <ul class=\"dropdown-menu\">
  521.                                                 ";
  522.                     // line 197
  523.                     $context['_parent'] = $context;
  524.                     $context['_seq'] = twig_ensure_traversable((isset($context["export_formats"]) || array_key_exists("export_formats"$context) ? $context["export_formats"] : (function () { throw new RuntimeError('Variable "export_formats" does not exist.'197$this->source); })()));
  525.                     foreach ($context['_seq'] as $context["_key"] => $context["format"]) {
  526.                         // line 198
  527.                         echo "                                                <li>
  528.                                                     <a href=\"";
  529.                         // line 199
  530.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'199$this->source); })()), "generateUrl", [=> "export"=> (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'199$this->source); })()), "modelmanager", [], "any"falsefalsefalse199), "paginationparameters", [=> twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'199$this->source); })()), "datagrid", [], "any"falsefalsefalse199), => 0], "method"falsefalsefalse199) + ["format" => $context["format"]])], "method"falsefalsefalse199), "html"nulltrue);
  531.                         echo "\">
  532.                                                         <i class=\"fa fa-arrow-circle-o-down\" aria-hidden=\"true\"></i>
  533.                                                         ";
  534.                         // line 201
  535.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("export_format_" $context["format"]), [], "SonataAdminBundle"), "html"nulltrue);
  536.                         echo "
  537.                                                     </a>
  538.                                                 </li>
  539.                                                 ";
  540.                     }
  541.                     $_parent $context['_parent'];
  542.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['format'], $context['_parent'], $context['loop']);
  543.                     $context array_intersect_key($context$_parent) + $_parent;
  544.                     // line 205
  545.                     echo "                                            </ul>
  546.                                         </div>
  547.                                         &nbsp;-&nbsp;
  548.                                     ";
  549.                 }
  550.                 // line 210
  551.                 echo "
  552.                                     ";
  553.                 // line 211
  554.                 $this->displayBlock('pager_results'$context$blocks);
  555.                 // line 214
  556.                 echo "                                </div>
  557.                             ";
  558.             }
  559.             // line 216
  560.             echo "                        </div>
  561.                         ";
  562.             // line 218
  563.             $this->displayBlock('pager_links'$context$blocks);
  564.             // line 224
  565.             echo "                    </div>
  566.                 ";
  567.         }
  568.         // line 226
  569.         echo "            ";
  570.         
  571.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  572.         
  573.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  574.     }
  575.     // line 133
  576.     public function block_batch($context, array $blocks = [])
  577.     {
  578.         $macros $this->macros;
  579.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  580.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch"));
  581.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  582.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch"));
  583.         // line 134
  584.         echo "                                            <script>
  585.                                                 ";
  586.         // line 135
  587.         $this->displayBlock('batch_javascript'$context$blocks);
  588.         // line 163
  589.         echo "                                            </script>
  590.                                         ";
  591.         // line 165
  592.         $this->displayBlock('batch_actions'$context$blocks);
  593.         // line 178
  594.         echo "
  595.                                             <input type=\"submit\" class=\"btn btn-small btn-primary\" value=\"";
  596.         // line 179
  597.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("btn_batch", [], "SonataAdminBundle"), "html"nulltrue);
  598.         echo "\">
  599.                                         ";
  600.         
  601.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  602.         
  603.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  604.     }
  605.     // line 135
  606.     public function block_batch_javascript($context, array $blocks = [])
  607.     {
  608.         $macros $this->macros;
  609.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  610.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_javascript"));
  611.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  612.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_javascript"));
  613.         // line 136
  614.         echo "                                                    jQuery(document).ready(function (\$) {
  615.                                                         // Toggle individual checkboxes when the batch checkbox is changed
  616.                                                         \$('#list_batch_checkbox').on('ifChanged change', function () {
  617.                                                             var checkboxes = \$(this)
  618.                                                                 .closest('table')
  619.                                                                 .find('td.sonata-ba-list-field-batch input[type=\"checkbox\"], div.sonata-ba-list-field-batch input[type=\"checkbox\"]')
  620.                                                             ;
  621.                                                             if (Admin.get_config('USE_ICHECK')) {
  622.                                                                 checkboxes.iCheck(\$(this).is(':checked') ? 'check' : 'uncheck');
  623.                                                             } else {
  624.                                                                 checkboxes.prop('checked', this.checked);
  625.                                                             }
  626.                                                         });
  627.                                                         // Add a CSS class to rows when they are selected
  628.                                                         \$('td.sonata-ba-list-field-batch input[type=\"checkbox\"], div.sonata-ba-list-field-batch input[type=\"checkbox\"]')
  629.                                                             .on('ifChanged change', function () {
  630.                                                                 \$(this)
  631.                                                                     .closest('tr, div.sonata-ba-list-field-batch')
  632.                                                                     .toggleClass('sonata-ba-list-row-selected', \$(this).is(':checked'))
  633.                                                                 ;
  634.                                                             })
  635.                                                             .trigger('ifChanged')
  636.                                                         ;
  637.                                                     });
  638.                                                 ";
  639.         
  640.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  641.         
  642.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  643.     }
  644.     // line 165
  645.     public function block_batch_actions($context, array $blocks = [])
  646.     {
  647.         $macros $this->macros;
  648.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  649.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_actions"));
  650.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  651.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_actions"));
  652.         // line 166
  653.         echo "                                            <label class=\"checkbox\" for=\"";
  654.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'166$this->source); })()), "uniqid", [], "any"falsefalsefalse166), "html"nulltrue);
  655.         echo "_all_elements\">
  656.                                                 <input type=\"checkbox\" name=\"all_elements\" id=\"";
  657.         // line 167
  658.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'167$this->source); })()), "uniqid", [], "any"falsefalsefalse167), "html"nulltrue);
  659.         echo "_all_elements\">
  660.                                                 ";
  661.         // line 168
  662.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("all_elements", [], "SonataAdminBundle"), "html"nulltrue);
  663.         echo "
  664.                                                 (";
  665.         // line 169
  666.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'169$this->source); })()), "datagrid", [], "any"falsefalsefalse169), "pager", [], "any"falsefalsefalse169), "nbresults", [], "any"falsefalsefalse169), "html"nulltrue);
  667.         echo ")
  668.                                             </label>
  669.                                             <select name=\"action\" style=\"width: auto; height: auto\" class=\"form-control\">
  670.                                                 ";
  671.         // line 173
  672.         $context['_parent'] = $context;
  673.         $context['_seq'] = twig_ensure_traversable((isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'173$this->source); })()));
  674.         foreach ($context['_seq'] as $context["action"] => $context["options"]) {
  675.             // line 174
  676.             echo "                                                    <option value=\"";
  677.             echo twig_escape_filter($this->env$context["action"], "html"nulltrue);
  678.             echo "\">";
  679.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["options"], "label", [], "any"falsefalsefalse174), [], ((twig_get_attribute($this->env$this->source$context["options"], "translation_domain", [], "any"truetruefalse174)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["options"], "translation_domain", [], "any"falsefalsefalse174), twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'174$this->source); })()), "translationDomain", [], "any"falsefalsefalse174))) : (twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'174$this->source); })()), "translationDomain", [], "any"falsefalsefalse174)))), "html"nulltrue);
  680.             echo "</option>
  681.                                                 ";
  682.         }
  683.         $_parent $context['_parent'];
  684.         unset($context['_seq'], $context['_iterated'], $context['action'], $context['options'], $context['_parent'], $context['loop']);
  685.         $context array_intersect_key($context$_parent) + $_parent;
  686.         // line 176
  687.         echo "                                            </select>
  688.                                         ";
  689.         
  690.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  691.         
  692.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  693.     }
  694.     // line 211
  695.     public function block_pager_results($context, array $blocks = [])
  696.     {
  697.         $macros $this->macros;
  698.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  699.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pager_results"));
  700.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  701.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pager_results"));
  702.         // line 212
  703.         echo "                                        ";
  704.         $this->loadTemplate($this->extensions['Sonata\AdminBundle\Twig\Extension\TemplateRegistryExtension']->getAdminTemplate("pager_results"twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'212$this->source); })()), "code", [], "any"falsefalsefalse212)), "SonataAdminBundle:CRUD:base_list.html.twig"212)->display($context);
  705.         // line 213
  706.         echo "                                    ";
  707.         
  708.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  709.         
  710.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  711.     }
  712.     // line 218
  713.     public function block_pager_links($context, array $blocks = [])
  714.     {
  715.         $macros $this->macros;
  716.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  717.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pager_links"));
  718.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  719.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pager_links"));
  720.         // line 219
  721.         echo "                            ";
  722.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'219$this->source); })()), "datagrid", [], "any"falsefalsefalse219), "pager", [], "any"falsefalsefalse219), "haveToPaginate", [], "method"falsefalsefalse219)) {
  723.             // line 220
  724.             echo "                                <hr/>
  725.                                 ";
  726.             // line 221
  727.             $this->loadTemplate($this->extensions['Sonata\AdminBundle\Twig\Extension\TemplateRegistryExtension']->getAdminTemplate("pager_links"twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'221$this->source); })()), "code", [], "any"falsefalsefalse221)), "SonataAdminBundle:CRUD:base_list.html.twig"221)->display($context);
  728.             // line 222
  729.             echo "                            ";
  730.         }
  731.         // line 223
  732.         echo "                        ";
  733.         
  734.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  735.         
  736.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  737.     }
  738.     // line 234
  739.     public function block_list_filters_actions($context, array $blocks = [])
  740.     {
  741.         $macros $this->macros;
  742.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  743.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_filters_actions"));
  744.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  745.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_filters_actions"));
  746.         // line 235
  747.         if (twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'235$this->source); })()), "datagrid", [], "any"falsefalsefalse235), "filters", [], "any"falsefalsefalse235))) {
  748.             // line 236
  749.             echo "        <ul class=\"nav navbar-nav navbar-right\">
  750.             <li class=\"dropdown sonata-actions\">
  751.                 <a href=\"#\" class=\"dropdown-toggle sonata-ba-action\" data-toggle=\"dropdown\">
  752.                     <i class=\"fa fa-filter\" aria-hidden=\"true\"></i>
  753.                     ";
  754.             // line 241
  755.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link_filters", [], "SonataAdminBundle"), "html"nulltrue);
  756.             echo "
  757.                     <span class=\"badge sonata-filter-count\"></span>
  758.                     <b class=\"caret\"></b>
  759.                 </a>
  760.                 <ul class=\"dropdown-menu\" role=\"menu\">
  761.                     ";
  762.             // line 247
  763.             $context['_parent'] = $context;
  764.             $context['_seq'] = twig_ensure_traversable(twig_array_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'247$this->source); })()), "datagrid", [], "any"falsefalsefalse247), "filters", [], "any"falsefalsefalse247), function ($__filter__) use ($context$macros) { $context["filter"] = $__filter__; return ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse247), "show_filter", [], "array"falsefalsefalse247) === true) || (null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse247), "show_filter", [], "array"falsefalsefalse247))); }));
  765.             foreach ($context['_seq'] as $context["_key"] => $context["filter"]) {
  766.                 // line 248
  767.                 echo "                        ";
  768.                 $context["filterActive"] = ((twig_get_attribute($this->env$this->source$context["filter"], "isActive", [], "method"falsefalsefalse248) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse248), "show_filter", [], "array"falsefalsefalse248)) &&  !twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'248$this->source); })()), "isDefaultFilter", [=> twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse248)], "method"falsefalsefalse248));
  769.                 // line 249
  770.                 echo "                        <li>
  771.                             <a href=\"#\" class=\"sonata-toggle-filter sonata-ba-action\" filter-target=\"filter-";
  772.                 // line 250
  773.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'250$this->source); })()), "uniqid", [], "any"falsefalsefalse250), "html"nulltrue);
  774.                 echo "-";
  775.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["filter"], "name", [], "any"falsefalsefalse250), "html"nulltrue);
  776.                 echo "\" filter-container=\"filter-container-";
  777.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'250$this->source); })()), "uniqid", [], "method"falsefalsefalse250), "html"nulltrue);
  778.                 echo "\">
  779.                                 <i class=\"fa ";
  780.                 // line 251
  781.                 echo (((twig_get_attribute($this->env$this->source$context["filter"], "isActive", [], "method"falsefalsefalse251) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse251), "show_filter", [], "array"falsefalsefalse251))) ? ("fa-check-square-o") : ("fa-square-o"));
  782.                 echo "\"></i>
  783.                                 ";
  784.                 // line 252
  785.                 if ( !(twig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse252) === false)) {
  786.                     // line 253
  787.                     echo "                                    ";
  788.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse253), [], ((twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse253)) ? (twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse253)) : (twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'253$this->source); })()), "translationDomain", [], "any"falsefalsefalse253)))), "html"nulltrue);
  789.                     echo "
  790.                                 ";
  791.                 }
  792.                 // line 255
  793.                 echo "                            </a>
  794.                         </li>
  795.                     ";
  796.             }
  797.             $_parent $context['_parent'];
  798.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filter'], $context['_parent'], $context['loop']);
  799.             $context array_intersect_key($context$_parent) + $_parent;
  800.             // line 258
  801.             echo "                </ul>
  802.             </li>
  803.         </ul>
  804.     ";
  805.         }
  806.         
  807.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  808.         
  809.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  810.     }
  811.     // line 264
  812.     public function block_list_filters($context, array $blocks = [])
  813.     {
  814.         $macros $this->macros;
  815.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  816.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_filters"));
  817.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  818.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_filters"));
  819.         // line 265
  820.         echo "    ";
  821.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'265$this->source); })()), "datagrid", [], "any"falsefalsefalse265), "filters", [], "any"falsefalsefalse265)) {
  822.             // line 266
  823.             echo "        ";
  824.             $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'266$this->source); })()), [=> $this->extensions['Sonata\AdminBundle\Twig\Extension\TemplateRegistryExtension']->getAdminTemplate("filter"twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'266$this->source); })()), "code", [], "any"falsefalsefalse266))], true);
  825.             // line 267
  826.             echo "
  827.         <div class=\"col-xs-12 col-md-12 sonata-filters-box\" style=\"display: ";
  828.             // line 268
  829.             echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'268$this->source); })()), "datagrid", [], "any"falsefalsefalse268), "hasDisplayableFilters", [], "any"falsefalsefalse268)) ? ("block") : ("none"));
  830.             echo "\" id=\"filter-container-";
  831.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'268$this->source); })()), "uniqid", [], "method"falsefalsefalse268), "html"nulltrue);
  832.             echo "\">
  833.             <div class=\"box box-primary\" >
  834.                 <div class=\"box-body\">
  835.                     <form class=\"sonata-filter-form form-horizontal ";
  836.             // line 271
  837.             echo (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'271$this->source); })()), "isChild", [], "any"falsefalsefalse271) && (== twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'271$this->source); })()), "datagrid", [], "any"falsefalsefalse271), "filters", [], "any"falsefalsefalse271))))) ? ("hide") : (""));
  838.             echo "\" action=\"";
  839.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'271$this->source); })()), "generateUrl", [=> "list"], "method"falsefalsefalse271), "html"nulltrue);
  840.             echo "\" method=\"GET\" role=\"form\">
  841.                         ";
  842.             // line 272
  843.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'272$this->source); })()), 'errors');
  844.             echo "
  845.                         <div class=\"row\">
  846.                             <div class=\"col-sm-9\">
  847.                                 ";
  848.             // line 276
  849.             $context["withAdvancedFilter"] = false;
  850.             // line 277
  851.             echo "                                ";
  852.             $context['_parent'] = $context;
  853.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'277$this->source); })()), "datagrid", [], "any"falsefalsefalse277), "filters", [], "any"falsefalsefalse277));
  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["filter"]) {
  868.                 // line 278
  869.                 echo "                                    ";
  870.                 $context["filterActive"] = (((twig_get_attribute($this->env$this->source$context["filter"], "isActive", [], "method"falsefalsefalse278) && (null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse278), "show_filter", [], "array"falsefalsefalse278))) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse278), "show_filter", [], "array"falsefalsefalse278) === true)) &&  !twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'278$this->source); })()), "isDefaultFilter", [=> twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse278)], "method"falsefalsefalse278));
  871.                 // line 279
  872.                 echo "                                    ";
  873.                 $context["filterVisible"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse279), "show_filter", [], "array"falsefalsefalse279) === true) || (null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse279), "show_filter", [], "array"falsefalsefalse279)));
  874.                 // line 280
  875.                 echo "                                    <div class=\"form-group ";
  876.                 $this->displayBlock('sonata_list_filter_group_class'$context$blocks);
  877.                 echo "\" id=\"filter-";
  878.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'280$this->source); })()), "uniqid", [], "any"falsefalsefalse280), "html"nulltrue);
  879.                 echo "-";
  880.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["filter"], "name", [], "any"falsefalsefalse280), "html"nulltrue);
  881.                 echo "\" sonata-filter=\"";
  882.                 echo (((isset($context["filterVisible"]) || array_key_exists("filterVisible"$context) ? $context["filterVisible"] : (function () { throw new RuntimeError('Variable "filterVisible" does not exist.'280$this->source); })())) ? ("true") : ("false"));
  883.                 echo "\" style=\"display: ";
  884.                 if ((isset($context["filterActive"]) || array_key_exists("filterActive"$context) ? $context["filterActive"] : (function () { throw new RuntimeError('Variable "filterActive" does not exist.'280$this->source); })())) {
  885.                     echo "block";
  886.                 } else {
  887.                     echo "none";
  888.                 }
  889.                 echo "\">
  890.                                         ";
  891.                 // line 281
  892.                 if ( !(twig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse281) === false)) {
  893.                     // line 282
  894.                     echo "                                            <label for=\"";
  895.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'282$this->source); })()), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse282), [], "array"falsefalsefalse282), "children", [], "any"falsefalsefalse282), "value", [], "array"falsefalsefalse282), "vars", [], "any"falsefalsefalse282), "id", [], "any"falsefalsefalse282), "html"nulltrue);
  896.                     echo "\" class=\"col-sm-3 control-label\">";
  897.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse282), [], ((twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse282)) ? (twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse282)) : (twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'282$this->source); })()), "translationDomain", [], "any"falsefalsefalse282)))), "html"nulltrue);
  898.                     echo "</label>
  899.                                         ";
  900.                 }
  901.                 // line 284
  902.                 echo "                                        ";
  903.                 $context["attr"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse284), [], "array"falsetruefalse284), "children", [], "any"falsetruefalse284), "type", [], "array"falsetruefalse284), "vars", [], "any"falsetruefalse284), "attr", [], "any"truetruefalse284)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse284), [], "array"falsetruefalse284), "children", [], "any"falsetruefalse284), "type", [], "array"falsetruefalse284), "vars", [], "any"falsetruefalse284), "attr", [], "any"falsefalsefalse284), [])) : ([]));
  904.                 // line 285
  905.                 echo "
  906.                                         <div class=\"col-sm-4 advanced-filter\">
  907.                                             ";
  908.                 // line 287
  909.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'287$this->source); })()), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse287), [], "array"falsefalsefalse287), "children", [], "any"falsefalsefalse287), "type", [], "array"falsefalsefalse287), 'widget', ["attr" => (isset($context["attr"]) || array_key_exists("attr"$context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.'287$this->source); })())]);
  910.                 echo "
  911.                                         </div>
  912.                                         <div class=\"col-sm-4\">
  913.                                             ";
  914.                 // line 291
  915.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'291$this->source); })()), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse291), [], "array"falsefalsefalse291), "children", [], "any"falsefalsefalse291), "value", [], "array"falsefalsefalse291), 'widget');
  916.                 echo "
  917.                                         </div>
  918.                                         <div class=\"col-sm-1\">
  919.                                             <label class=\"control-label\">
  920.                                                 <a href=\"#\" class=\"sonata-toggle-filter sonata-ba-action\" filter-target=\"filter-";
  921.                 // line 296
  922.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'296$this->source); })()), "uniqid", [], "any"falsefalsefalse296), "html"nulltrue);
  923.                 echo "-";
  924.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["filter"], "name", [], "any"falsefalsefalse296), "html"nulltrue);
  925.                 echo "\" filter-container=\"filter-container-";
  926.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'296$this->source); })()), "uniqid", [], "method"falsefalsefalse296), "html"nulltrue);
  927.                 echo "\">
  928.                                                     <i class=\"fa fa-minus-circle\" aria-hidden=\"true\"></i>
  929.                                                 </a>
  930.                                             </label>
  931.                                         </div>
  932.                                     </div>
  933.                                     ";
  934.                 // line 303
  935.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["filter"], "options", [], "any"falsefalsefalse303), "advanced_filter", [], "array"falsefalsefalse303)) {
  936.                     // line 304
  937.                     echo "                                        ";
  938.                     $context["withAdvancedFilter"] = true;
  939.                     // line 305
  940.                     echo "                                    ";
  941.                 }
  942.                 // line 306
  943.                 echo "                                ";
  944.                 ++$context['loop']['index0'];
  945.                 ++$context['loop']['index'];
  946.                 $context['loop']['first'] = false;
  947.                 if (isset($context['loop']['length'])) {
  948.                     --$context['loop']['revindex0'];
  949.                     --$context['loop']['revindex'];
  950.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  951.                 }
  952.             }
  953.             $_parent $context['_parent'];
  954.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filter'], $context['_parent'], $context['loop']);
  955.             $context array_intersect_key($context$_parent) + $_parent;
  956.             // line 307
  957.             echo "                            </div>
  958.                             <div class=\"col-sm-3 text-center\">
  959.                                 <input type=\"hidden\" name=\"filter[_page]\" id=\"filter__page\" value=\"1\">
  960.                                 ";
  961.             // line 311
  962.             $context["foo"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'311$this->source); })()), "_page", [], "array"falsefalsefalse311), "setRendered", [], "method"falsefalsefalse311);
  963.             // line 312
  964.             echo "                                ";
  965.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'312$this->source); })()), 'rest');
  966.             echo "
  967.                                 <div class=\"form-group\">
  968.                                     <button type=\"submit\" class=\"btn btn-primary\">
  969.                                         <i class=\"fa fa-filter\" aria-hidden=\"true\"></i> ";
  970.             // line 316
  971.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("btn_filter", [], "SonataAdminBundle"), "html"nulltrue);
  972.             echo "
  973.                                     </button>
  974.                                     <a class=\"btn btn-default\" href=\"";
  975.             // line 319
  976.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'319$this->source); })()), "generateUrl", [=> "list"=> ["filters" => "reset"]], "method"falsefalsefalse319), "html"nulltrue);
  977.             echo "\">
  978.                                         ";
  979.             // line 320
  980.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link_reset_filter", [], "SonataAdminBundle"), "html"nulltrue);
  981.             echo "
  982.                                     </a>
  983.                                 </div>
  984.                                 ";
  985.             // line 324
  986.             if ((isset($context["withAdvancedFilter"]) || array_key_exists("withAdvancedFilter"$context) ? $context["withAdvancedFilter"] : (function () { throw new RuntimeError('Variable "withAdvancedFilter" does not exist.'324$this->source); })())) {
  987.                 // line 325
  988.                 echo "                                    <div class=\"form-group\">
  989.                                         <a href=\"#\" data-toggle=\"advanced-filter\">
  990.                                             <i class=\"fa fa-cogs\" aria-hidden=\"true\"></i>
  991.                                             ";
  992.                 // line 328
  993.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("btn_advanced_filters", [], "SonataAdminBundle"), "html"nulltrue);
  994.                 echo "
  995.                                         </a>
  996.                                     </div>
  997.                                 ";
  998.             }
  999.             // line 332
  1000.             echo "                            </div>
  1001.                         </div>
  1002.                         ";
  1003.             // line 335
  1004.             $context['_parent'] = $context;
  1005.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'335$this->source); })()), "persistentParameters", [], "any"falsefalsefalse335));
  1006.             foreach ($context['_seq'] as $context["paramKey"] => $context["paramValue"]) {
  1007.                 // line 336
  1008.                 echo "                            <input type=\"hidden\" name=\"";
  1009.                 echo twig_escape_filter($this->env$context["paramKey"], "html"nulltrue);
  1010.                 echo "\" value=\"";
  1011.                 echo twig_escape_filter($this->env$context["paramValue"], "html"nulltrue);
  1012.                 echo "\">
  1013.                         ";
  1014.             }
  1015.             $_parent $context['_parent'];
  1016.             unset($context['_seq'], $context['_iterated'], $context['paramKey'], $context['paramValue'], $context['_parent'], $context['loop']);
  1017.             $context array_intersect_key($context$_parent) + $_parent;
  1018.             // line 338
  1019.             echo "                    </form>
  1020.                 </div>
  1021.             </div>
  1022.         </div>
  1023.     ";
  1024.         }
  1025.         
  1026.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1027.         
  1028.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1029.     }
  1030.     // line 280
  1031.     public function block_sonata_list_filter_group_class($context, array $blocks = [])
  1032.     {
  1033.         $macros $this->macros;
  1034.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1035.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_list_filter_group_class"));
  1036.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1037.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_list_filter_group_class"));
  1038.         
  1039.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1040.         
  1041.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1042.     }
  1043.     public function getTemplateName()
  1044.     {
  1045.         return "SonataAdminBundle:CRUD:base_list.html.twig";
  1046.     }
  1047.     public function isTraitable()
  1048.     {
  1049.         return false;
  1050.     }
  1051.     public function getDebugInfo()
  1052.     {
  1053.         return array (  1153 => 280,  1138 => 338,  1127 => 336,  1123 => 335,  1118 => 332,  1111 => 328,  1106 => 325,  1104 => 324,  1097 => 320,  1093 => 319,  1087 => 316,  1079 => 312,  1077 => 311,  1071 => 307,  1057 => 306,  1054 => 305,  1051 => 304,  1049 => 303,  1035 => 296,  1027 => 291,  1020 => 287,  1016 => 285,  1013 => 284,  1005 => 282,  1003 => 281,  986 => 280,  983 => 279,  980 => 278,  962 => 277,  960 => 276,  953 => 272,  947 => 271,  939 => 268,  936 => 267,  933 => 266,  930 => 265,  920 => 264,  906 => 258,  898 => 255,  892 => 253,  890 => 252,  886 => 251,  878 => 250,  875 => 249,  872 => 248,  868 => 247,  859 => 241,  852 => 236,  850 => 235,  840 => 234,  830 => 223,  827 => 222,  825 => 221,  822 => 220,  819 => 219,  809 => 218,  799 => 213,  796 => 212,  786 => 211,  775 => 176,  764 => 174,  760 => 173,  753 => 169,  749 => 168,  745 => 167,  740 => 166,  730 => 165,  694 => 136,  684 => 135,  672 => 179,  669 => 178,  667 => 165,  663 => 163,  661 => 135,  658 => 134,  648 => 133,  638 => 226,  634 => 224,  632 => 218,  628 => 216,  624 => 214,  622 => 211,  619 => 210,  612 => 205,  602 => 201,  597 => 199,  594 => 198,  590 => 197,  583 => 193,  578 => 190,  576 => 189,  572 => 187,  569 => 186,  564 => 182,  561 => 181,  558 => 133,  556 => 132,  553 => 131,  551 => 130,  547 => 128,  544 => 127,  534 => 126,  521 => 118,  517 => 116,  515 => 115,  512 => 114,  510 => 113,  502 => 108,  497 => 105,  487 => 104,  477 => 101,  467 => 100,  456 => 97,  454 => 96,  451 => 95,  441 => 94,  429 => 90,  423 => 89,  420 => 88,  418 => 76,  414 => 86,  409 => 85,  403 => 83,  400 => 82,  394 => 80,  391 => 79,  385 => 78,  364 => 77,  362 => 76,  359 => 75,  356 => 74,  353 => 73,  350 => 72,  348 => 71,  347 => 70,  345 => 69,  342 => 68,  339 => 67,  336 => 66,  333 => 65,  330 => 64,  328 => 63,  325 => 62,  323 => 61,  321 => 60,  318 => 59,  316 => 58,  311 => 55,  308 => 54,  304 => 53,  300 => 51,  290 => 50,  272 => 46,  261 => 231,  257 => 229,  255 => 228,  252 => 227,  250 => 126,  245 => 124,  242 => 123,  239 => 122,  236 => 104,  232 => 102,  230 => 100,  227 => 99,  225 => 94,  222 => 93,  220 => 50,  217 => 49,  215 => 48,  212 => 47,  210 => 46,  205 => 44,  199 => 43,  192 => 42,  189 => 40,  184 => 38,  179 => 37,  176 => 36,  174 => 35,  171 => 34,  161 => 33,  148 => 30,  138 => 29,  125 => 26,  115 => 25,  105 => 19,  95 => 18,  85 => 15,  75 => 14,  53 => 12,);
  1054.     }
  1055.     public function getSourceContext()
  1056.     {
  1057.         return new Source("{#
  1058. This file is part of the Sonata package.
  1059. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  1060. For the full copyright and license information, please view the LICENSE
  1061. file that was distributed with this source code.
  1062. #}
  1063. {% extends base_template %}
  1064. {%- block actions -%}
  1065.     {% include '@SonataAdmin/CRUD/action_buttons.html.twig' %}
  1066. {%- endblock -%}
  1067. {%- block tab_menu -%}
  1068.     {{ knp_menu_render(admin.sidemenu(action), {
  1069.         'currentClass': 'active',
  1070.         'template': get_global_template('tab_menu_template')
  1071.     }, 'twig') }}
  1072. {%- endblock -%}
  1073. {% block title %}
  1074.     {{ admin.isChild and admin.parent.subject ? 'title_edit'|trans({'%name%': admin.parent.toString(admin.parent.subject)|truncate(15) }, 'SonataAdminBundle') : '' }}
  1075. {% endblock %}
  1076. {% block navbar_title %}
  1077.     {{ admin.isChild and admin.parent.subject ? 'title_edit'|trans({'%name%': admin.parent.toString(admin.parent.subject)|truncate(100) }, 'SonataAdminBundle') : '' }}
  1078. {% endblock %}
  1079. {% block list_table %}
  1080.     <div class=\"col-xs-12 col-md-12\">
  1081.         {% set batchactions = admin.batchactions %}
  1082.         {% if admin.hasRoute('batch') and batchactions|length %}
  1083.             <form action=\"{{ admin.generateUrl('batch', {'filter': admin.filterParameters}) }}\" method=\"POST\" >
  1084.             <input type=\"hidden\" name=\"_sonata_csrf_token\" value=\"{{ csrf_token }}\">
  1085.         {% endif %}
  1086.         {# Add a margin if no pager to prevent dropdown cropping on window #}
  1087.         <div class=\"box box-primary\"{% if admin.datagrid.pager.lastPage == 1 %} style=\"margin-bottom: 100px;\"{% endif %}>
  1088.             <div class=\"box-body{% if admin.datagrid.results|length > 0 %} table-responsive no-padding{% endif %}\">
  1089.                 {{ sonata_block_render_event('sonata.admin.list.table.top', { 'admin': admin }) }}
  1090.                 {% block list_header %}{% endblock %}
  1091.                 {% if admin.datagrid.results|length > 0 %}
  1092.                     <table class=\"table table-bordered table-striped table-hover sonata-ba-list\">
  1093.                         {% block table_header %}
  1094.                             <thead>
  1095.                                 <tr class=\"sonata-ba-list-field-header\">
  1096.                                     {% for field_description in admin.list.elements %}
  1097.                                         {% if admin.hasRoute('batch') and field_description.getOption('code') == '_batch' and batchactions|length > 0 %}
  1098.                                             <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-batch\">
  1099.                                               <input type=\"checkbox\" id=\"list_batch_checkbox\">
  1100.                                             </th>
  1101.                                         {% elseif field_description.getOption('code') == '_select' %}
  1102.                                             <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-select\"></th>
  1103.                                         {% elseif field_description.name == '_action' and app.request.isXmlHttpRequest %}
  1104.                                             {# Action buttons disabled in ajax view! #}
  1105.                                         {% elseif field_description.getOption('ajax_hidden') == true and app.request.isXmlHttpRequest %}
  1106.                                             {# Disable fields with 'ajax_hidden' option set to true #}
  1107.                                         {% else %}
  1108.                                             {% set sortable = false %}
  1109.                                             {% if field_description.options.sortable is defined and field_description.options.sortable %}
  1110.                                                 {% set sortable             = true %}
  1111.                                                 {% set sort_parameters      = admin.modelmanager.sortparameters(field_description, admin.datagrid) %}
  1112.                                                 {% set current              = admin.datagrid.values._sort_by is defined
  1113.                                                     and (admin.datagrid.values._sort_by == field_description
  1114.                                                         or admin.datagrid.values._sort_by.name == sort_parameters.filter._sort_by) %}
  1115.                                                 {% set sort_active_class    = current ? 'sonata-ba-list-field-order-active' : '' %}
  1116.                                                 {% set sort_by              = current ? admin.datagrid.values._sort_order : field_description.options._sort_order %}
  1117.                                             {% endif %}
  1118.                                             {% apply spaceless %}
  1119.                                                 <th class=\"sonata-ba-list-field-header-{{ field_description.type }}{% if sortable %} sonata-ba-list-field-header-order-{{ sort_by|lower }} {{ sort_active_class }}{% endif %}{% if field_description.options.header_class is defined %} {{ field_description.options.header_class }}{% endif %}\"{% if field_description.options.header_style is defined %} style=\"{{ field_description.options.header_style }}\"{% endif %}>
  1120.                                                     {% if sortable %}<a href=\"{{ admin.generateUrl('list', sort_parameters|merge({_list_mode: admin.getListMode()})) }}\">{% endif %}
  1121.                                                     {% if field_description.getOption('label_icon') %}
  1122.                                                         <i class=\"sonata-ba-list-field-header-label-icon {{ field_description.getOption('label_icon') }}\" aria-hidden=\"true\"></i>
  1123.                                                     {% endif %}
  1124.                                                     {% if field_description.label is not same as(false) %}
  1125.                                                         {{ field_description.label|trans({}, field_description.translationDomain) }}
  1126.                                                     {% endif %}
  1127.                                                     {% if sortable %}</a>{% endif %}
  1128.                                                 </th>
  1129.                                             {% endapply %}
  1130.                                         {% endif %}
  1131.                                     {% endfor %}
  1132.                                 </tr>
  1133.                             </thead>
  1134.                         {% endblock %}
  1135.                         {% block table_body %}
  1136.                             <tbody>
  1137.                                 {% include get_admin_template('outer_list_rows_' ~ admin.getListMode(), admin.code) %}
  1138.                             </tbody>
  1139.                         {% endblock %}
  1140.                         {% block table_footer %}
  1141.                         {% endblock %}
  1142.                     </table>
  1143.                 {% else %}
  1144.                     {% block no_result_content %}
  1145.                         <div class=\"info-box\">
  1146.                             <span class=\"info-box-icon bg-aqua\"><i class=\"fa fa-arrow-circle-right\" aria-hidden=\"true\"></i></span>
  1147.                             <div class=\"info-box-content\">
  1148.                                 <span class=\"info-box-text\">{{ 'no_result'|trans({}, 'SonataAdminBundle') }}</span>
  1149.                                 <div class=\"progress\">
  1150.                                     <div class=\"progress-bar\" style=\"width: 0%\"></div>
  1151.                                 </div>
  1152.                                 <span class=\"progress-description\">
  1153.                                     {% if not app.request.xmlHttpRequest %}
  1154.                                     <ul class=\"list-unstyled\">
  1155.                                         {% include get_admin_template('button_create', admin.code) %}
  1156.                                     </ul>
  1157.                                     {% endif %}
  1158.                                 </span>
  1159.                             </div><!-- /.info-box-content -->
  1160.                         </div>
  1161.                     {% endblock %}
  1162.                 {% endif %}
  1163.                 {{ sonata_block_render_event('sonata.admin.list.table.bottom', { 'admin': admin }) }}
  1164.             </div>
  1165.             {% block list_footer %}
  1166.                 {% if admin.datagrid.results|length > 0 %}
  1167.                     <div class=\"box-footer\">
  1168.                         <div class=\"form-inline clearfix\">
  1169.                             {% if not app.request.isXmlHttpRequest %}
  1170.                                 <div class=\"pull-left\">
  1171.                                     {% if admin.hasRoute('batch') and batchactions|length > 0 %}
  1172.                                         {% block batch %}
  1173.                                             <script>
  1174.                                                 {% block batch_javascript %}
  1175.                                                     jQuery(document).ready(function (\$) {
  1176.                                                         // Toggle individual checkboxes when the batch checkbox is changed
  1177.                                                         \$('#list_batch_checkbox').on('ifChanged change', function () {
  1178.                                                             var checkboxes = \$(this)
  1179.                                                                 .closest('table')
  1180.                                                                 .find('td.sonata-ba-list-field-batch input[type=\"checkbox\"], div.sonata-ba-list-field-batch input[type=\"checkbox\"]')
  1181.                                                             ;
  1182.                                                             if (Admin.get_config('USE_ICHECK')) {
  1183.                                                                 checkboxes.iCheck(\$(this).is(':checked') ? 'check' : 'uncheck');
  1184.                                                             } else {
  1185.                                                                 checkboxes.prop('checked', this.checked);
  1186.                                                             }
  1187.                                                         });
  1188.                                                         // Add a CSS class to rows when they are selected
  1189.                                                         \$('td.sonata-ba-list-field-batch input[type=\"checkbox\"], div.sonata-ba-list-field-batch input[type=\"checkbox\"]')
  1190.                                                             .on('ifChanged change', function () {
  1191.                                                                 \$(this)
  1192.                                                                     .closest('tr, div.sonata-ba-list-field-batch')
  1193.                                                                     .toggleClass('sonata-ba-list-row-selected', \$(this).is(':checked'))
  1194.                                                                 ;
  1195.                                                             })
  1196.                                                             .trigger('ifChanged')
  1197.                                                         ;
  1198.                                                     });
  1199.                                                 {% endblock %}
  1200.                                             </script>
  1201.                                         {% block batch_actions %}
  1202.                                             <label class=\"checkbox\" for=\"{{ admin.uniqid }}_all_elements\">
  1203.                                                 <input type=\"checkbox\" name=\"all_elements\" id=\"{{ admin.uniqid }}_all_elements\">
  1204.                                                 {{ 'all_elements'|trans({}, 'SonataAdminBundle') }}
  1205.                                                 ({{ admin.datagrid.pager.nbresults }})
  1206.                                             </label>
  1207.                                             <select name=\"action\" style=\"width: auto; height: auto\" class=\"form-control\">
  1208.                                                 {% for action, options in batchactions %}
  1209.                                                     <option value=\"{{ action }}\">{{ options.label|trans({}, options.translation_domain|default(admin.translationDomain)) }}</option>
  1210.                                                 {% endfor %}
  1211.                                             </select>
  1212.                                         {% endblock %}
  1213.                                             <input type=\"submit\" class=\"btn btn-small btn-primary\" value=\"{{ 'btn_batch'|trans({}, 'SonataAdminBundle') }}\">
  1214.                                         {% endblock %}
  1215.                                     {% endif %}
  1216.                                 </div>
  1217.                                 {# NEXT_MAJOR : remove this assignment #}
  1218.                                 {% set export_formats = export_formats|default(admin.exportFormats) %}
  1219.                                 <div class=\"pull-right\">
  1220.                                     {% if admin.hasRoute('export') and admin.hasAccess('export') and export_formats|length %}
  1221.                                         <div class=\"btn-group\">
  1222.                                             <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">
  1223.                                                 <i class=\"fa fa-share-square-o\" aria-hidden=\"true\"></i>
  1224.                                                 {{ \"label_export_download\"|trans({}, \"SonataAdminBundle\") }}
  1225.                                                 <span class=\"caret\"></span>
  1226.                                             </button>
  1227.                                             <ul class=\"dropdown-menu\">
  1228.                                                 {% for format in export_formats %}
  1229.                                                 <li>
  1230.                                                     <a href=\"{{ admin.generateUrl('export', admin.modelmanager.paginationparameters(admin.datagrid, 0) + {'format' : format}) }}\">
  1231.                                                         <i class=\"fa fa-arrow-circle-o-down\" aria-hidden=\"true\"></i>
  1232.                                                         {{ (\"export_format_\" ~ format)|trans({}, 'SonataAdminBundle') }}
  1233.                                                     </a>
  1234.                                                 </li>
  1235.                                                 {% endfor %}
  1236.                                             </ul>
  1237.                                         </div>
  1238.                                         &nbsp;-&nbsp;
  1239.                                     {% endif %}
  1240.                                     {% block pager_results %}
  1241.                                         {% include get_admin_template('pager_results', admin.code) %}
  1242.                                     {% endblock %}
  1243.                                 </div>
  1244.                             {% endif %}
  1245.                         </div>
  1246.                         {% block pager_links %}
  1247.                             {% if admin.datagrid.pager.haveToPaginate() %}
  1248.                                 <hr/>
  1249.                                 {% include get_admin_template('pager_links', admin.code) %}
  1250.                             {% endif %}
  1251.                         {% endblock %}
  1252.                     </div>
  1253.                 {% endif %}
  1254.             {% endblock %}
  1255.         </div>
  1256.         {% if admin.hasRoute('batch') and batchactions|length %}
  1257.             </form>
  1258.         {% endif %}
  1259.     </div>
  1260. {% endblock %}
  1261. {% block list_filters_actions %}
  1262.     {%- if admin.datagrid.filters|length %}
  1263.         <ul class=\"nav navbar-nav navbar-right\">
  1264.             <li class=\"dropdown sonata-actions\">
  1265.                 <a href=\"#\" class=\"dropdown-toggle sonata-ba-action\" data-toggle=\"dropdown\">
  1266.                     <i class=\"fa fa-filter\" aria-hidden=\"true\"></i>
  1267.                     {{ 'link_filters'|trans({}, 'SonataAdminBundle') }}
  1268.                     <span class=\"badge sonata-filter-count\"></span>
  1269.                     <b class=\"caret\"></b>
  1270.                 </a>
  1271.                 <ul class=\"dropdown-menu\" role=\"menu\">
  1272.                     {% for filter in admin.datagrid.filters|filter(filter => filter.options['show_filter'] is same as(true) or filter.options['show_filter'] is null) %}
  1273.                         {% set filterActive = ((filter.isActive() or filter.options['show_filter']) and not admin.isDefaultFilter(filter.formName)) %}
  1274.                         <li>
  1275.                             <a href=\"#\" class=\"sonata-toggle-filter sonata-ba-action\" filter-target=\"filter-{{ admin.uniqid }}-{{ filter.name }}\" filter-container=\"filter-container-{{ admin.uniqid() }}\">
  1276.                                 <i class=\"fa {{ (filter.isActive() or filter.options['show_filter']) ? 'fa-check-square-o' : 'fa-square-o' }}\"></i>
  1277.                                 {% if filter.label is not same as(false) %}
  1278.                                     {{ filter.label|trans({}, filter.translationDomain ?: admin.translationDomain) }}
  1279.                                 {% endif %}
  1280.                             </a>
  1281.                         </li>
  1282.                     {% endfor %}
  1283.                 </ul>
  1284.             </li>
  1285.         </ul>
  1286.     {% endif -%}
  1287. {% endblock %}
  1288. {% block list_filters %}
  1289.     {% if admin.datagrid.filters %}
  1290.         {% form_theme form get_admin_template('filter', admin.code) %}
  1291.         <div class=\"col-xs-12 col-md-12 sonata-filters-box\" style=\"display: {{ admin.datagrid.hasDisplayableFilters ? 'block' : 'none' }}\" id=\"filter-container-{{ admin.uniqid() }}\">
  1292.             <div class=\"box box-primary\" >
  1293.                 <div class=\"box-body\">
  1294.                     <form class=\"sonata-filter-form form-horizontal {{ admin.isChild and 1 == admin.datagrid.filters|length ? 'hide' : '' }}\" action=\"{{ admin.generateUrl('list') }}\" method=\"GET\" role=\"form\">
  1295.                         {{ form_errors(form) }}
  1296.                         <div class=\"row\">
  1297.                             <div class=\"col-sm-9\">
  1298.                                 {% set withAdvancedFilter = false %}
  1299.                                 {% for filter in admin.datagrid.filters %}
  1300.                                     {% set filterActive = ((filter.isActive() and filter.options['show_filter'] is null) or (filter.options['show_filter'] is same as(true))) and not admin.isDefaultFilter(filter.formName) %}
  1301.                                     {% set filterVisible = filter.options['show_filter'] is same as(true) or filter.options['show_filter'] is null %}
  1302.                                     <div class=\"form-group {% block sonata_list_filter_group_class %}{% endblock %}\" id=\"filter-{{ admin.uniqid }}-{{ filter.name }}\" sonata-filter=\"{{ filterVisible ? 'true' : 'false' }}\" style=\"display: {% if filterActive %}block{% else %}none{% endif %}\">
  1303.                                         {% if filter.label is not same as(false) %}
  1304.                                             <label for=\"{{ form[filter.formName].children['value'].vars.id }}\" class=\"col-sm-3 control-label\">{{ filter.label|trans({}, filter.translationDomain ?: admin.translationDomain) }}</label>
  1305.                                         {% endif %}
  1306.                                         {% set attr = form[filter.formName].children['type'].vars.attr|default({}) %}
  1307.                                         <div class=\"col-sm-4 advanced-filter\">
  1308.                                             {{ form_widget(form[filter.formName].children['type'], {'attr':  attr}) }}
  1309.                                         </div>
  1310.                                         <div class=\"col-sm-4\">
  1311.                                             {{ form_widget(form[filter.formName].children['value']) }}
  1312.                                         </div>
  1313.                                         <div class=\"col-sm-1\">
  1314.                                             <label class=\"control-label\">
  1315.                                                 <a href=\"#\" class=\"sonata-toggle-filter sonata-ba-action\" filter-target=\"filter-{{ admin.uniqid }}-{{ filter.name }}\" filter-container=\"filter-container-{{ admin.uniqid() }}\">
  1316.                                                     <i class=\"fa fa-minus-circle\" aria-hidden=\"true\"></i>
  1317.                                                 </a>
  1318.                                             </label>
  1319.                                         </div>
  1320.                                     </div>
  1321.                                     {% if filter.options['advanced_filter'] %}
  1322.                                         {% set withAdvancedFilter = true %}
  1323.                                     {% endif %}
  1324.                                 {% endfor %}
  1325.                             </div>
  1326.                             <div class=\"col-sm-3 text-center\">
  1327.                                 <input type=\"hidden\" name=\"filter[_page]\" id=\"filter__page\" value=\"1\">
  1328.                                 {% set foo = form['_page'].setRendered() %}
  1329.                                 {{ form_rest(form) }}
  1330.                                 <div class=\"form-group\">
  1331.                                     <button type=\"submit\" class=\"btn btn-primary\">
  1332.                                         <i class=\"fa fa-filter\" aria-hidden=\"true\"></i> {{ 'btn_filter'|trans({}, 'SonataAdminBundle') }}
  1333.                                     </button>
  1334.                                     <a class=\"btn btn-default\" href=\"{{ admin.generateUrl('list', {filters: 'reset'}) }}\">
  1335.                                         {{ 'link_reset_filter'|trans({}, 'SonataAdminBundle') }}
  1336.                                     </a>
  1337.                                 </div>
  1338.                                 {% if withAdvancedFilter %}
  1339.                                     <div class=\"form-group\">
  1340.                                         <a href=\"#\" data-toggle=\"advanced-filter\">
  1341.                                             <i class=\"fa fa-cogs\" aria-hidden=\"true\"></i>
  1342.                                             {{ 'btn_advanced_filters'|trans({}, 'SonataAdminBundle') }}
  1343.                                         </a>
  1344.                                     </div>
  1345.                                 {% endif %}
  1346.                             </div>
  1347.                         </div>
  1348.                         {% for paramKey, paramValue in admin.persistentParameters %}
  1349.                             <input type=\"hidden\" name=\"{{ paramKey }}\" value=\"{{ paramValue }}\">
  1350.                         {% endfor %}
  1351.                     </form>
  1352.                 </div>
  1353.             </div>
  1354.         </div>
  1355.     {% endif %}
  1356. {% endblock %}
  1357. ""SonataAdminBundle:CRUD:base_list.html.twig""/var/www/radmin.tehnik.tech/vendor/sonata-project/admin-bundle/src/Resources/views/CRUD/base_list.html.twig");
  1358.     }
  1359. }