var/cache/dev/twig/5b/5be14399ab84ab31400ae348e5fa41ce4fb83d3c008b9c63680a3f92c3e81d77.php line 64

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_inner_row.html.twig */
  14. class __TwigTemplate_93c28d7b1c745fb3d3a89b9ac4e73263edf6711583a6609537dc30e6440c043b 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SonataAdminBundle:CRUD:base_list_inner_row.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SonataAdminBundle:CRUD:base_list_inner_row.html.twig"));
  33.         // line 11
  34.         echo "
  35. ";
  36.         // line 12
  37.         $context['_parent'] = $context;
  38.         $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.'12$this->source); })()), "list", [], "any"falsefalsefalse12), "elements", [], "any"falsefalsefalse12));
  39.         foreach ($context['_seq'] as $context["_key"] => $context["field_description"]) {
  40.             // line 13
  41.             echo "    ";
  42.             if (((twig_get_attribute($this->env$this->source$context["field_description"], "name", [], "any"falsefalsefalse13) == "_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.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "isXmlHttpRequest", [], "any"falsefalsefalse13))) {
  43.                 // line 14
  44.                 echo "        ";
  45.                 // line 15
  46.                 echo "    ";
  47.             } elseif (((twig_get_attribute($this->env$this->source$context["field_description"], "getOption", [=> "ajax_hidden"], "method"falsefalsefalse15) == 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.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "isXmlHttpRequest", [], "any"falsefalsefalse15))) {
  48.                 // line 16
  49.                 echo "        ";
  50.                 // line 17
  51.                 echo "    ";
  52.             } else {
  53.                 // line 18
  54.                 echo "        ";
  55.                 echo $this->extensions['Sonata\AdminBundle\Twig\Extension\SonataAdminExtension']->renderListElement($this->env, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'18$this->source); })()), $context["field_description"]);
  56.                 echo "
  57.     ";
  58.             }
  59.         }
  60.         $_parent $context['_parent'];
  61.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field_description'], $context['_parent'], $context['loop']);
  62.         $context array_intersect_key($context$_parent) + $_parent;
  63.         
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  65.         
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  67.     }
  68.     public function getTemplateName()
  69.     {
  70.         return "SonataAdminBundle:CRUD:base_list_inner_row.html.twig";
  71.     }
  72.     public function isTraitable()
  73.     {
  74.         return false;
  75.     }
  76.     public function getDebugInfo()
  77.     {
  78.         return array (  63 => 18,  60 => 17,  58 => 16,  55 => 15,  53 => 14,  50 => 13,  46 => 12,  43 => 11,);
  79.     }
  80.     public function getSourceContext()
  81.     {
  82.         return new Source("{#
  83. This file is part of the Sonata package.
  84. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  85. For the full copyright and license information, please view the LICENSE
  86. file that was distributed with this source code.
  87. #}
  88. {% for field_description in admin.list.elements %}
  89.     {% if field_description.name == '_action' and app.request.isXmlHttpRequest %}
  90.         {# Action buttons disabled in ajax view! #}
  91.     {% elseif field_description.getOption('ajax_hidden') == true and app.request.isXmlHttpRequest %}
  92.         {# Disable fields with 'ajax_hidden' option set to true #}
  93.     {% else %}
  94.         {{ object|render_list_element(field_description) }}
  95.     {% endif %}
  96. {% endfor %}
  97. ""SonataAdminBundle:CRUD:base_list_inner_row.html.twig""/var/www/radmin.tehnik.tech/vendor/sonata-project/admin-bundle/src/Resources/views/CRUD/base_list_inner_row.html.twig");
  98.     }
  99. }