<?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;

/* @AdminLTE/layout/form-theme-security.html.twig */
class __TwigTemplate_1bbd13b1ea6546ecdeb82a13e23ed235 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 = [
            'form_widget_simple' => [$this, 'block_form_widget_simple'],
            'email_widget' => [$this, 'block_email_widget'],
            'password_widget' => [$this, 'block_password_widget'],
            'form_label' => [$this, 'block_form_label'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "@AdminLTE/layout/form-theme-base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("@AdminLTE/layout/form-theme-base.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_form_widget_simple(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 4
        if (((array_key_exists("label", $context) &&  !(null === ($context["label"] ?? null))) &&  !(($context["label"] ?? null) === false))) {
            // line 5
            yield "        ";
            $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["label"] ?? null), [], ($context["translation_domain"] ?? null))]);
            // line 6
            yield "    ";
        }
        // line 7
        yield "    ";
        $context["label"] = false;
        // line 8
        yield "    ";
        if ((($tmp =  !CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "icon", [], "any", true, true, false, 8)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 9
            yield "        ";
            $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["icon" => "user"]);
            // line 10
            yield "    ";
        }
        // line 11
        yield "    ";
        if ((array_key_exists("type", $context) && (($context["type"] ?? null) == "hidden"))) {
            // line 12
            yield from $this->yieldParentBlock("form_widget_simple", $context, $blocks);
        } else {
            // line 14
            yield "        <div class=\"form-group has-feedback\">";
            // line 15
            yield from $this->yieldParentBlock("form_widget_simple", $context, $blocks);
            // line 16
            yield "<span class=\"glyphicon glyphicon-";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["attr"] ?? null), "icon", [], "any", false, false, false, 16), "html", null, true);
            yield " form-control-feedback\"></span>
        </div>
    ";
        }
        yield from [];
    }

    // line 21
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_email_widget(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 22
        $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["icon" => "envelope"]);
        // line 23
        yield from $this->yieldParentBlock("email_widget", $context, $blocks);
        yield from [];
    }

    // line 26
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_password_widget(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 27
        $context["attr"] = Twig\Extension\CoreExtension::merge(($context["attr"] ?? null), ["icon" => "lock"]);
        // line 28
        yield from $this->yieldParentBlock("password_widget", $context, $blocks);
        yield from [];
    }

    // line 31
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_form_label(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "@AdminLTE/layout/form-theme-security.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  129 => 31,  124 => 28,  122 => 27,  115 => 26,  110 => 23,  108 => 22,  101 => 21,  91 => 16,  89 => 15,  87 => 14,  84 => 12,  81 => 11,  78 => 10,  75 => 9,  72 => 8,  69 => 7,  66 => 6,  63 => 5,  61 => 4,  54 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "@AdminLTE/layout/form-theme-security.html.twig", "/var/www/html/vendor/kevinpapst/adminlte-bundle/Resources/views/layout/form-theme-security.html.twig");
    }
}
