var/cache/dev/twig/b3/b344edc9cae59017b0f7e238147595eabf4e0dab06d1e5792d3ae5817c985c2c.php line 45

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* base.html.twig */
  15. class __TwigTemplate_27bb635ecf2a8be9b3a3c75e4da0b02d2d0636404b6b0b68feca12c4e32f4a64 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  35.         // line 1
  36.         yield from         $this->loadTemplate("header.html.twig""base.html.twig"1)->unwrap()->yield($context);
  37.         // line 2
  38.         yield "    ";
  39.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  40.         // line 4
  41.         yield "    ";
  42.         $context['_parent'] = $context;
  43.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'4$this->source); })()), "flashes", [], "any"falsefalsefalse4));
  44.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  45.             // line 5
  46.             yield "        ";
  47.             $context['_parent'] = $context;
  48.             $context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
  49.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  50.                 // line 6
  51.                 yield "            <div class=\"form__alert d-none\">
  52.                 <input type=\"hidden\" class=\"js-confirm-type\" value=\"";
  53.                 // line 7
  54.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["label"], "html"nulltrue);
  55.                 yield "\">
  56.                 <input type=\"hidden\" class=\"js-confirm-text\" value=\"";
  57.                 // line 8
  58.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["message"]), "html"nulltrue);
  59.                 yield "\">
  60.             </div>
  61.         ";
  62.             }
  63.             $_parent $context['_parent'];
  64.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  65.             $context array_intersect_key($context$_parent) + $_parent;
  66.             // line 11
  67.             yield "    ";
  68.         }
  69.         $_parent $context['_parent'];
  70.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  71.         $context array_intersect_key($context$_parent) + $_parent;
  72.         // line 12
  73.         yield "    ";
  74.         $context['_parent'] = $context;
  75.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "session", [], "any"falsefalsefalse12), "flashbag", [], "any"falsefalsefalse12), "all", [], "any"falsefalsefalse12));
  76.         foreach ($context['_seq'] as $context["label"] => $context["flashes"]) {
  77.             // line 13
  78.             yield "        ";
  79.             $context['_parent'] = $context;
  80.             $context['_seq'] = CoreExtension::ensureTraversable($context["flashes"]);
  81.             foreach ($context['_seq'] as $context["_key"] => $context["flash"]) {
  82.                 // line 14
  83.                 yield "            <div class=\"form__alert d-none\">
  84.                 <input type=\"hidden\" class=\"js-confirm-type\" value=\"";
  85.                 // line 15
  86.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["label"], "html"nulltrue);
  87.                 yield "\">
  88.                 <input type=\"hidden\" class=\"js-confirm-text\" value=\"";
  89.                 // line 16
  90.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["flash"]), "html"nulltrue);
  91.                 yield "\">
  92.             </div>
  93.         ";
  94.             }
  95.             $_parent $context['_parent'];
  96.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash'], $context['_parent'], $context['loop']);
  97.             $context array_intersect_key($context$_parent) + $_parent;
  98.             // line 19
  99.             yield "    ";
  100.         }
  101.         $_parent $context['_parent'];
  102.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['flashes'], $context['_parent'], $context['loop']);
  103.         $context array_intersect_key($context$_parent) + $_parent;
  104.         // line 20
  105.         yield from         $this->loadTemplate("footer.html.twig""base.html.twig"20)->unwrap()->yield($context);
  106.         
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  108.         
  109.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  110.         return; yield '';
  111.     }
  112.     // line 2
  113.     public function block_content($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  120.         // line 3
  121.         yield "    ";
  122.         
  123.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  124.         
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  126.         return; yield '';
  127.     }
  128.     /**
  129.      * @codeCoverageIgnore
  130.      */
  131.     public function getTemplateName()
  132.     {
  133.         return "base.html.twig";
  134.     }
  135.     /**
  136.      * @codeCoverageIgnore
  137.      */
  138.     public function isTraitable()
  139.     {
  140.         return false;
  141.     }
  142.     /**
  143.      * @codeCoverageIgnore
  144.      */
  145.     public function getDebugInfo()
  146.     {
  147.         return array (  135 => 3,  125 => 2,  114 => 20,  108 => 19,  99 => 16,  95 => 15,  92 => 14,  87 => 13,  82 => 12,  76 => 11,  67 => 8,  63 => 7,  60 => 6,  55 => 5,  50 => 4,  47 => 2,  45 => 1,);
  148.     }
  149.     public function getSourceContext()
  150.     {
  151.         return new Source("{% include 'header.html.twig' %}
  152.     {% block content %}
  153.     {% endblock content %}
  154.     {% for label, messages in app.flashes %}
  155.         {% for message in messages %}
  156.             <div class=\"form__alert d-none\">
  157.                 <input type=\"hidden\" class=\"js-confirm-type\" value=\"{{ label }}\">
  158.                 <input type=\"hidden\" class=\"js-confirm-text\" value=\"{{ message | trans }}\">
  159.             </div>
  160.         {% endfor %}
  161.     {% endfor %}
  162.     {% for label, flashes in app.session.flashbag.all %}
  163.         {% for flash in flashes %}
  164.             <div class=\"form__alert d-none\">
  165.                 <input type=\"hidden\" class=\"js-confirm-type\" value=\"{{ label }}\">
  166.                 <input type=\"hidden\" class=\"js-confirm-text\" value=\"{{ flash | trans }}\">
  167.             </div>
  168.         {% endfor %}
  169.     {% endfor %}
  170. {% include 'footer.html.twig' %}
  171. ""base.html.twig""/home/web/nexgen.cz/dev58/templates/base.html.twig");
  172.     }
  173. }