var/cache/dev/twig/1c/1c59fd56882cc4a1e65a391b2650c139.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\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. use Twig\TemplateWrapper;
  15. /* @ADASLogowanie/Form/Logowanie.html.twig */
  16. class __TwigTemplate_a68ba47cbba25e369b1cbb8e4316307b extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source = $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this, 'block_title'],
  29.             'stylesheets' => [$this, 'block_stylesheets'],
  30.             'javascripts' => [$this, 'block_javascripts'],
  31.             'BaseBody' => [$this, 'block_BaseBody'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35.     {
  36.         // line 1
  37.         return "base.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = []): iterable
  40.     {
  41.         $macros = $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ADASLogowanie/Form/Logowanie.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ADASLogowanie/Form/Logowanie.html.twig"));
  46.         $this->parent = $this->loadTemplate("base.html.twig", "@ADASLogowanie/Form/Logowanie.html.twig", 1);
  47.         yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 2
  54.     /**
  55.      * @return iterable<null|scalar|\Stringable>
  56.      */
  57.     public function block_title(array $context, array $blocks = []): iterable
  58.     {
  59.         $macros = $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  64.         yield from $this->yieldParentBlock("title", $context, $blocks);
  65.         yield " - Logowanie";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.         yield from [];
  71.     }
  72.     // line 4
  73.     /**
  74.      * @return iterable<null|scalar|\Stringable>
  75.      */
  76.     public function block_stylesheets(array $context, array $blocks = []): iterable
  77.     {
  78.         $macros = $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  83.         // line 5
  84.         yield "    ";
  85.         yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  86.         yield "
  87.     ";
  88.         // line 6
  89.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("@Encore/Templates/LogowanieBundle/Logowanie");
  90.         yield "
  91. ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.         yield from [];
  97.     }
  98.     // line 8
  99.     /**
  100.      * @return iterable<null|scalar|\Stringable>
  101.      */
  102.     public function block_javascripts(array $context, array $blocks = []): iterable
  103.     {
  104.         $macros = $this->macros;
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  109.         // line 9
  110.         yield "    ";
  111.         yield from $this->yieldParentBlock("javascripts", $context, $blocks);
  112.         yield "
  113.     ";
  114.         // line 10
  115.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("@Encore/Templates/LogowanieBundle/Logowanie");
  116.         yield "
  117. ";
  118.         
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  120.         
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122.         yield from [];
  123.     }
  124.     // line 13
  125.     /**
  126.      * @return iterable<null|scalar|\Stringable>
  127.      */
  128.     public function block_BaseBody(array $context, array $blocks = []): iterable
  129.     {
  130.         $macros = $this->macros;
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "BaseBody"));
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "BaseBody"));
  135.         // line 14
  136.         yield "    <div class=\"container-fluid\">
  137.          <p style=\"text-align:right; color:#fff; font-weight:700;\">Integracja: ";
  138.         // line 15
  139.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["CzyIntegracja"]) || array_key_exists("CzyIntegracja", $context) ? $context["CzyIntegracja"] : (function () { throw new RuntimeError('Variable "CzyIntegracja" does not exist.', 15, $this->source); })()), "html", null, true);
  140.         yield " </p>
  141.     </div> 
  142.     <div class=\"container-fluid\">
  143.         ";
  144.         // line 18
  145.         yield from         $this->loadTemplate("@ADASLogowanie/Partials/_customHeader.html.twig", "@ADASLogowanie/Form/Logowanie.html.twig", 18)->unwrap()->yield($context);
  146.         // line 19
  147.         yield "
  148.         <section class=\"container-fluid content_wrap\">          
  149.             <div class=\"row login-wrap\">
  150.                 <div class=\"content-box\">
  151.                     <div class=\"content-box-wrap row\">
  152.                         <div class=\"content-box-head col-md-12\">
  153.                             <img src=\"";
  154.         // line 25
  155.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/adasebudzet/images/logo_tensoft.png"), "html", null, true);
  156.         yield "\" alt=\"Logo\">
  157.                         </div>                        
  158.                         <div class=\"soft-name col-md-3\">
  159.                             Portal eBudżet<br>
  160.                             <div><span>e</span>Budżet</div>
  161.                         </div>
  162.                         <div class=\"login-form col-md-9\">
  163.                             <h1 class=\"h3 mb-3\">Logowanie do systemu</h1>
  164.                             ";
  165.         // line 33
  166.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 33, $this->source); })()), 'form_start');
  167.         yield "
  168.                             ";
  169.         // line 34
  170.         if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 34, $this->source); })()), "session", [], "any", false, false, false, 34), "flashBag", [], "any", false, false, false, 34), "has", ["version_error"], "method", false, false, false, 34)) {
  171.             // line 35
  172.             yield "                                <div class=\"alert alert-danger\">
  173.                                     <ul class=\"list-unstyled\">
  174.                                 ";
  175.             // line 37
  176.             $context['_parent'] = $context;
  177.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 37, $this->source); })()), "session", [], "any", false, false, false, 37), "flashBag", [], "any", false, false, false, 37), "get", ["version_error"], "method", false, false, false, 37));
  178.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  179.                 // line 38
  180.                 yield "                                    <li><span class=\"glyphicon glyphicon-exclamation-sign\"></span>
  181.                                         ";
  182.                 // line 39
  183.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
  184.                 yield "
  185.                                     </li>
  186.                                 ";
  187.             }
  188.             $_parent = $context['_parent'];
  189.             unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
  190.             $context = array_intersect_key($context, $_parent) + $_parent;
  191.             // line 42
  192.             yield "                                    </ul>
  193.                                 </div>
  194.                             ";
  195.         }
  196.         // line 45
  197.         yield "                            ";
  198.         if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 45, $this->source); })()), "session", [], "any", false, false, false, 45), "flashBag", [], "any", false, false, false, 45), "has", ["error"], "method", false, false, false, 45)) {
  199.             // line 46
  200.             yield "                                <div class=\"alert alert-danger\">
  201.                                     <ul class=\"list-unstyled\">
  202.                                 ";
  203.             // line 48
  204.             $context['_parent'] = $context;
  205.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 48, $this->source); })()), "session", [], "any", false, false, false, 48), "flashBag", [], "any", false, false, false, 48), "get", ["error"], "method", false, false, false, 48));
  206.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  207.                 // line 49
  208.                 yield "                                    <li><span class=\"glyphicon glyphicon-exclamation-sign\"></span>
  209.                                         ";
  210.                 // line 50
  211.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
  212.                 yield "
  213.                                     </li>
  214.                                 ";
  215.             }
  216.             $_parent = $context['_parent'];
  217.             unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
  218.             $context = array_intersect_key($context, $_parent) + $_parent;
  219.             // line 53
  220.             yield "                                    </ul>
  221.                                 </div>
  222.                             ";
  223.         }
  224.         // line 56
  225.         yield "                            ";
  226.         yield $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.', 56, $this->source); })()), 'widget');
  227.         yield "
  228.                             ";
  229.         // line 57
  230.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 57, $this->source); })()), 'form_end');
  231.         yield "
  232.                         </div>
  233.                     </div>
  234.                 </div>
  235.             </div> 
  236.         </section>
  237.         ";
  238.         // line 63
  239.         yield from         $this->loadTemplate("@ADASLogowanie/Partials/_customFooter.html.twig", "@ADASLogowanie/Form/Logowanie.html.twig", 63)->unwrap()->yield($context);
  240.         // line 64
  241.         yield "    </div> 
  242. ";
  243.         
  244.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  245.         
  246.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  247.         yield from [];
  248.     }
  249.     /**
  250.      * @codeCoverageIgnore
  251.      */
  252.     public function getTemplateName(): string
  253.     {
  254.         return "@ADASLogowanie/Form/Logowanie.html.twig";
  255.     }
  256.     /**
  257.      * @codeCoverageIgnore
  258.      */
  259.     public function isTraitable(): bool
  260.     {
  261.         return false;
  262.     }
  263.     /**
  264.      * @codeCoverageIgnore
  265.      */
  266.     public function getDebugInfo(): array
  267.     {
  268.         return array (  270 => 64,  268 => 63,  259 => 57,  254 => 56,  249 => 53,  240 => 50,  237 => 49,  233 => 48,  229 => 46,  226 => 45,  221 => 42,  212 => 39,  209 => 38,  205 => 37,  201 => 35,  199 => 34,  195 => 33,  184 => 25,  176 => 19,  174 => 18,  168 => 15,  165 => 14,  152 => 13,  139 => 10,  134 => 9,  121 => 8,  108 => 6,  103 => 5,  90 => 4,  66 => 2,  43 => 1,);
  269.     }
  270.     public function getSourceContext(): Source
  271.     {
  272.         return new Source("{% extends \"base.html.twig\" %}
  273. {% block title %}{{ parent() }} - Logowanie{% endblock %}
  274. {% block stylesheets %}
  275.     {{ parent() }}
  276.     {{ encore_entry_link_tags('@Encore/Templates/LogowanieBundle/Logowanie') }}
  277. {% endblock %}
  278. {% block javascripts %}
  279.     {{ parent() }}
  280.     {{ encore_entry_script_tags('@Encore/Templates/LogowanieBundle/Logowanie') }}
  281. {% endblock %}    
  282. {% block BaseBody %}
  283.     <div class=\"container-fluid\">
  284.          <p style=\"text-align:right; color:#fff; font-weight:700;\">Integracja: {{ CzyIntegracja }} </p>
  285.     </div> 
  286.     <div class=\"container-fluid\">
  287.         {% include '@ADASLogowanie/Partials/_customHeader.html.twig' %}
  288.         <section class=\"container-fluid content_wrap\">          
  289.             <div class=\"row login-wrap\">
  290.                 <div class=\"content-box\">
  291.                     <div class=\"content-box-wrap row\">
  292.                         <div class=\"content-box-head col-md-12\">
  293.                             <img src=\"{{ asset('bundles/adasebudzet/images/logo_tensoft.png') }}\" alt=\"Logo\">
  294.                         </div>                        
  295.                         <div class=\"soft-name col-md-3\">
  296.                             Portal eBudżet<br>
  297.                             <div><span>e</span>Budżet</div>
  298.                         </div>
  299.                         <div class=\"login-form col-md-9\">
  300.                             <h1 class=\"h3 mb-3\">Logowanie do systemu</h1>
  301.                             {{ form_start(form) }}
  302.                             {% if app.session.flashBag.has('version_error') %}
  303.                                 <div class=\"alert alert-danger\">
  304.                                     <ul class=\"list-unstyled\">
  305.                                 {% for message in app.session.flashBag.get('version_error') %}
  306.                                     <li><span class=\"glyphicon glyphicon-exclamation-sign\"></span>
  307.                                         {{ message }}
  308.                                     </li>
  309.                                 {% endfor %}
  310.                                     </ul>
  311.                                 </div>
  312.                             {% endif %}
  313.                             {% if app.session.flashBag.has('error') %}
  314.                                 <div class=\"alert alert-danger\">
  315.                                     <ul class=\"list-unstyled\">
  316.                                 {% for message in app.session.flashBag.get('error') %}
  317.                                     <li><span class=\"glyphicon glyphicon-exclamation-sign\"></span>
  318.                                         {{ message }}
  319.                                     </li>
  320.                                 {% endfor %}
  321.                                     </ul>
  322.                                 </div>
  323.                             {% endif %}
  324.                             {{ form_widget(form) }}
  325.                             {{ form_end(form) }}
  326.                         </div>
  327.                     </div>
  328.                 </div>
  329.             </div> 
  330.         </section>
  331.         {% include '@ADASLogowanie/Partials/_customFooter.html.twig' %}
  332.     </div> 
  333. {% endblock %}", "@ADASLogowanie/Form/Logowanie.html.twig", "/home/ekl0budzet/domains/ebudzet.kluczbork.pl/bundles/ADAS/LogowanieBundle/Resources/views/Form/Logowanie.html.twig");
  334.     }
  335. }