var/cache/staging/twig/b5/b55accbae6623c760f0828fa6bfaf338.php line 103

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\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* forgot-password.html.twig */
  18. class __TwigTemplate_4dbd4fe5172ca2f8c12df13b9aaf537c extends Template
  19. {
  20. private Source $source;
  21. /**
  22. * @var array<string, MacroNamespace>
  23. */
  24. private array $macros = [];
  25. public function __construct(Environment $env)
  26. {
  27. parent::__construct($env);
  28. $this->source = $this->getSourceContext();
  29. $this->blocks = [
  30. 'title' => [$this, 'block_title'],
  31. 'body' => [$this, 'block_body'],
  32. ];
  33. }
  34. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35. {
  36. // line 1
  37. return $this->parent ??= $this->load("base.html.twig", 1);
  38. }
  39. protected function doDisplay(array $context, array $blocks = []): iterable
  40. {
  41. $macros = $this->macros;
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "forgot-password.html.twig"));
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "forgot-password.html.twig"));
  46. $this->parent = $this->load("base.html.twig", 1);
  47. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50. }
  51. // line 3
  52. /**
  53. * @return iterable<null|scalar|\Stringable>
  54. */
  55. public function block_title(array $context, array $blocks = []): iterable
  56. {
  57. $macros = $this->macros;
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  62. yield "Mot de passe oublié";
  63. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65. return; yield;
  66. }
  67. // line 5
  68. /**
  69. * @return iterable<null|scalar|\Stringable>
  70. */
  71. public function block_body(array $context, array $blocks = []): iterable
  72. {
  73. $macros = $this->macros;
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  76. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  78. // line 6
  79. yield " ";
  80. yield (string) $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.', 6, $this->source); })()), 'form_start');
  81. yield "
  82. <div class=\"banner is-forgot-password py-5\">
  83. <div class=\"container\">
  84. <div class=\"row\">
  85. <div class=\"col-lg-6 col-xl-7 mx-auto\">
  86. <div class=\"card border-0 rounded-3 shadow-lg\">
  87. <div class=\"card-body p-4 p-sm-5\">
  88. <h5 class=\"h3 mb-3\"><strong>Réinitialisation du mot de passe</strong></h5>
  89. <div class=\"alert alert-info alert-dismissible justify-content-center mt-3 text-center\"
  90. role=\"alert\">
  91. Veuillez nous fournir l\x27email associé à votre compte pour réinitialiser votre mot de
  92. passe.
  93. </div>
  94. ";
  95. // line 19
  96. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 19, $this->source); })()), "email", [], "any", false, false, false, 19), 'row');
  97. yield "
  98. <div class=\"mt-4 text-center\">
  99. <button class=\"btn btn-outline-orange\" type=\"submit\">
  100. Envoyer l\x27email de réinitialisation <i class=\"fas fa-paper-plane\"></i>
  101. </button>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. ";
  110. // line 31
  111. yield (string) $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.', 31, $this->source); })()), 'form_end');
  112. yield "
  113. ";
  114. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  115. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116. return; yield;
  117. }
  118. /**
  119. * @codeCoverageIgnore
  120. */
  121. public function getTemplateName(): string
  122. {
  123. return "forgot-password.html.twig";
  124. }
  125. /**
  126. * @codeCoverageIgnore
  127. */
  128. public function isTraitable(): bool
  129. {
  130. return false;
  131. }
  132. /**
  133. * @codeCoverageIgnore
  134. */
  135. public function getDefaultEscapeStrategy(): string|false
  136. {
  137. return "html";
  138. }
  139. /**
  140. * @codeCoverageIgnore
  141. */
  142. public function getDebugInfo(): array
  143. {
  144. return array ( 134 => 31, 119 => 19, 102 => 6, 89 => 5, 66 => 3, 43 => 1,);
  145. }
  146. public function getSourceContext(): Source
  147. {
  148. return new Source("{% extends \x27base.html.twig\x27 %}
  149. {% block title %}Mot de passe oublié{% endblock %}
  150. {% block body %}
  151. {{ form_start(form) }}
  152. <div class=\"banner is-forgot-password py-5\">
  153. <div class=\"container\">
  154. <div class=\"row\">
  155. <div class=\"col-lg-6 col-xl-7 mx-auto\">
  156. <div class=\"card border-0 rounded-3 shadow-lg\">
  157. <div class=\"card-body p-4 p-sm-5\">
  158. <h5 class=\"h3 mb-3\"><strong>Réinitialisation du mot de passe</strong></h5>
  159. <div class=\"alert alert-info alert-dismissible justify-content-center mt-3 text-center\"
  160. role=\"alert\">
  161. Veuillez nous fournir l\x27email associé à votre compte pour réinitialiser votre mot de
  162. passe.
  163. </div>
  164. {{ form_row(form.email) }}
  165. <div class=\"mt-4 text-center\">
  166. <button class=\"btn btn-outline-orange\" type=\"submit\">
  167. Envoyer l\x27email de réinitialisation <i class=\"fas fa-paper-plane\"></i>
  168. </button>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. {{ form_end(form) }}
  177. {% endblock %}", "forgot-password.html.twig", "/home/www-dev/dev/zinvaziv.re/app/templates/forgot-password.html.twig");
  178. }
  179. }