var/cache/dev/twig/19/19c221ac75d0c650ac21c3106086739f.php line 54

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. use Twig\TemplateWrapper;
  15. /* reset_password/request.html.twig */
  16. class __TwigTemplate_b7b6b325595ef736611cf5a003304d00 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'title' => [$this, 'block_title'],
  29. 'body' => [$this, 'block_body'],
  30. ];
  31. }
  32. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33. {
  34. // line 1
  35. return "base.html.twig";
  36. }
  37. protected function doDisplay(array $context, array $blocks = []): iterable
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "reset_password/request.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "reset_password/request.html.twig"));
  44. $this->parent = $this->loadTemplate("base.html.twig", "reset_password/request.html.twig", 1);
  45. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48. }
  49. // line 3
  50. /**
  51. * @return iterable<null|scalar|\Stringable>
  52. */
  53. public function block_title(array $context, array $blocks = []): iterable
  54. {
  55. $macros = $this->macros;
  56. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  58. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  60. yield "Réinitialisation du mot de passe";
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63. yield from [];
  64. }
  65. // line 5
  66. /**
  67. * @return iterable<null|scalar|\Stringable>
  68. */
  69. public function block_body(array $context, array $blocks = []): iterable
  70. {
  71. $macros = $this->macros;
  72. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  74. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  76. // line 6
  77. yield " <div class=\"mb-3\">
  78. <div class=\"card border-left-primary shadow h-100 py-2\">
  79. <div class=\"card-body\">
  80. <div class=\"row align-items-center\">
  81. <div class=\"col mr-4\">
  82. <div class=\"text-xs text-primary text-uppercase mb-2\">";
  83. // line 11
  84. yield "Réinitialisation du mot de passe";
  85. yield "</div>
  86. <div class=\"h5 mb-0 text-gray-800\">
  87. ";
  88. // line 13
  89. yield $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.', 13, $this->source); })()), 'form_start');
  90. yield "
  91. <div class=\"form-group\">
  92. ";
  93. // line 15
  94. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 15, $this->source); })()), "email", [], "any", false, false, false, 15), 'row', ["label" => "Adresse e-mail", "attr" => ["class" => "form-control"]]);
  95. yield "
  96. </div>
  97. <div class=\"d-flex justify-content-center\">
  98. ";
  99. // line 18
  100. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 18, $this->source); })()), "_token", [], "any", false, false, false, 18), 'widget');
  101. yield "
  102. <button type=\"submit\" class=\"btn btn-primary\">Envoyer le lien de réinitialisation</button>
  103. </div>
  104. ";
  105. // line 21
  106. yield $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.', 21, $this->source); })()), 'form_end');
  107. yield "
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. ";
  115. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  116. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  117. yield from [];
  118. }
  119. /**
  120. * @codeCoverageIgnore
  121. */
  122. public function getTemplateName(): string
  123. {
  124. return "reset_password/request.html.twig";
  125. }
  126. /**
  127. * @codeCoverageIgnore
  128. */
  129. public function isTraitable(): bool
  130. {
  131. return false;
  132. }
  133. /**
  134. * @codeCoverageIgnore
  135. */
  136. public function getDebugInfo(): array
  137. {
  138. return array ( 129 => 21, 123 => 18, 117 => 15, 112 => 13, 107 => 11, 100 => 6, 87 => 5, 64 => 3, 41 => 1,);
  139. }
  140. public function getSourceContext(): Source
  141. {
  142. return new Source("{% extends 'base.html.twig' %}
  143. {% block title %}Réinitialisation du mot de passe{% endblock %}
  144. {% block body %}
  145. <div class=\"mb-3\">
  146. <div class=\"card border-left-primary shadow h-100 py-2\">
  147. <div class=\"card-body\">
  148. <div class=\"row align-items-center\">
  149. <div class=\"col mr-4\">
  150. <div class=\"text-xs text-primary text-uppercase mb-2\">{{ 'Réinitialisation du mot de passe' }}</div>
  151. <div class=\"h5 mb-0 text-gray-800\">
  152. {{ form_start(requestForm) }}
  153. <div class=\"form-group\">
  154. {{ form_row(requestForm.email, {'label': 'Adresse e-mail', 'attr': {'class': 'form-control'}}) }}
  155. </div>
  156. <div class=\"d-flex justify-content-center\">
  157. {{ form_widget(requestForm._token) }}
  158. <button type=\"submit\" class=\"btn btn-primary\">Envoyer le lien de réinitialisation</button>
  159. </div>
  160. {{ form_end(requestForm) }}
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. {% endblock %}
  168. ", "reset_password/request.html.twig", "/var/www/html/templates/reset_password/request.html.twig");
  169. }
  170. }