Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

var/cache/dev/twig/5a/5aa10308cfa96069927407f4f4f5c6a6.php line 39

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. /* login/index.html.twig */
  14. class __TwigTemplate_2bf6684f40f398d9b687e13320f063be 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.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""login/index.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""login/index.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""login/index.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Connexion";
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.     }
  60.     // line 6
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 7
  69.         echo "
  70.     <div class=\"row\">
  71.         <div class=\"d-flex justify-content-center\">
  72.             <div class=\"col-12 col-md-6\">
  73.                 <div class=\"row d-flex justify-content-center\">
  74.                     <div class=\"col col-md-6 card-head\">
  75.                         <img src=\"";
  76.         // line 13
  77.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("build/images/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandService"]) || array_key_exists("brandService"$context) ? $context["brandService"] : (function () { throw new RuntimeError('Variable "brandService" does not exist.'13$this->source); })()), "brand", [], "any"falsefalsefalse13), "logo", [], "any"falsefalsefalse13))), "html"nulltrue);
  78.         echo "\" class=\"logo-adn card-img-top\"
  79.                              alt=\"logo\">
  80.                     </div>
  81.                 </div>
  82.                 <div class=\"col-12\">
  83.                     ";
  84.         // line 19
  85.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'19$this->source); })())) {
  86.             // line 20
  87.             echo "                        <div class=\"alert-danger alert\">";
  88.             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.'20$this->source); })()), "messageKey", [], "any"falsefalsefalse20), 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.'20$this->source); })()), "messageData", [], "any"falsefalsefalse20), "security"), "html"nulltrue);
  89.             echo "</div>
  90.                     ";
  91.         }
  92.         // line 22
  93.         echo "
  94.                     ";
  95.         // line 23
  96.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'23$this->source); })()), 'form_start');
  97.         echo "
  98.                     ";
  99.         // line 25
  100.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'25$this->source); })()), "_username", [], "any"falsefalsefalse25), 'row');
  101.         echo "
  102.                     ";
  103.         // line 26
  104.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'26$this->source); })()), "_password", [], "any"falsefalsefalse26), 'row');
  105.         echo "
  106.                     <div class=\"d-flex justify-content-end mb-3\">
  107.                         <a class=\"color-text-link\" href=\"";
  108.         // line 29
  109.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
  110.         echo "\">
  111.                             <small>";
  112.         // line 30
  113.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.login.forgottenPassword"), "html"nulltrue);
  114.         echo "</small>
  115.                         </a>
  116.                     </div>
  117.                     <div class='color-text mb-5 first-visit-message'>
  118.                         <p class=\"first-visit-message__primary-text\">";
  119.         // line 35
  120.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.login.firstVisit"), "html"nulltrue);
  121.         echo "</p>
  122.                         <p class=\"first-visit-message__secondary-text\">
  123.                             ";
  124.         // line 37
  125.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.login.text"), "html"nulltrue);
  126.         echo "<br><br>
  127.                             <span class=\"small\">";
  128.         // line 38
  129.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.login.smallText"), "html"nulltrue);
  130.         echo "</span>
  131.                         </p>
  132.                     </div>
  133.                     <div class=\"mb-n3 mb-4 form-group d-flex justify-content-center\">
  134.                         <button type=\"submit\" class=\"login-btn btnDefaut\">";
  135.         // line 42
  136.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.common.buttons.login"), "html"nulltrue);
  137.         echo "</button>
  138.                     </div>
  139.                     ";
  140.         // line 45
  141.         if ((isset($context["redirectRoute"]) || array_key_exists("redirectRoute"$context) ? $context["redirectRoute"] : (function () { throw new RuntimeError('Variable "redirectRoute" does not exist.'45$this->source); })())) {
  142.             // line 46
  143.             echo "                        <input type=\"hidden\" name=\"_target_path\" value=\"";
  144.             echo twig_escape_filter($this->env, (isset($context["redirectRoute"]) || array_key_exists("redirectRoute"$context) ? $context["redirectRoute"] : (function () { throw new RuntimeError('Variable "redirectRoute" does not exist.'46$this->source); })()), "html"nulltrue);
  145.             echo "\">
  146.                     ";
  147.         }
  148.         // line 48
  149.         echo "                    ";
  150.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'48$this->source); })()), 'form_end');
  151.         echo "
  152.                 </div>
  153.             </div>
  154.         </div>
  155.     </div>
  156. ";
  157.         
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  159.         
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  161.     }
  162.     public function getTemplateName()
  163.     {
  164.         return "login/index.html.twig";
  165.     }
  166.     public function isTraitable()
  167.     {
  168.         return false;
  169.     }
  170.     public function getDebugInfo()
  171.     {
  172.         return array (  173 => 48,  167 => 46,  165 => 45,  159 => 42,  152 => 38,  148 => 37,  143 => 35,  135 => 30,  131 => 29,  125 => 26,  121 => 25,  116 => 23,  113 => 22,  107 => 20,  105 => 19,  96 => 13,  88 => 7,  78 => 6,  59 => 3,  36 => 1,);
  173.     }
  174.     public function getSourceContext()
  175.     {
  176.         return new Source("{% extends 'base.html.twig' %}
  177. {% block title %}Connexion{% endblock %}
  178. {% block body %}
  179.     <div class=\"row\">
  180.         <div class=\"d-flex justify-content-center\">
  181.             <div class=\"col-12 col-md-6\">
  182.                 <div class=\"row d-flex justify-content-center\">
  183.                     <div class=\"col col-md-6 card-head\">
  184.                         <img src=\"{{ asset('build/images/' ~ brandService.brand.logo) }}\" class=\"logo-adn card-img-top\"
  185.                              alt=\"logo\">
  186.                     </div>
  187.                 </div>
  188.                 <div class=\"col-12\">
  189.                     {% if error %}
  190.                         <div class=\"alert-danger alert\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  191.                     {% endif %}
  192.                     {{ form_start(form) }}
  193.                     {{ form_row(form._username) }}
  194.                     {{ form_row(form._password) }}
  195.                     <div class=\"d-flex justify-content-end mb-3\">
  196.                         <a class=\"color-text-link\" href=\"{{ path('app_forgot_password_request') }}\">
  197.                             <small>{{ 'app.login.forgottenPassword'|trans}}</small>
  198.                         </a>
  199.                     </div>
  200.                     <div class='color-text mb-5 first-visit-message'>
  201.                         <p class=\"first-visit-message__primary-text\">{{ 'app.login.firstVisit'|trans}}</p>
  202.                         <p class=\"first-visit-message__secondary-text\">
  203.                             {{ 'app.login.text'|trans }}<br><br>
  204.                             <span class=\"small\">{{ 'app.login.smallText'|trans }}</span>
  205.                         </p>
  206.                     </div>
  207.                     <div class=\"mb-n3 mb-4 form-group d-flex justify-content-center\">
  208.                         <button type=\"submit\" class=\"login-btn btnDefaut\">{{ 'app.common.buttons.login'|trans }}</button>
  209.                     </div>
  210.                     {% if redirectRoute %}
  211.                         <input type=\"hidden\" name=\"_target_path\" value=\"{{ redirectRoute }}\">
  212.                     {% endif %}
  213.                     {{ form_end(form) }}
  214.                 </div>
  215.             </div>
  216.         </div>
  217.     </div>
  218. {% endblock %}""login/index.html.twig""/home/pastorz/old-espace-client/templates/login/index.html.twig");
  219.     }
  220. }