var/cache/dev/twig/ac/ac2e56661c986d3133b1f8305c6050a1.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\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. /* security/login.html.twig */
  15. class __TwigTemplate_5c9c4a73fd45de3967695c54f72d3056 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base_baux_agent.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  40.         $this->parent $this->loadTemplate("base_baux_agent.html.twig""security/login.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         yield "Connexion à votre espace";
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         return; yield '';
  61.     }
  62.     // line 5
  63.     public function block_body($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         // line 6
  71.         yield "
  72. <div>
  73.     <p> </p>
  74. </div>
  75. <div class=\"page-header\">
  76. \t  \t<p style=\"text-align : center; color: black !important; text-transform: uppercase;\"> Bienvenue sur la plateforme de recensement des BAUX </p>
  77. \t\t<p style=\"text-align : center; color: black !important; text-transform: uppercase;\">
  78.             du Ministère de l'Hurbanisme, de l'Habitat et de l'Aménagement du Territoire 
  79.         </p>
  80. \t\t<hr>
  81.         ";
  82.         // line 17
  83.         yield "
  84.         <!-- End Row -->
  85.     </div>
  86. <form method=\"post\">
  87.     ";
  88.         // line 21
  89.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'21$this->source); })())) {
  90.             // line 22
  91.             yield "        <div class=\"alert alert-danger\">";
  92.             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.'22$this->source); })()), "messageKey", [], "any"falsefalsefalse22), 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.'22$this->source); })()), "messageData", [], "any"falsefalsefalse22), "security"), "html"nulltrue);
  93.             yield "</div>
  94.     ";
  95.         }
  96.         // line 24
  97.         yield "    <p class=\"mb-3\"><strong>Si vous avez un compte, veuillez vous connecter en renseignant vos accès ci-dessous.</strong></p>
  98.     <label for=\"inputEmail\">Email</label>
  99.     <input type=\"email\" value=\"";
  100.         // line 26
  101.         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.'26$this->source); })()), "html"nulltrue);
  102.         yield "\" name=\"email\" id=\"inputEmail\" class=\"form-control\" autocomplete=\"email\" required autofocus>
  103.     <br>
  104.     <label for=\"inputPassword\">Mot de passe</label>
  105.     <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
  106.     <input type=\"hidden\" name=\"_csrf_token\"
  107.            value=\"";
  108.         // line 32
  109.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  110.         yield "\"
  111.     >
  112.     <br>
  113.     <button class=\"btn btn-lg btn-success\" type=\"submit\">
  114.         Me connecter
  115.     </button>
  116. </form>
  117. <div>
  118.     <p> <em>Si vous n'avez pas encore de compte, veuillez créer votre compte en cliquant </em> <a href=\"";
  119.         // line 40
  120.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_agent_new");
  121.         yield " \">ici </a> </p>
  122. </div>
  123. ";
  124.         
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  126.         
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  128.         return; yield '';
  129.     }
  130.     /**
  131.      * @codeCoverageIgnore
  132.      */
  133.     public function getTemplateName()
  134.     {
  135.         return "security/login.html.twig";
  136.     }
  137.     /**
  138.      * @codeCoverageIgnore
  139.      */
  140.     public function isTraitable()
  141.     {
  142.         return false;
  143.     }
  144.     /**
  145.      * @codeCoverageIgnore
  146.      */
  147.     public function getDebugInfo()
  148.     {
  149.         return array (  140 => 40,  129 => 32,  120 => 26,  116 => 24,  110 => 22,  108 => 21,  102 => 17,  90 => 6,  80 => 5,  60 => 3,  37 => 1,);
  150.     }
  151.     public function getSourceContext()
  152.     {
  153.         return new Source("{% extends 'base_baux_agent.html.twig' %}
  154. {% block title %}Connexion à votre espace{% endblock %}
  155. {% block body %}
  156. <div>
  157.     <p> </p>
  158. </div>
  159. <div class=\"page-header\">
  160. \t  \t<p style=\"text-align : center; color: black !important; text-transform: uppercase;\"> Bienvenue sur la plateforme de recensement des BAUX </p>
  161. \t\t<p style=\"text-align : center; color: black !important; text-transform: uppercase;\">
  162.             du Ministère de l'Hurbanisme, de l'Habitat et de l'Aménagement du Territoire 
  163.         </p>
  164. \t\t<hr>
  165.         {# <hr style=\"background: linear-gradient(to right, rgba(206,17,38,1) 33%, rgba(252,209,22,1) 33% 66%, rgba(0,148,96,1) 66%); height: 7px; width: 20%; margin: 0 40% 0 40%; opacity: 1!important;\"> #}
  166.         <!-- End Row -->
  167.     </div>
  168. <form method=\"post\">
  169.     {% if error %}
  170.         <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  171.     {% endif %}
  172.     <p class=\"mb-3\"><strong>Si vous avez un compte, veuillez vous connecter en renseignant vos accès ci-dessous.</strong></p>
  173.     <label for=\"inputEmail\">Email</label>
  174.     <input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control\" autocomplete=\"email\" required autofocus>
  175.     <br>
  176.     <label for=\"inputPassword\">Mot de passe</label>
  177.     <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
  178.     <input type=\"hidden\" name=\"_csrf_token\"
  179.            value=\"{{ csrf_token('authenticate') }}\"
  180.     >
  181.     <br>
  182.     <button class=\"btn btn-lg btn-success\" type=\"submit\">
  183.         Me connecter
  184.     </button>
  185. </form>
  186. <div>
  187.     <p> <em>Si vous n'avez pas encore de compte, veuillez créer votre compte en cliquant </em> <a href=\"{{path('app_agent_new')}} \">ici </a> </p>
  188. </div>
  189. {% endblock %}
  190. ""security/login.html.twig""/home/u131790682/domains/brainsensetech.com/public_html/baux/templates/security/login.html.twig");
  191.     }
  192. }