var/cache/website/dev/twig/b9/b9ee434d29c7d1f7f87a5c58d1285451.php line 38

  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. /* community/login.html.twig */
  14. class __TwigTemplate_b3604edfd31a35c1b9066916bbf10e65 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""community/login.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""community/login.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""community/login.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 4
  54.         echo "<div class=\"flex items-center justify-center mx-auto py-10\">
  55.     <section class=\"rounded-lg px-6 py-8 shadow bg-white w-4/5 md:w-3/5\">
  56.         ";
  57.         // line 7
  58.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'7$this->source); })())) {
  59.             // line 8
  60.             echo "            <div
  61.                 class=\"mb-4 rounded-lg bg-orange-100 px-6 py-5 text-base text-red-800\"
  62.                 role=\"alert\">
  63.                 ";
  64.             // line 11
  65.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'11$this->source); })()), "messageKey", [], "any"falsefalsefalse11), twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'11$this->source); })()), "messageData", [], "any"falsefalsefalse11), "security"), "html"nulltrue);
  66.             echo "
  67.                 </div>
  68.         ";
  69.         }
  70.         // line 14
  71.         echo "        <form action=\"";
  72.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sulu_community.login");
  73.         echo "\" method=\"post\">
  74.             <!-- Email input -->
  75.             <div class=\"relative mb-6\">
  76.                 <label for=\"username\" class=\"block text-gray-800\">Utilisateur</label>
  77.                 <input type=\"text\"
  78.                     class=\"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50\"
  79.                     id=\"username\"
  80.                     name=\"_username\"
  81.                     value=\"";
  82.         // line 22
  83.         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.'22$this->source); })()), "html"nulltrue);
  84.         echo "\"
  85.                     placeholder=\"Utilisateur ou email\" />
  86.             </div>
  87.             <!-- Password input -->
  88.             <div class=\"relative mb-6\">
  89.                 <label for=\"password\" class=\"block text-gray-800\">Mot de passe</label>
  90.                 <input type=\"password\"
  91.                     class=\"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50\"
  92.                     id=\"password\"
  93.                     name=\"_password\"
  94.                     placeholder=\"Mot de passe\" />
  95.             </div>
  96.             <!-- Remember me checkbox -->
  97.             <div class=\"mb-6 flex items-center justify-between\">
  98.                 <div class=\"mb-[0.125rem] block min-h-[1.5rem] pl-[1.5rem]\">
  99.                     <input class=\"relative float-left -ml-[1.5rem] mr-[6px] mt-[0.15rem] h-[1.125rem] w-[1.125rem] appearance-none rounded-[0.25rem] border-[0.125rem] border-solid border-neutral-300 outline-none before:pointer-events-none before:absolute before:h-[0.875rem] before:w-[0.875rem] before:scale-0 before:rounded-full before:bg-transparent before:opacity-0 before:shadow-[0px_0px_0px_13px_transparent] before:content-[''] checked:border-primary checked:bg-primary checked:before:opacity-[0.16] checked:after:absolute checked:after:-mt-px checked:after:ml-[0.25rem] checked:after:block checked:after:h-[0.8125rem] checked:after:w-[0.375rem] checked:after:rotate-45 checked:after:border-[0.125rem] checked:after:border-l-0 checked:after:border-t-0 checked:after:border-solid checked:after:border-white checked:after:bg-transparent checked:after:content-[''] hover:cursor-pointer hover:before:opacity-[0.04] hover:before:shadow-[0px_0px_0px_13px_rgba(0,0,0,0.6)] focus:shadow-none focus:transition-[border-color_0.2s] focus:before:scale-100 focus:before:opacity-[0.12] focus:before:shadow-[0px_0px_0px_13px_rgba(0,0,0,0.6)] focus:before:transition-[box-shadow_0.2s,transform_0.2s] focus:after:absolute focus:after:z-[1] focus:after:block focus:after:h-[0.875rem] focus:after:w-[0.875rem] focus:after:rounded-[0.125rem] focus:after:content-[''] checked:focus:before:scale-100 checked:focus:before:shadow-[0px_0px_0px_13px_#3b71ca] checked:focus:before:transition-[box-shadow_0.2s,transform_0.2s] checked:focus:after:-mt-px checked:focus:after:ml-[0.25rem] checked:focus:after:h-[0.8125rem] checked:focus:after:w-[0.375rem] checked:focus:after:rotate-45 checked:focus:after:rounded-none checked:focus:after:border-[0.125rem] checked:focus:after:border-l-0 checked:focus:after:border-t-0 checked:focus:after:border-solid checked:focus:after:border-white checked:focus:after:bg-transparent dark:border-neutral-600 dark:checked:border-primary dark:checked:bg-primary dark:focus:before:shadow-[0px_0px_0px_13px_rgba(255,255,255,0.4)] dark:checked:focus:before:shadow-[0px_0px_0px_13px_#3b71ca]\"
  100.                         type=\"checkbox\"
  101.                         value=\"\"
  102.                         id=\"remember_me\"
  103.                         name=\"_remember_me\"
  104.                         checked />
  105.                     <label class=\"inline-block pl-[0.15rem] hover:cursor-pointer\" for=\"remember_me\">Se souvenir de moi</label>
  106.                 </div>
  107.             </div>
  108.             <!-- Submit button -->
  109.             <button type=\"submit\"
  110.                 class=\"inline-block w-full px-6 py-2.5 bg-blue-600 text-white font-medium text-lg leading-tight uppercase rounded shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out\">
  111.                 Se connecter
  112.             </button>
  113.             <div class=\"flex items-center justify-center pt-4\">
  114.                 <!-- Forgot password link -->
  115.                 <a href=\"";
  116.         // line 57
  117.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sulu_community.password_forget");
  118.         echo "\"
  119.                     class=\"text-primary transition duration-150 ease-in-out hover:text-primary-600 focus:text-primary-600 active:text-primary-700 dark:text-primary-400 dark:hover:text-primary-500 dark:focus:text-primary-500 dark:active:text-primary-600\">
  120.                     Mot de passe oubliĆ© ?
  121.                 </a>
  122.             </div>
  123.         </form>
  124.     </section>
  125. </div>
  126. ";
  127.         
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.     }
  132.     public function getTemplateName()
  133.     {
  134.         return "community/login.html.twig";
  135.     }
  136.     public function isTraitable()
  137.     {
  138.         return false;
  139.     }
  140.     public function getDebugInfo()
  141.     {
  142.         return array (  136 => 57,  98 => 22,  86 => 14,  80 => 11,  75 => 8,  73 => 7,  68 => 4,  58 => 3,  35 => 1,);
  143.     }
  144.     public function getSourceContext()
  145.     {
  146.         return new Source("{% extends 'base.html.twig' %}
  147. {% block content %}
  148. <div class=\"flex items-center justify-center mx-auto py-10\">
  149.     <section class=\"rounded-lg px-6 py-8 shadow bg-white w-4/5 md:w-3/5\">
  150.         {% if error %}
  151.             <div
  152.                 class=\"mb-4 rounded-lg bg-orange-100 px-6 py-5 text-base text-red-800\"
  153.                 role=\"alert\">
  154.                 {{ error.messageKey|trans(error.messageData, 'security') }}
  155.                 </div>
  156.         {% endif %}
  157.         <form action=\"{{ path('sulu_community.login') }}\" method=\"post\">
  158.             <!-- Email input -->
  159.             <div class=\"relative mb-6\">
  160.                 <label for=\"username\" class=\"block text-gray-800\">Utilisateur</label>
  161.                 <input type=\"text\"
  162.                     class=\"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50\"
  163.                     id=\"username\"
  164.                     name=\"_username\"
  165.                     value=\"{{ last_username }}\"
  166.                     placeholder=\"Utilisateur ou email\" />
  167.             </div>
  168.             <!-- Password input -->
  169.             <div class=\"relative mb-6\">
  170.                 <label for=\"password\" class=\"block text-gray-800\">Mot de passe</label>
  171.                 <input type=\"password\"
  172.                     class=\"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50\"
  173.                     id=\"password\"
  174.                     name=\"_password\"
  175.                     placeholder=\"Mot de passe\" />
  176.             </div>
  177.             <!-- Remember me checkbox -->
  178.             <div class=\"mb-6 flex items-center justify-between\">
  179.                 <div class=\"mb-[0.125rem] block min-h-[1.5rem] pl-[1.5rem]\">
  180.                     <input class=\"relative float-left -ml-[1.5rem] mr-[6px] mt-[0.15rem] h-[1.125rem] w-[1.125rem] appearance-none rounded-[0.25rem] border-[0.125rem] border-solid border-neutral-300 outline-none before:pointer-events-none before:absolute before:h-[0.875rem] before:w-[0.875rem] before:scale-0 before:rounded-full before:bg-transparent before:opacity-0 before:shadow-[0px_0px_0px_13px_transparent] before:content-[''] checked:border-primary checked:bg-primary checked:before:opacity-[0.16] checked:after:absolute checked:after:-mt-px checked:after:ml-[0.25rem] checked:after:block checked:after:h-[0.8125rem] checked:after:w-[0.375rem] checked:after:rotate-45 checked:after:border-[0.125rem] checked:after:border-l-0 checked:after:border-t-0 checked:after:border-solid checked:after:border-white checked:after:bg-transparent checked:after:content-[''] hover:cursor-pointer hover:before:opacity-[0.04] hover:before:shadow-[0px_0px_0px_13px_rgba(0,0,0,0.6)] focus:shadow-none focus:transition-[border-color_0.2s] focus:before:scale-100 focus:before:opacity-[0.12] focus:before:shadow-[0px_0px_0px_13px_rgba(0,0,0,0.6)] focus:before:transition-[box-shadow_0.2s,transform_0.2s] focus:after:absolute focus:after:z-[1] focus:after:block focus:after:h-[0.875rem] focus:after:w-[0.875rem] focus:after:rounded-[0.125rem] focus:after:content-[''] checked:focus:before:scale-100 checked:focus:before:shadow-[0px_0px_0px_13px_#3b71ca] checked:focus:before:transition-[box-shadow_0.2s,transform_0.2s] checked:focus:after:-mt-px checked:focus:after:ml-[0.25rem] checked:focus:after:h-[0.8125rem] checked:focus:after:w-[0.375rem] checked:focus:after:rotate-45 checked:focus:after:rounded-none checked:focus:after:border-[0.125rem] checked:focus:after:border-l-0 checked:focus:after:border-t-0 checked:focus:after:border-solid checked:focus:after:border-white checked:focus:after:bg-transparent dark:border-neutral-600 dark:checked:border-primary dark:checked:bg-primary dark:focus:before:shadow-[0px_0px_0px_13px_rgba(255,255,255,0.4)] dark:checked:focus:before:shadow-[0px_0px_0px_13px_#3b71ca]\"
  181.                         type=\"checkbox\"
  182.                         value=\"\"
  183.                         id=\"remember_me\"
  184.                         name=\"_remember_me\"
  185.                         checked />
  186.                     <label class=\"inline-block pl-[0.15rem] hover:cursor-pointer\" for=\"remember_me\">Se souvenir de moi</label>
  187.                 </div>
  188.             </div>
  189.             <!-- Submit button -->
  190.             <button type=\"submit\"
  191.                 class=\"inline-block w-full px-6 py-2.5 bg-blue-600 text-white font-medium text-lg leading-tight uppercase rounded shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out\">
  192.                 Se connecter
  193.             </button>
  194.             <div class=\"flex items-center justify-center pt-4\">
  195.                 <!-- Forgot password link -->
  196.                 <a href=\"{{ path('sulu_community.password_forget') }}\"
  197.                     class=\"text-primary transition duration-150 ease-in-out hover:text-primary-600 focus:text-primary-600 active:text-primary-700 dark:text-primary-400 dark:hover:text-primary-500 dark:focus:text-primary-500 dark:active:text-primary-600\">
  198.                     Mot de passe oubliĆ© ?
  199.                 </a>
  200.             </div>
  201.         </form>
  202.     </section>
  203. </div>
  204. {% endblock %}
  205. ""community/login.html.twig""/home/clients/9fb54196d452b0565fe72264e749e2a9/sites/lerepere-website/templates/community/login.html.twig");
  206.     }
  207. }