var/cache/dev/twig/9a/9a69d64df4fcfe79c77eaedb1159122f1041bc780db47ba3077b0ee4d3db39f8.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/security/login.html.twig */
  14. class __TwigTemplate_e523b0e9f7d10bb26a557b0fa8b435008d3c599a0305d8489796695af4797b07 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'content_class' => [$this'block_content_class'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/security/login.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/security/login.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""front/security/login.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         echo " ";
  56.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Connexion", [], "messages");
  57.         echo " | ";
  58.         $this->displayParentBlock("title"$context$blocks);
  59.         echo " ";
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 4
  66.     public function block_content_class($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_class"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_class"));
  73.         echo "bg-gray-white p-div40";
  74.         
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  76.         
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  78.     }
  79.     // line 6
  80.     public function block_body($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  87.         // line 7
  88.         echo twig_include($this->env$context"base-default/message-flash.html.twig");
  89.         echo "
  90. <div class=\"login-content\">
  91.     <h2 class=\"brand-text text-center mb-3\">
  92.         <span class=\"brand-logo\" style=\"font-weight: bold; font-size: 1.5rem; color: #8b8e9f\">
  93.             <i class=\"fal fa-sign-in-alt\"></i>
  94.         </span>
  95.         <span style=\"font-weight: bold; color: #8b8e9f !important; font-size: 1.5rem\" class=\"login-none\"> CONNEXION </span>
  96.         <span style=\"color: #3aaced; font-weight: bold; font-size: 1.5rem\">RYV</span><span style=\"color: #f9b90f; font-weight: bold; font-size: 1.5rem\">UP</span>
  97.     </h2>
  98.     <div class=\"login\">
  99.         <form method=\"post\" style=\"padding-bottom: 55px !important;\">
  100.             <div class=\"text-center text-theme-gray mb-2\">
  101.                 ";
  102.         // line 19
  103.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pas encore membre ?", [], "messages");
  104.         echo " <a href=\"";
  105.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_register");
  106.         echo "\" class=\"text-theme-gray text-decoration-underline\">";
  107.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Créer un compte", [], "messages");
  108.         echo "</a>.
  109.             </div>
  110.             
  111.             ";
  112.         // line 22
  113.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'22$this->source); })())) {
  114.             // line 23
  115.             echo "                <div class=\"alert alert-danger\" style=\"padding: 0.2rem 1.3rem !important; margin-top: 1rem; font-size: 13px\">Votre e-mail ou votre mot de passe est incorrect. </div>
  116.             ";
  117.         }
  118.         // line 25
  119.         echo "
  120.             ";
  121.         // line 26
  122.         $context['_parent'] = $context;
  123.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'26$this->source); })()), "session", [], "any"falsefalsefalse26), "flashbag", [], "any"falsefalsefalse26), "get", ["auth"], "method"falsefalsefalse26));
  124.         foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
  125.             echo "                    
  126.                 <div class=\"alert alert-danger\" style=\"padding: 0.2rem 1.3rem !important; margin-top: 1rem; font-size: 13px\">
  127.                     ";
  128.             // line 28
  129.             echo $context["flash_message"];
  130.             echo "
  131.                 </div>
  132.             ";
  133.         }
  134.         $_parent $context['_parent'];
  135.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
  136.         $context array_intersect_key($context$_parent) + $_parent;
  137.         // line 31
  138.         echo "
  139.             <label for=\"inputEmail\">Email</label>
  140.             <input type=\"email\" value=\"";
  141.         // line 33
  142.         echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'33$this->source); })()), "html"nulltrue);
  143.         echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control\" autocomplete=\"email\" required autofocus>
  144.             <div class=\"width-100 d-flex justify-content-between\">
  145.                 <label for=\"inputPassword\" class=\"width-auto\">Password</label>
  146.                 <a href=\"";
  147.         // line 36
  148.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_forgot_password_request");
  149.         echo "\" class=\"link-forgot-password\">
  150.                     <small>Mot de passe oublié?</small>
  151.                 </a>
  152.             </div>
  153.             <div class=\"input-group input-group-merge form-password-toggle\">
  154.                 <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
  155.                 <span class=\"input-group-text cursor-pointer\"><i class=\"fal fa-eye\"></i></span>
  156.             </div>
  157.             <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  158.         // line 44
  159.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  160.         echo "\">
  161.                                             
  162.             <div class=\"mb-1\">
  163.                 <div class=\"form-check\">
  164.                     <input class=\"form-check-input\" id=\"_remember_me\" type=\"checkbox\" name=\"_remember_me\" tabindex=\"3\"> 
  165.                     <label class=\"form-check-label\" for=\"_remember_me\"> Se souvenir de moi</label>
  166.                 </div>
  167.             </div>
  168.             <button class=\"log-submit-btn color-bg\" type=\"submit\"> ";
  169.         // line 53
  170.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Connexion", [], "messages");
  171.         echo " </button>
  172.         </form>
  173.     </div>
  174. </div>
  175. ";
  176.         
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  178.         
  179.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  180.     }
  181.     /**
  182.      * @codeCoverageIgnore
  183.      */
  184.     public function getTemplateName()
  185.     {
  186.         return "front/security/login.html.twig";
  187.     }
  188.     /**
  189.      * @codeCoverageIgnore
  190.      */
  191.     public function isTraitable()
  192.     {
  193.         return false;
  194.     }
  195.     /**
  196.      * @codeCoverageIgnore
  197.      */
  198.     public function getDebugInfo()
  199.     {
  200.         return array (  195 => 53,  183 => 44,  172 => 36,  166 => 33,  162 => 31,  153 => 28,  146 => 26,  143 => 25,  139 => 23,  137 => 22,  127 => 19,  112 => 7,  102 => 6,  83 => 4,  60 => 3,  37 => 1,);
  201.     }
  202.     public function getSourceContext()
  203.     {
  204.         return new Source("{% extends 'base.html.twig' %}
  205. {% block title %} {% trans %}Connexion {% endtrans %} | {{ parent() }} {% endblock %}
  206. {% block content_class %}bg-gray-white p-div40{% endblock %}
  207. {% block body %}
  208. {{ include('base-default/message-flash.html.twig') }}
  209. <div class=\"login-content\">
  210.     <h2 class=\"brand-text text-center mb-3\">
  211.         <span class=\"brand-logo\" style=\"font-weight: bold; font-size: 1.5rem; color: #8b8e9f\">
  212.             <i class=\"fal fa-sign-in-alt\"></i>
  213.         </span>
  214.         <span style=\"font-weight: bold; color: #8b8e9f !important; font-size: 1.5rem\" class=\"login-none\"> CONNEXION </span>
  215.         <span style=\"color: #3aaced; font-weight: bold; font-size: 1.5rem\">RYV</span><span style=\"color: #f9b90f; font-weight: bold; font-size: 1.5rem\">UP</span>
  216.     </h2>
  217.     <div class=\"login\">
  218.         <form method=\"post\" style=\"padding-bottom: 55px !important;\">
  219.             <div class=\"text-center text-theme-gray mb-2\">
  220.                 {% trans %}Pas encore membre ?{% endtrans %} <a href=\"{{ url('app_front_register') }}\" class=\"text-theme-gray text-decoration-underline\">{% trans %}Créer un compte{% endtrans %}</a>.
  221.             </div>
  222.             
  223.             {% if error %}
  224.                 <div class=\"alert alert-danger\" style=\"padding: 0.2rem 1.3rem !important; margin-top: 1rem; font-size: 13px\">Votre e-mail ou votre mot de passe est incorrect. </div>
  225.             {% endif %}
  226.             {% for flash_message in app.session.flashbag.get('auth') %}                    
  227.                 <div class=\"alert alert-danger\" style=\"padding: 0.2rem 1.3rem !important; margin-top: 1rem; font-size: 13px\">
  228.                     {{ flash_message|raw }}
  229.                 </div>
  230.             {% endfor %}
  231.             <label for=\"inputEmail\">Email</label>
  232.             <input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control\" autocomplete=\"email\" required autofocus>
  233.             <div class=\"width-100 d-flex justify-content-between\">
  234.                 <label for=\"inputPassword\" class=\"width-auto\">Password</label>
  235.                 <a href=\"{{ url('app_forgot_password_request') }}\" class=\"link-forgot-password\">
  236.                     <small>Mot de passe oublié?</small>
  237.                 </a>
  238.             </div>
  239.             <div class=\"input-group input-group-merge form-password-toggle\">
  240.                 <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
  241.                 <span class=\"input-group-text cursor-pointer\"><i class=\"fal fa-eye\"></i></span>
  242.             </div>
  243.             <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  244.                                             
  245.             <div class=\"mb-1\">
  246.                 <div class=\"form-check\">
  247.                     <input class=\"form-check-input\" id=\"_remember_me\" type=\"checkbox\" name=\"_remember_me\" tabindex=\"3\"> 
  248.                     <label class=\"form-check-label\" for=\"_remember_me\"> Se souvenir de moi</label>
  249.                 </div>
  250.             </div>
  251.             <button class=\"log-submit-btn color-bg\" type=\"submit\"> {% trans %}Connexion{% endtrans %} </button>
  252.         </form>
  253.     </div>
  254. </div>
  255. {% endblock %}
  256. ""front/security/login.html.twig""/var/www/vhosts/resoh.fr/httpdocs/templates/front/security/login.html.twig");
  257.     }
  258. }