var/cache/dev/twig/7a/7aa5ff936ca4ef7cc6c007dc922e5bde.php line 33

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. /* _loginout.html.twig */
  14. class __TwigTemplate_216ea09bf6f318d4b9e42e0e370c52dd extends 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""_loginout.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""_loginout.html.twig"));
  33.         // line 1
  34.         echo "<div class=\"col_33\">
  35.   ";
  36.         // line 2
  37.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  38.             // line 3
  39.             echo "    <a href=\"";
  40.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  41.             echo "\">";
  42.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Logout", [], "messages");
  43.             echo "</a>
  44.   ";
  45.         } else {
  46.             // line 5
  47.             echo "    ";
  48.             if (array_key_exists("loginForm"$context)) {
  49.                 // line 6
  50.                 echo "      ";
  51.                 echo                 $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["loginForm"]) || array_key_exists("loginForm"$context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.'6$this->source); })()), 'form');
  52.                 echo "
  53.     ";
  54.             }
  55.             // line 8
  56.             echo "  ";
  57.         }
  58.         // line 9
  59.         echo "</div>
  60. ";
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.     }
  66.     /**
  67.      * @codeCoverageIgnore
  68.      */
  69.     public function getTemplateName()
  70.     {
  71.         return "_loginout.html.twig";
  72.     }
  73.     /**
  74.      * @codeCoverageIgnore
  75.      */
  76.     public function isTraitable()
  77.     {
  78.         return false;
  79.     }
  80.     /**
  81.      * @codeCoverageIgnore
  82.      */
  83.     public function getDebugInfo()
  84.     {
  85.         return array (  68 => 9,  65 => 8,  59 => 6,  56 => 5,  48 => 3,  46 => 2,  43 => 1,);
  86.     }
  87.     public function getSourceContext()
  88.     {
  89.         return new Source("<div class=\"col_33\">
  90.   {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  91.     <a href=\"{{ path('app_logout') }}\">{% trans %}Logout{% endtrans %}</a>
  92.   {% else %}
  93.     {% if loginForm is defined %}
  94.       {{ form(loginForm) }}
  95.     {% endif %}
  96.   {% endif %}
  97. </div>
  98. ""_loginout.html.twig""/home/icon/var/www/isocortex.online/templates/_loginout.html.twig");
  99.     }
  100. }