var/cache/dev/twig/a1/a1f1773fecdfb0a44fa7c6a14acea0c6.php line 44

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_182031c3ac2952841584f5b69ecd543a 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.             'body' => [$this'block_body'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "base.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.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_body(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""body"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  62.         // line 4
  63.         yield "    <div class=\"login\">
  64.         <div class=\"container-fluid\">
  65.             <div class=\"main-content\">
  66.                 <div class=\"login-container\">
  67.                     <div class=\"row\">
  68.                         <div class=\"col-12 col-lg-5 d-none d-lg-flex\">
  69.                             <div class=\"image animated fadeIn delay-0-4s\">
  70.                                 <img src=\"";
  71.         // line 11
  72.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/image-flavour-vibes.png"), "html"nulltrue);
  73.         yield "\" alt=\"connexion\">
  74.                             </div>
  75.                         </div>
  76.                         <div class=\"col-12 col-lg-7\">
  77.                             <div class=\"row align-items-center h-100\">
  78.                                 <div class=\"col-12\">
  79.                                     <div class=\"panel panel-default\">
  80.                                         
  81.                                         <div class=\"panel-header animated fadeIn delay-0-2s\">
  82.                                             <a href=\"";
  83.         // line 20
  84.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  85.         yield "\">
  86.                                                 <div class=\"logo text-center\">
  87.                                                     <img src=\"";
  88.         // line 22
  89.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/logo-vertical.png"), "html"nulltrue);
  90.         yield "\" alt=\"logo\">
  91.                                                 </div>
  92.                                             </a>
  93.                                             <h1>LOG IN TO YOUR ACCOUNT</h1>
  94.                                             <div class=\"description text-center mt-3\">
  95. You are about to enter the 1883 recipes database, a huge list of recipes created by our teams all around the world.
  96. Are you one of our 1883 Brand Ambassadors? Identify yourself and save all your creations.
  97. Are you part of the 1883 Corporate team? Identify yourself and access to full of gourmet and tasty recipes.
  98. Enjoy your visit!
  99.  
  100. <br/><br/>
  101. As a reminder:
  102. This tool is exclusively reserved to the 1883 team.
  103. Only people who have received a registration email can access it.
  104. It is strictly forbidden to share your user account.</div>
  105.                                             <div class=\"mt-4 d-none\">
  106.                                                 Développement : <span style=\"color: red;\">V1.0.6</span>
  107.                                             </div>
  108.                                         </div>
  109.                                         <div class=\"panel-body animated fadeIn delay-0-3s\">
  110.                                             <form class=\"form-horizontal\" method=\"post\">
  111.                                                 ";
  112.         // line 52
  113.         if ((($tmp = (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'52$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  114.             // line 53
  115.             yield "                                                    <div class=\"alert alert-danger\">";
  116.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'53$this->source); })()), "messageKey", [], "any"falsefalsefalse53), CoreExtension::getAttribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'53$this->source); })()), "messageData", [], "any"falsefalsefalse53), "security"), "html"nulltrue);
  117.             yield "</div>
  118.                                                 ";
  119.         }
  120.         // line 55
  121.         yield "
  122.                                                 ";
  123.         // line 56
  124.         if ((($tmp 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.'56$this->source); })()), "user", [], "any"falsefalsefalse56)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  125.             // line 57
  126.             yield "                                                    <div class=\"mb-3 text-center\">
  127.                                                         Vous êtes connecté en tant que : ";
  128.             // line 58
  129.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "user", [], "any"falsefalsefalse58), "username", [], "any"falsefalsefalse58), "html"nulltrue);
  130.             yield ", peut-être que ce compte n'a pas encore de droit d'utilisation. <br/> <br/>   <a href=\"";
  131.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  132.             yield "\">Logout</a>
  133.                                                     </div>
  134.                                                 ";
  135.         } else {
  136.             // line 61
  137.             yield "                                                    <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  138.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  139.             yield "\">
  140.                                                     <div class=\"form\">
  141.                                                         <div class=\"form-group\">
  142.                                                             <div class=\"input-group\">
  143.                                                           <label for=\"username\">Email</label>
  144.                                                                 <input placeholder=\"j.dupont@mail.com\" type=\"email\" value=\"";
  145.             // line 67
  146.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'67$this->source); })()), "html"nulltrue);
  147.             yield "\" name=\"email\" id=\"inputEmail\" class=\"form-control\" required autofocus>
  148.                                                             </div>
  149.                                                         <div class=\"help-block with-errors\"></div>
  150.                                                         </div>
  151.                                                         <div class=\"form-group bloc-password mt-3\">
  152.                                                         <div class=\"input-group\">
  153.                                                                 <label for=\"password\">Password</label>
  154.                                                                 <input placeholder=\"•••••••••••\" type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" required>
  155.                                                             </div>
  156.                                                         <div class=\"help-block with-errors\"></div>
  157.                                                         </div>
  158.                                                     
  159.                                                         <div class=\"form-group login-submit\">
  160.                                                             <button type=\"submit\" id=\"submit-button\" class=\"button black disabled\">Log in</button>
  161.                                                         </div>
  162.                                                         <div class=\"update-password text-center\">
  163.                                                             <a href=\"";
  164.             // line 84
  165.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
  166.             yield "\">I forgot my password</a>
  167.                                                         </div>
  168.                                                     </div>
  169.                                                 ";
  170.         }
  171.         // line 88
  172.         yield "
  173.                                             </form>
  174.                                         </div>
  175.                                     </div>
  176.                                 </div>
  177.                             </div>
  178.                         </div>
  179.                     </div>
  180.                 </div>
  181.             </div>
  182.         </div>
  183.     </div>
  184. ";
  185.         
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  187.         
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  189.         yield from [];
  190.     }
  191.     // line 103
  192.     /**
  193.      * @return iterable<null|scalar|\Stringable>
  194.      */
  195.     public function block_javascripts(array $context, array $blocks = []): iterable
  196.     {
  197.         $macros $this->macros;
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  202.         // line 104
  203.         yield "    ";
  204.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  205.         yield "
  206.     <script>
  207.       \$( document ).ready(function() {
  208.          \$('form').validator();
  209.       });
  210.     </script>
  211. ";
  212.         
  213.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  214.         
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  216.         yield from [];
  217.     }
  218.     /**
  219.      * @codeCoverageIgnore
  220.      */
  221.     public function getTemplateName(): string
  222.     {
  223.         return "security/login.html.twig";
  224.     }
  225.     /**
  226.      * @codeCoverageIgnore
  227.      */
  228.     public function isTraitable(): bool
  229.     {
  230.         return false;
  231.     }
  232.     /**
  233.      * @codeCoverageIgnore
  234.      */
  235.     public function getDebugInfo(): array
  236.     {
  237.         return array (  234 => 104,  221 => 103,  197 => 88,  190 => 84,  170 => 67,  160 => 61,  152 => 58,  149 => 57,  147 => 56,  144 => 55,  138 => 53,  136 => 52,  103 => 22,  98 => 20,  86 => 11,  77 => 4,  64 => 3,  41 => 1,);
  238.     }
  239.     public function getSourceContext(): Source
  240.     {
  241.         return new Source("{% extends 'base.html.twig' %}
  242. {% block body %}
  243.     <div class=\"login\">
  244.         <div class=\"container-fluid\">
  245.             <div class=\"main-content\">
  246.                 <div class=\"login-container\">
  247.                     <div class=\"row\">
  248.                         <div class=\"col-12 col-lg-5 d-none d-lg-flex\">
  249.                             <div class=\"image animated fadeIn delay-0-4s\">
  250.                                 <img src=\"{{ asset('img/image-flavour-vibes.png') }}\" alt=\"connexion\">
  251.                             </div>
  252.                         </div>
  253.                         <div class=\"col-12 col-lg-7\">
  254.                             <div class=\"row align-items-center h-100\">
  255.                                 <div class=\"col-12\">
  256.                                     <div class=\"panel panel-default\">
  257.                                         
  258.                                         <div class=\"panel-header animated fadeIn delay-0-2s\">
  259.                                             <a href=\"{{ path('home') }}\">
  260.                                                 <div class=\"logo text-center\">
  261.                                                     <img src=\"{{ asset('img/logo-vertical.png') }}\" alt=\"logo\">
  262.                                                 </div>
  263.                                             </a>
  264.                                             <h1>LOG IN TO YOUR ACCOUNT</h1>
  265.                                             <div class=\"description text-center mt-3\">
  266. You are about to enter the 1883 recipes database, a huge list of recipes created by our teams all around the world.
  267. Are you one of our 1883 Brand Ambassadors? Identify yourself and save all your creations.
  268. Are you part of the 1883 Corporate team? Identify yourself and access to full of gourmet and tasty recipes.
  269. Enjoy your visit!
  270.  
  271. <br/><br/>
  272. As a reminder:
  273. This tool is exclusively reserved to the 1883 team.
  274. Only people who have received a registration email can access it.
  275. It is strictly forbidden to share your user account.</div>
  276.                                             <div class=\"mt-4 d-none\">
  277.                                                 Développement : <span style=\"color: red;\">V1.0.6</span>
  278.                                             </div>
  279.                                         </div>
  280.                                         <div class=\"panel-body animated fadeIn delay-0-3s\">
  281.                                             <form class=\"form-horizontal\" method=\"post\">
  282.                                                 {% if error %}
  283.                                                     <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  284.                                                 {% endif %}
  285.                                                 {% if app.user %}
  286.                                                     <div class=\"mb-3 text-center\">
  287.                                                         Vous êtes connecté en tant que : {{ app.user.username }}, peut-être que ce compte n'a pas encore de droit d'utilisation. <br/> <br/>   <a href=\"{{ path('app_logout') }}\">Logout</a>
  288.                                                     </div>
  289.                                                 {% else %}
  290.                                                     <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  291.                                                     <div class=\"form\">
  292.                                                         <div class=\"form-group\">
  293.                                                             <div class=\"input-group\">
  294.                                                           <label for=\"username\">Email</label>
  295.                                                                 <input placeholder=\"j.dupont@mail.com\" type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control\" required autofocus>
  296.                                                             </div>
  297.                                                         <div class=\"help-block with-errors\"></div>
  298.                                                         </div>
  299.                                                         <div class=\"form-group bloc-password mt-3\">
  300.                                                         <div class=\"input-group\">
  301.                                                                 <label for=\"password\">Password</label>
  302.                                                                 <input placeholder=\"•••••••••••\" type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" required>
  303.                                                             </div>
  304.                                                         <div class=\"help-block with-errors\"></div>
  305.                                                         </div>
  306.                                                     
  307.                                                         <div class=\"form-group login-submit\">
  308.                                                             <button type=\"submit\" id=\"submit-button\" class=\"button black disabled\">Log in</button>
  309.                                                         </div>
  310.                                                         <div class=\"update-password text-center\">
  311.                                                             <a href=\"{{ path('app_forgot_password_request') }}\">I forgot my password</a>
  312.                                                         </div>
  313.                                                     </div>
  314.                                                 {% endif %}
  315.                                             </form>
  316.                                         </div>
  317.                                     </div>
  318.                                 </div>
  319.                             </div>
  320.                         </div>
  321.                     </div>
  322.                 </div>
  323.             </div>
  324.         </div>
  325.     </div>
  326. {% endblock %}
  327. {% block javascripts %}
  328.     {{ parent() }}
  329.     <script>
  330.       \$( document ).ready(function() {
  331.          \$('form').validator();
  332.       });
  333.     </script>
  334. {% endblock %}
  335. ""security/login.html.twig""/var/www/vhosts/webpro-developpement.fr/follow.webpro-developpement.fr/public/templates/security/login.html.twig");
  336.     }
  337. }