var/cache/dev/twig/5a/5a1ec37553ae2dd33d015fd459d871a4d6384a916a2a80a9e44eff2a0dcc4833.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. /* reset_password/request.html.twig */
  14. class __TwigTemplate_63036e65ad6e004a0f77a7d155979d52663475bce4f5eeb8c6b30425f129e963 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""reset_password/request.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Réinitialisation de mot de passe";
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "    ";
  70.         $context['_parent'] = $context;
  71.         $context['_seq'] = twig_ensure_traversable(twig_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.'6$this->source); })()), "flashes", [=> "reset_password_error"], "method"falsefalsefalse6));
  72.         foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
  73.             // line 7
  74.             echo "        <div class=\"alert alert-danger\" role=\"alert\">";
  75.             echo twig_escape_filter($this->env$context["flashError"], "html"nulltrue);
  76.             echo "</div>
  77.     ";
  78.         }
  79.         $_parent $context['_parent'];
  80.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashError'], $context['_parent'], $context['loop']);
  81.         $context array_intersect_key($context$_parent) + $_parent;
  82.         // line 9
  83.         echo "    <h1>Réinitialisez votre mot de passe</h1>
  84.     ";
  85.         // line 11
  86.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["requestForm"]) || array_key_exists("requestForm"$context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.'11$this->source); })()), 'form_start');
  87.         echo "
  88.         ";
  89.         // line 12
  90.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["requestForm"]) || array_key_exists("requestForm"$context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.'12$this->source); })()), "email", [], "any"falsefalsefalse12), 'row');
  91.         echo "
  92.         <div>
  93.             <small>
  94.                 Renseignez votre adresse mail et nous vous enverrons
  95.                 un lien de réinitialisation de mot de passe.
  96.                 ";
  97.         // line 18
  98.         echo "            </small>
  99.         </div>
  100.         <button class=\"btn btn-primary\">Envoyer le mail de réinitialisation de mot de passe</button>
  101.     ";
  102.         // line 22
  103.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["requestForm"]) || array_key_exists("requestForm"$context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.'22$this->source); })()), 'form_end');
  104.         echo "
  105. ";
  106.         
  107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  108.         
  109.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  110.     }
  111.     public function getTemplateName()
  112.     {
  113.         return "reset_password/request.html.twig";
  114.     }
  115.     public function isTraitable()
  116.     {
  117.         return false;
  118.     }
  119.     public function getDebugInfo()
  120.     {
  121.         return array (  124 => 22,  118 => 18,  110 => 12,  106 => 11,  102 => 9,  93 => 7,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  122.     }
  123.     public function getSourceContext()
  124.     {
  125.         return new Source("{% extends 'base.html.twig' %}
  126. {% block title %}Réinitialisation de mot de passe{% endblock %}
  127. {% block body %}
  128.     {% for flashError in app.flashes('reset_password_error') %}
  129.         <div class=\"alert alert-danger\" role=\"alert\">{{ flashError }}</div>
  130.     {% endfor %}
  131.     <h1>Réinitialisez votre mot de passe</h1>
  132.     {{ form_start(requestForm) }}
  133.         {{ form_row(requestForm.email) }}
  134.         <div>
  135.             <small>
  136.                 Renseignez votre adresse mail et nous vous enverrons
  137.                 un lien de réinitialisation de mot de passe.
  138.                 {# TODO : ajouter un petit mot par rapport aux experts qui n'ont pas d'adresse mail dans les comptes #}
  139.             </small>
  140.         </div>
  141.         <button class=\"btn btn-primary\">Envoyer le mail de réinitialisation de mot de passe</button>
  142.     {{ form_end(requestForm) }}
  143. {% endblock %}
  144. ""reset_password/request.html.twig""/home/clients/acb4fc297720bccaee1604666d4dcedb/girci_go_demo/templates/reset_password/request.html.twig");
  145.     }
  146. }