<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @ADASLogowanie/Form/Logowanie.html.twig */
class __TwigTemplate_a68ba47cbba25e369b1cbb8e4316307b extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'BaseBody' => [$this, 'block_BaseBody'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ADASLogowanie/Form/Logowanie.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ADASLogowanie/Form/Logowanie.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "@ADASLogowanie/Form/Logowanie.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield from $this->yieldParentBlock("title", $context, $blocks);
yield " - Logowanie";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 5
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
// line 6
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("@Encore/Templates/LogowanieBundle/Logowanie");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 8
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 9
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
";
// line 10
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("@Encore/Templates/LogowanieBundle/Logowanie");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 13
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_BaseBody(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "BaseBody"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "BaseBody"));
// line 14
yield " <div class=\"container-fluid\">
<p style=\"text-align:right; color:#fff; font-weight:700;\">Integracja: ";
// line 15
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);
yield " </p>
</div>
<div class=\"container-fluid\">
";
// line 18
yield from $this->loadTemplate("@ADASLogowanie/Partials/_customHeader.html.twig", "@ADASLogowanie/Form/Logowanie.html.twig", 18)->unwrap()->yield($context);
// line 19
yield "
<section class=\"container-fluid content_wrap\">
<div class=\"row login-wrap\">
<div class=\"content-box\">
<div class=\"content-box-wrap row\">
<div class=\"content-box-head col-md-12\">
<img src=\"";
// line 25
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);
yield "\" alt=\"Logo\">
</div>
<div class=\"soft-name col-md-3\">
Portal eBudżet<br>
<div><span>e</span>Budżet</div>
</div>
<div class=\"login-form col-md-9\">
<h1 class=\"h3 mb-3\">Logowanie do systemu</h1>
";
// line 33
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');
yield "
";
// line 34
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)) {
// line 35
yield " <div class=\"alert alert-danger\">
<ul class=\"list-unstyled\">
";
// line 37
$context['_parent'] = $context;
$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));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 38
yield " <li><span class=\"glyphicon glyphicon-exclamation-sign\"></span>
";
// line 39
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
yield " </ul>
</div>
";
}
// line 45
yield " ";
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)) {
// line 46
yield " <div class=\"alert alert-danger\">
<ul class=\"list-unstyled\">
";
// line 48
$context['_parent'] = $context;
$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));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 49
yield " <li><span class=\"glyphicon glyphicon-exclamation-sign\"></span>
";
// line 50
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
yield " </ul>
</div>
";
}
// line 56
yield " ";
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');
yield "
";
// line 57
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');
yield "
</div>
</div>
</div>
</div>
</section>
";
// line 63
yield from $this->loadTemplate("@ADASLogowanie/Partials/_customFooter.html.twig", "@ADASLogowanie/Form/Logowanie.html.twig", 63)->unwrap()->yield($context);
// line 64
yield " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@ADASLogowanie/Form/Logowanie.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"base.html.twig\" %}
{% block title %}{{ parent() }} - Logowanie{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('@Encore/Templates/LogowanieBundle/Logowanie') }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{{ encore_entry_script_tags('@Encore/Templates/LogowanieBundle/Logowanie') }}
{% endblock %}
{% block BaseBody %}
<div class=\"container-fluid\">
<p style=\"text-align:right; color:#fff; font-weight:700;\">Integracja: {{ CzyIntegracja }} </p>
</div>
<div class=\"container-fluid\">
{% include '@ADASLogowanie/Partials/_customHeader.html.twig' %}
<section class=\"container-fluid content_wrap\">
<div class=\"row login-wrap\">
<div class=\"content-box\">
<div class=\"content-box-wrap row\">
<div class=\"content-box-head col-md-12\">
<img src=\"{{ asset('bundles/adasebudzet/images/logo_tensoft.png') }}\" alt=\"Logo\">
</div>
<div class=\"soft-name col-md-3\">
Portal eBudżet<br>
<div><span>e</span>Budżet</div>
</div>
<div class=\"login-form col-md-9\">
<h1 class=\"h3 mb-3\">Logowanie do systemu</h1>
{{ form_start(form) }}
{% if app.session.flashBag.has('version_error') %}
<div class=\"alert alert-danger\">
<ul class=\"list-unstyled\">
{% for message in app.session.flashBag.get('version_error') %}
<li><span class=\"glyphicon glyphicon-exclamation-sign\"></span>
{{ message }}
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if app.session.flashBag.has('error') %}
<div class=\"alert alert-danger\">
<ul class=\"list-unstyled\">
{% for message in app.session.flashBag.get('error') %}
<li><span class=\"glyphicon glyphicon-exclamation-sign\"></span>
{{ message }}
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{{ form_widget(form) }}
{{ form_end(form) }}
</div>
</div>
</div>
</div>
</section>
{% include '@ADASLogowanie/Partials/_customFooter.html.twig' %}
</div>
{% endblock %}", "@ADASLogowanie/Form/Logowanie.html.twig", "/home/ekl0budzet/domains/ebudzet.kluczbork.pl/bundles/ADAS/LogowanieBundle/Resources/views/Form/Logowanie.html.twig");
}
}