var/cache/dev/twig/f9/f9c4d11c25c9fbfc478ea6c55c1ecacc.php line 54

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. /* security/login.html.twig */
  16. class __TwigTemplate_930188b72400c2bf63b5f110dc51ea80 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.             'body' => [$this'block_body'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "base_home.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  44.         $this->parent $this->load("base_home.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         yield "Connexion | MaketOu";
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         yield from [];
  68.     }
  69.     // line 5
  70.     /**
  71.      * @return iterable<null|scalar|\Stringable>
  72.      */
  73.     public function block_body(array $context, array $blocks = []): iterable
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  80.         // line 6
  81.         yield "
  82.     <!-- Start Banner Area -->
  83.     <section class=\"banner-area organic-breadcrumb\">
  84.         <div class=\"container\">
  85.             <div class=\"breadcrumb-banner d-flex flex-wrap align-items-center justify-content-end\">
  86.                 <div class=\"col-first\">
  87.                     <h1>Connexion</h1>
  88.                     <nav class=\"d-flex align-items-center\">
  89.                         <a href=\"";
  90.         // line 14
  91.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ui_home");
  92.         yield "\">Accueil<span class=\"lnr lnr-arrow-right\"></span></a>
  93.                         <a href=\"javascript:void(0)\">Connexion</a>
  94.                     </nav>
  95.                 </div>
  96.             </div>
  97.         </div>
  98.     </section>
  99.     <!-- End Banner Area -->
  100.     <!--================Login Box Area =================-->
  101.     <section class=\"login_box_area section_gap\">
  102.         <div class=\"container\">
  103.             <div class=\"row\">
  104.                 <div class=\"col-lg-6\">
  105.                     <div class=\"login_box_img\">
  106.                         <img class=\"img-fluid\" src=\"";
  107.         // line 29
  108.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ui/img/login.jpg"), "html"nulltrue);
  109.         yield "\" alt=\"\">
  110.                         <div class=\"hover\">
  111.                             <h4>Nouveau sur le site?</h4>
  112.                             <p>Créez votre compte dès maintenant et profitez de tous nos avantages. Accédez à des offres exclusives, suivez vos commandes et bien plus encore.</p>
  113.                             <a class=\"primary-btn\" href=\"";
  114.         // line 33
  115.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ui_app_register");
  116.         yield "\">S'inscrire</a>
  117.                         </div>
  118.                     </div>
  119.                 </div>
  120.                 <div class=\"col-lg-6\">
  121.                     <div class=\"login_form_inner\">
  122.                         <h3>Connectez-vous</h3>
  123.                         <form method=\"post\" class=\"row login_form\">
  124.                             ";
  125.         // line 41
  126.         if ((($tmp = ($context["error"] ?? null)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  127.             // line 42
  128.             yield "                                <div class=\"alert alert-danger w-100\">";
  129.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source, ($context["error"] ?? null), "messageKey", [], "any"falsefalsefalse42), CoreExtension::getAttribute($this->env$this->source, ($context["error"] ?? null), "messageData", [], "any"falsefalsefalse42), "security"), "html"nulltrue);
  130.             yield "</div>
  131.                             ";
  132.         }
  133.         // line 44
  134.         yield "
  135.                             ";
  136.         // line 45
  137.         if ((($tmp CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsefalsefalse45)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  138.             // line 46
  139.             yield "                                <div class=\"mb-3\">
  140.                                     Vous êtes connecté comme ";
  141.             // line 47
  142.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsefalsefalse47), "userIdentifier", [], "any"falsefalsefalse47), "html"nulltrue);
  143.             yield ", <a
  144.                                             href=\"";
  145.             // line 48
  146.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ui_app_logout");
  147.             yield "\">Déconnexion</a>
  148.                                 </div>
  149.                             ";
  150.         }
  151.         // line 51
  152.         yield "                            <div class=\"col-md-12 form-group\">
  153.                                 <input type=\"email\" value=\"";
  154.         // line 52
  155.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["last_username"] ?? null), "html"nulltrue);
  156.         yield "\" name=\"_username\" id=\"username\"
  157.                                        class=\"form-control\" autocomplete=\"email\" placeholder=\"Votre email\" required>
  158.                             </div>
  159.                             <div class=\"col-md-12 form-group\">
  160.                                 <input type=\"password\" name=\"_password\" id=\"password\" class=\"form-control\"
  161.                                        autocomplete=\"current-password\" placeholder=\"Votre mot de passe\" required>
  162.                             </div>
  163.                             <div class=\"col-md-12 form-group\">
  164.                                 <div class=\"creat_account\">
  165.                                     <input type=\"checkbox\" id=\"f-option2\" name=\"selector\">
  166.                                     <label for=\"f-option2\">Rester connecté!</label>
  167.                                 </div>
  168.                             </div>
  169.                             <input type=\"hidden\" name=\"_csrf_token\"
  170.                                    value=\"";
  171.         // line 68
  172.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  173.         yield "\"
  174.                             >
  175.                             ";
  176.         // line 81
  177.         yield "                            <div class=\"col-md-12 form-group\">
  178.                                 <button class=\"primary-btn\" type=\"submit\">
  179.                                     Se connecter
  180.                                 </button>
  181.                                 <a href=\"";
  182.         // line 85
  183.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ui_app_forgot_password_request");
  184.         yield "\">Mot de passe oublié?</a>
  185.                             </div>
  186.                         </form>
  187.                     </div>
  188.                 </div>
  189.             </div>
  190.         </div>
  191.     </section>
  192. ";
  193.         
  194.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  195.         
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  197.         yield from [];
  198.     }
  199.     /**
  200.      * @codeCoverageIgnore
  201.      */
  202.     public function getTemplateName(): string
  203.     {
  204.         return "security/login.html.twig";
  205.     }
  206.     /**
  207.      * @codeCoverageIgnore
  208.      */
  209.     public function isTraitable(): bool
  210.     {
  211.         return false;
  212.     }
  213.     /**
  214.      * @codeCoverageIgnore
  215.      */
  216.     public function getDebugInfo(): array
  217.     {
  218.         return array (  206 => 85,  200 => 81,  194 => 68,  175 => 52,  172 => 51,  166 => 48,  162 => 47,  159 => 46,  157 => 45,  154 => 44,  148 => 42,  146 => 41,  135 => 33,  128 => 29,  110 => 14,  100 => 6,  87 => 5,  64 => 3,  41 => 1,);
  219.     }
  220.     public function getSourceContext(): Source
  221.     {
  222.         return new Source("{% extends 'base_home.html.twig' %}
  223. {% block title %}Connexion | MaketOu{% endblock %}
  224. {% block body %}
  225.     <!-- Start Banner Area -->
  226.     <section class=\"banner-area organic-breadcrumb\">
  227.         <div class=\"container\">
  228.             <div class=\"breadcrumb-banner d-flex flex-wrap align-items-center justify-content-end\">
  229.                 <div class=\"col-first\">
  230.                     <h1>Connexion</h1>
  231.                     <nav class=\"d-flex align-items-center\">
  232.                         <a href=\"{{ path('ui_home') }}\">Accueil<span class=\"lnr lnr-arrow-right\"></span></a>
  233.                         <a href=\"javascript:void(0)\">Connexion</a>
  234.                     </nav>
  235.                 </div>
  236.             </div>
  237.         </div>
  238.     </section>
  239.     <!-- End Banner Area -->
  240.     <!--================Login Box Area =================-->
  241.     <section class=\"login_box_area section_gap\">
  242.         <div class=\"container\">
  243.             <div class=\"row\">
  244.                 <div class=\"col-lg-6\">
  245.                     <div class=\"login_box_img\">
  246.                         <img class=\"img-fluid\" src=\"{{ asset('ui/img/login.jpg') }}\" alt=\"\">
  247.                         <div class=\"hover\">
  248.                             <h4>Nouveau sur le site?</h4>
  249.                             <p>Créez votre compte dès maintenant et profitez de tous nos avantages. Accédez à des offres exclusives, suivez vos commandes et bien plus encore.</p>
  250.                             <a class=\"primary-btn\" href=\"{{ path('ui_app_register') }}\">S'inscrire</a>
  251.                         </div>
  252.                     </div>
  253.                 </div>
  254.                 <div class=\"col-lg-6\">
  255.                     <div class=\"login_form_inner\">
  256.                         <h3>Connectez-vous</h3>
  257.                         <form method=\"post\" class=\"row login_form\">
  258.                             {% if error %}
  259.                                 <div class=\"alert alert-danger w-100\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  260.                             {% endif %}
  261.                             {% if app.user %}
  262.                                 <div class=\"mb-3\">
  263.                                     Vous êtes connecté comme {{ app.user.userIdentifier }}, <a
  264.                                             href=\"{{ path('ui_app_logout') }}\">Déconnexion</a>
  265.                                 </div>
  266.                             {% endif %}
  267.                             <div class=\"col-md-12 form-group\">
  268.                                 <input type=\"email\" value=\"{{ last_username }}\" name=\"_username\" id=\"username\"
  269.                                        class=\"form-control\" autocomplete=\"email\" placeholder=\"Votre email\" required>
  270.                             </div>
  271.                             <div class=\"col-md-12 form-group\">
  272.                                 <input type=\"password\" name=\"_password\" id=\"password\" class=\"form-control\"
  273.                                        autocomplete=\"current-password\" placeholder=\"Votre mot de passe\" required>
  274.                             </div>
  275.                             <div class=\"col-md-12 form-group\">
  276.                                 <div class=\"creat_account\">
  277.                                     <input type=\"checkbox\" id=\"f-option2\" name=\"selector\">
  278.                                     <label for=\"f-option2\">Rester connecté!</label>
  279.                                 </div>
  280.                             </div>
  281.                             <input type=\"hidden\" name=\"_csrf_token\"
  282.                                    value=\"{{ csrf_token('authenticate') }}\"
  283.                             >
  284.                             {#
  285.                             Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
  286.                             See https://symfony.com/doc/current/security/remember_me.html
  287.                             <div class=\"checkbox mb-3\">
  288.                                 <label>
  289.                                     <input type=\"checkbox\" name=\"_remember_me\"> Remember me
  290.                                 </label>
  291.                             </div>
  292.                             #}
  293.                             <div class=\"col-md-12 form-group\">
  294.                                 <button class=\"primary-btn\" type=\"submit\">
  295.                                     Se connecter
  296.                                 </button>
  297.                                 <a href=\"{{ path('ui_app_forgot_password_request') }}\">Mot de passe oublié?</a>
  298.                             </div>
  299.                         </form>
  300.                     </div>
  301.                 </div>
  302.             </div>
  303.         </div>
  304.     </section>
  305. {% endblock %}
  306. ""security/login.html.twig""/home/u540977899/domains/maketou-ht.com/public_html/templates/security/login.html.twig");
  307.     }
  308. }