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

/* admin/user_profile.html.twig */
class __TwigTemplate_bd01fc67c0146e769400a60e88d4452f 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 = [
            'page_title' => [$this, 'block_page_title'],
            'page_content' => [$this, 'block_page_content'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 17
        return $this->load(($context["extendedTemplate"] ?? null), 17);
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "session", [], "any", false, false, false, 1), "get", ["_application"], "method", false, false, false, 1) == 0)) {
            // line 2
            $context["extendedTemplate"] = "@AdminLTE/layout/mesodd-layout.html.twig";
        }
        // line 4
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "session", [], "any", false, false, false, 4), "get", ["_application"], "method", false, false, false, 4) == 1)) {
            // line 5
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "session", [], "any", false, false, false, 5), "get", ["_commune"], "method", false, false, false, 5)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 6
                $context["extendedTemplate"] = "@AdminLTE/layout/communeodd-layout.html.twig";
            } elseif ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,             // line 7
($context["app"] ?? null), "session", [], "any", false, false, false, 7), "get", ["_departement"], "method", false, false, false, 7)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 8
                $context["extendedTemplate"] = "@AdminLTE/layout/ddd-layout.html.twig";
            } else {
                // line 10
                $context["extendedTemplate"] = "@AdminLTE/layout/suiodd-layout.html.twig";
            }
        }
        // line 13
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "session", [], "any", false, false, false, 13), "get", ["_application"], "method", false, false, false, 13) == 2)) {
            // line 14
            $context["extendedTemplate"] = "@AdminLTE/layout/cfgodd-layout.html.twig";
        }
        // line 17
        yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 19
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("admin.user.title", [], "messages");
        yield from [];
    }

    // line 22
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 23
        $macros["macro"] = $this->load("@AdminLTE/Macros/default.html.twig", 23)->unwrap();
        // line 24
        yield "<div class=\"container-fluid\">
<div class=\"row\">
    <div class=\"col-md-3\">
  
        <div class=\"card card-primary card-outline\">
            <div class=\"card-body box-profile\">
                <div class=\"text-center\">
                    ";
        // line 31
        yield $macros["macro"]->getTemplateForMacro("macro_avatar", $context, 31, $this->getSourceContext())->macro_avatar(...[CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "avatar", [], "any", false, false, false, 31), CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "username", [], "any", false, false, false, 31), "profile-user-img img-fluid img-circle"]);
        yield "
                </div>

                <h3 class=\"profile-username text-center\">";
        // line 34
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "familyName", [], "any", false, false, false, 34), "html", null, true);
        yield " ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "givenName", [], "any", false, false, false, 34), "html", null, true);
        yield "</h3>

                <p class=\"text-muted text-center\">";
        // line 36
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "office", [], "any", false, false, false, 36), "html", null, true);
        yield "</p>

                <!--ul class=\"list-group list-group-unbordered mb-3\">
                    <li class=\"list-group-item\">
                        <b>Followers</b> <a class=\"float-right\">1,322</a>
                    </li>
                    <li class=\"list-group-item\">
                        <b>Following</b> <a class=\"float-right\">543</a>
                    </li>
                    <li class=\"list-group-item\">
                        <b>Friends</b> <a class=\"float-right\">13,287</a>
                    </li>
                </ul-->

                <!--a href=\"#\" class=\"btn btn-primary btn-block\"><b>Follow</b></a-->
            </div>

        </div>
    </div>

    <div class=\"col-md-9\">
        <div class=\"card\">

            <div class=\"card-header p-2\">
                <ul class=\"nav nav-pills\">
                    <li class=\"nav-item\"><a class=\"nav-link active\" href=\"#settings\" data-toggle=\"tab\">";
        // line 61
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("navbar.myaccount", [], "messages");
        yield "</a></li>
                    <li class=\"nav-item\"><a class=\"nav-link\" href=\"#activity\" data-toggle=\"tab\">";
        // line 62
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("navbar.resetting", [], "messages");
        yield "</a></li>
                </ul>
            </div>
            
            <div class=\"card-body\">
                <div class=\"tab-content\">
                    <div class=\"tab-pane active\" id=\"settings\">
                        ";
        // line 69
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_start');
        yield "
                            ";
        // line 71
        yield "                            ";
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "email", [], "any", false, false, false, 71), 'row');
        yield "
                            ";
        // line 72
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "familyName", [], "any", false, false, false, 72), 'row');
        yield "
                            ";
        // line 73
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "givenName", [], "any", false, false, false, 73), 'row');
        yield "
                            ";
        // line 74
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "telephone", [], "any", false, false, false, 74), 'row');
        yield "
                            ";
        // line 75
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "office", [], "any", false, false, false, 75), 'row');
        yield "
                            ";
        // line 77
        yield "            
                            <div class=\"form-group row\">
                                <div class=\"col-sm-2\"></div>
                                <div class=\"col-sm-offset-2 col-sm-10\">
                                    <button type=\"submit\" class=\"btn btn-block btn-primary\">";
        // line 81
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.save", [], "messages");
        yield "</button>
                                </div>
                            </div>

                        ";
        // line 85
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_end');
        yield "
                    </div>
                    <div class=\"tab-pane\" id=\"activity\">
                        ";
        // line 88
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form_reset"] ?? null), 'form_start');
        yield "
                            ";
        // line 89
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form_reset"] ?? null), "password", [], "any", false, false, false, 89), 'row');
        yield " 
                            ";
        // line 90
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["form_reset"] ?? null), "plainPassword", [], "any", false, false, false, 90), "first", [], "any", false, false, false, 90), 'row');
        yield "
                            ";
        // line 91
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["form_reset"] ?? null), "plainPassword", [], "any", false, false, false, 91), "second", [], "any", false, false, false, 91), 'row');
        yield "

                            <div class=\"form-group row\">
                                <div class=\"col-sm-2\"></div>
                                <div class=\"col-sm-offset-2 col-sm-10\">
                                    <button type=\"submit\" class=\"btn btn-block btn-primary\">";
        // line 96
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.save", [], "messages");
        yield "</button>
                                </div>
                            </div>
            
                        ";
        // line 100
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form_reset"] ?? null), 'form_end');
        yield "
                    </div>

                </div>
            </div>

        </div>

    </div>
</div>
</div>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "admin/user_profile.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  232 => 100,  225 => 96,  217 => 91,  213 => 90,  209 => 89,  205 => 88,  199 => 85,  192 => 81,  186 => 77,  182 => 75,  178 => 74,  174 => 73,  170 => 72,  165 => 71,  161 => 69,  151 => 62,  147 => 61,  119 => 36,  112 => 34,  106 => 31,  97 => 24,  95 => 23,  88 => 22,  77 => 19,  73 => 17,  70 => 14,  68 => 13,  64 => 10,  61 => 8,  59 => 7,  57 => 6,  55 => 5,  53 => 4,  50 => 2,  48 => 1,  41 => 17,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "admin/user_profile.html.twig", "/var/www/html/templates/admin/user_profile.html.twig");
    }
}
