var/cache/dev/challenge.asusb2c.dtv-projects.com/twig/3d/3ddf220f51b7ff50481a34fbe81a53ae.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. /* security/request.html.twig */
  16. class __TwigTemplate_6c84909d437a9e70dd9b8d7f42b1531c 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. 'bodyclass' => [$this, 'block_bodyclass'],
  29. 'content' => [$this, 'block_content'],
  30. ];
  31. }
  32. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33. {
  34. // line 1
  35. return "security/layout.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", "security/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", "security/request.html.twig"));
  44. $this->parent = $this->load("security/layout.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_bodyclass(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", "bodyclass"));
  58. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyclass"));
  60. yield "security";
  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_content(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", "content"));
  74. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  76. // line 6
  77. yield " ";
  78. $context["pageData"] = false;
  79. // line 7
  80. yield " ";
  81. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.request")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  82. // line 8
  83. yield " ";
  84. $context["pageData"] = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.request");
  85. // line 9
  86. yield " ";
  87. }
  88. // line 10
  89. yield "
  90. ";
  91. // line 12
  92. $context["labels"] = ["email" => $this->extensions['App\Twig\TwigExtension']->customTrans("email")];
  93. // line 15
  94. yield "
  95. ";
  96. // line 16
  97. $context["placeholders"] = ["email" => ""];
  98. // line 19
  99. yield "
  100. ";
  101. // line 20
  102. if (CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "override", [], "any", true, true, false, 20)) {
  103. // line 21
  104. yield " ";
  105. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "override", [], "any", false, true, false, 21), "email", [], "any", true, true, false, 21)) {
  106. // line 22
  107. yield "
  108. ";
  109. // line 23
  110. if ($this->extensions['App\Twig\TwigExtension']->isKeyUsable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 23, $this->source); })()), "override", [], "any", false, false, false, 23), "email", [], "any", false, false, false, 23), "label")) {
  111. // line 24
  112. yield " ";
  113. $context["labels"] = Twig\Extension\CoreExtension::merge((isset($context["labels"]) || array_key_exists("labels", $context) ? $context["labels"] : (function () { throw new RuntimeError('Variable "labels" does not exist.', 24, $this->source); })()), ["email" => $this->extensions['App\Twig\TwigExtension']->customTrans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 24, $this->source); })()), "override", [], "any", false, false, false, 24), "email", [], "any", false, false, false, 24), "label", [], "any", false, false, false, 24))]);
  114. // line 25
  115. yield " ";
  116. }
  117. // line 26
  118. yield "
  119. ";
  120. // line 27
  121. if ($this->extensions['App\Twig\TwigExtension']->isKeyUsable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 27, $this->source); })()), "override", [], "any", false, false, false, 27), "email", [], "any", false, false, false, 27), "placeholder")) {
  122. // line 28
  123. yield " ";
  124. $context["placeholders"] = Twig\Extension\CoreExtension::merge((isset($context["placeholders"]) || array_key_exists("placeholders", $context) ? $context["placeholders"] : (function () { throw new RuntimeError('Variable "placeholders" does not exist.', 28, $this->source); })()), ["email" => $this->extensions['App\Twig\TwigExtension']->customTrans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 28, $this->source); })()), "override", [], "any", false, false, false, 28), "email", [], "any", false, false, false, 28), "placeholder", [], "any", false, false, false, 28))]);
  125. // line 29
  126. yield " ";
  127. }
  128. // line 30
  129. yield "
  130. ";
  131. }
  132. // line 32
  133. yield " ";
  134. }
  135. // line 33
  136. yield "
  137. ";
  138. // line 34
  139. 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.', 34, $this->source); })()), 'form_start');
  140. yield "
  141. <div class=\"";
  142. // line 36
  143. if (((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 36, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "wrapper", [], "any", true, true, false, 36))) {
  144. yield " ";
  145. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 36, $this->source); })()), "wrapper", [], "any", false, false, false, 36), "html", null, true);
  146. }
  147. yield "\">
  148. <div class=\"col-md-6 col-lg-4 ";
  149. // line 37
  150. if (((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 37, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "container", [], "any", true, true, false, 37))) {
  151. yield " ";
  152. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 37, $this->source); })()), "container", [], "any", false, false, false, 37), "html", null, true);
  153. }
  154. yield "\">
  155. ";
  156. // line 38
  157. if (CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "title", [], "any", true, true, false, 38)) {
  158. // line 39
  159. yield " ";
  160. yield from $this->load("@component/atom/title.html.twig", 39)->unwrap()->yield(CoreExtension::merge($context, ["title" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 39, $this->source); })()), "title", [], "any", false, false, false, 39)]));
  161. // line 40
  162. yield " ";
  163. } else {
  164. // line 41
  165. yield " <h1>";
  166. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['App\Twig\TwigExtension']->customTrans("mot de passe oublié ?")), "html", null, true);
  167. yield "</h1>
  168. ";
  169. }
  170. // line 43
  171. yield " <div class=\"";
  172. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 43, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 43)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 43), "row", [], "any", true, true, false, 43))) {
  173. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 43, $this->source); })()), "form", [], "any", false, false, false, 43), "row", [], "any", false, false, false, 43), "html", null, true);
  174. } else {
  175. yield "col-12";
  176. }
  177. yield "\">
  178. <div class=\"";
  179. // line 44
  180. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 44, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 44)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 44), "label", [], "any", true, true, false, 44))) {
  181. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 44, $this->source); })()), "form", [], "any", false, false, false, 44), "label", [], "any", false, false, false, 44), "html", null, true);
  182. } else {
  183. yield "col-12";
  184. }
  185. yield "\">
  186. ";
  187. // line 45
  188. 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.', 45, $this->source); })()), "email", [], "any", false, false, false, 45), 'label', (CoreExtension::testEmpty($_label_ = CoreExtension::getAttribute($this->env, $this->source, (isset($context["labels"]) || array_key_exists("labels", $context) ? $context["labels"] : (function () { throw new RuntimeError('Variable "labels" does not exist.', 45, $this->source); })()), "email", [], "any", false, false, false, 45)) ? [] : ["label" => $_label_]));
  189. yield "
  190. </div>
  191. <div class=\"";
  192. // line 47
  193. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 47, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 47)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 47), "input", [], "any", true, true, false, 47))) {
  194. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 47, $this->source); })()), "form", [], "any", false, false, false, 47), "input", [], "any", false, false, false, 47), "html", null, true);
  195. } else {
  196. yield "col-12";
  197. }
  198. yield "\">
  199. ";
  200. // line 48
  201. 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.', 48, $this->source); })()), "email", [], "any", false, false, false, 48), 'widget', ["attr" => ["placeholder" => $this->extensions['App\Twig\TwigExtension']->customTrans(CoreExtension::getAttribute($this->env, $this->source, (isset($context["placeholders"]) || array_key_exists("placeholders", $context) ? $context["placeholders"] : (function () { throw new RuntimeError('Variable "placeholders" does not exist.', 48, $this->source); })()), "email", [], "any", false, false, false, 48))]]);
  202. yield "
  203. </div>
  204. </div>
  205. ";
  206. // line 51
  207. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "sendResetPasswordRequestBySms", [], "any", true, true, false, 51) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 51, $this->source); })()), "sendResetPasswordRequestBySms", [], "any", false, false, false, 51))) {
  208. // line 52
  209. yield " <div class=\"";
  210. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 52, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 52)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 52), "row", [], "any", true, true, false, 52))) {
  211. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 52, $this->source); })()), "form", [], "any", false, false, false, 52), "row", [], "any", false, false, false, 52), "html", null, true);
  212. } else {
  213. yield "col-12";
  214. }
  215. yield "\">
  216. <div class=\"";
  217. // line 53
  218. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 53, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 53)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 53), "label", [], "any", true, true, false, 53))) {
  219. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 53, $this->source); })()), "form", [], "any", false, false, false, 53), "label", [], "any", false, false, false, 53), "html", null, true);
  220. } else {
  221. yield "col-12";
  222. }
  223. yield "\">
  224. ";
  225. // line 54
  226. 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.', 54, $this->source); })()), "sendResetPasswordRequestBySms", [], "any", false, false, false, 54), 'label');
  227. yield "
  228. </div>
  229. <div class=\"";
  230. // line 56
  231. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 56, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 56)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 56), "input", [], "any", true, true, false, 56))) {
  232. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 56, $this->source); })()), "form", [], "any", false, false, false, 56), "input", [], "any", false, false, false, 56), "html", null, true);
  233. } else {
  234. yield "col-12";
  235. }
  236. yield "\">
  237. ";
  238. // line 57
  239. 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.', 57, $this->source); })()), "sendResetPasswordRequestBySms", [], "any", false, false, false, 57), 'widget');
  240. yield "
  241. </div>
  242. </div>
  243. ";
  244. }
  245. // line 61
  246. yield " <div class=\"";
  247. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 61, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "button", [], "any", true, true, false, 61)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "button", [], "any", false, true, false, 61), "wrapper", [], "any", true, true, false, 61))) {
  248. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 61, $this->source); })()), "button", [], "any", false, false, false, 61), "wrapper", [], "any", false, false, false, 61), "html", null, true);
  249. } else {
  250. yield "col-12";
  251. }
  252. yield "\">
  253. <input type=\"submit\"
  254. class=\"";
  255. // line 63
  256. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "button", [], "any", false, true, false, 63), "class", [], "any", true, true, false, 63)) {
  257. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 63, $this->source); })()), "button", [], "any", false, false, false, 63), "class", [], "any", false, false, false, 63), "html", null, true);
  258. } else {
  259. yield "btn btn-secondary text-uppercase";
  260. }
  261. yield "\"
  262. value=\"";
  263. // line 64
  264. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "button", [], "any", false, true, false, 64), "content", [], "any", true, true, false, 64)) {
  265. yield $this->extensions['App\Twig\TwigExtension']->customTrans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 64, $this->source); })()), "button", [], "any", false, false, false, 64), "content", [], "any", false, false, false, 64));
  266. } else {
  267. yield "Réinitialiser le mot de passe";
  268. }
  269. yield "\">
  270. </div>
  271. <div class=\"";
  272. // line 66
  273. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 66, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "back", [], "any", true, true, false, 66)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "back", [], "any", false, true, false, 66), "wrapper", [], "any", true, true, false, 66))) {
  274. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 66, $this->source); })()), "back", [], "any", false, false, false, 66), "wrapper", [], "any", false, false, false, 66), "html", null, true);
  275. } else {
  276. yield "col-12";
  277. }
  278. yield "\">
  279. <a href=\"";
  280. // line 67
  281. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  282. yield "\"
  283. class=\"btn-security-back ";
  284. // line 68
  285. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "back", [], "any", false, true, false, 68), "class", [], "any", true, true, false, 68)) {
  286. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 68, $this->source); })()), "back", [], "any", false, false, false, 68), "class", [], "any", false, false, false, 68), "html", null, true);
  287. } else {
  288. yield "btn btn-default";
  289. }
  290. yield "\">
  291. <i class=\"fa fa-arrow-left\"></i>
  292. ";
  293. // line 70
  294. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "back", [], "any", false, true, false, 70), "content", [], "any", true, true, false, 70)) {
  295. yield $this->extensions['App\Twig\TwigExtension']->customTrans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 70, $this->source); })()), "back", [], "any", false, false, false, 70), "content", [], "any", false, false, false, 70));
  296. } else {
  297. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['App\Twig\TwigExtension']->customTrans("retour")), "html", null, true);
  298. }
  299. // line 71
  300. yield " </a>
  301. </div>
  302. </div>
  303. </div>
  304. ";
  305. // line 76
  306. 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.', 76, $this->source); })()), 'form_end');
  307. yield "
  308. ";
  309. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  310. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  311. yield from [];
  312. }
  313. /**
  314. * @codeCoverageIgnore
  315. */
  316. public function getTemplateName(): string
  317. {
  318. return "security/request.html.twig";
  319. }
  320. /**
  321. * @codeCoverageIgnore
  322. */
  323. public function isTraitable(): bool
  324. {
  325. return false;
  326. }
  327. /**
  328. * @codeCoverageIgnore
  329. */
  330. public function getDebugInfo(): array
  331. {
  332. return array ( 332 => 76, 325 => 71, 319 => 70, 310 => 68, 306 => 67, 298 => 66, 289 => 64, 281 => 63, 271 => 61, 264 => 57, 256 => 56, 251 => 54, 243 => 53, 234 => 52, 232 => 51, 226 => 48, 218 => 47, 213 => 45, 205 => 44, 196 => 43, 190 => 41, 187 => 40, 184 => 39, 182 => 38, 175 => 37, 168 => 36, 163 => 34, 160 => 33, 157 => 32, 153 => 30, 150 => 29, 147 => 28, 145 => 27, 142 => 26, 139 => 25, 136 => 24, 134 => 23, 131 => 22, 128 => 21, 126 => 20, 123 => 19, 121 => 16, 118 => 15, 116 => 12, 112 => 10, 109 => 9, 106 => 8, 103 => 7, 100 => 6, 87 => 5, 64 => 3, 41 => 1,);
  333. }
  334. public function getSourceContext(): Source
  335. {
  336. return new Source("{% extends 'security/layout.html.twig' %}
  337. {% block bodyclass %}security{% endblock %}
  338. {% block content %}
  339. {% set pageData = false %}
  340. {% if platform_front('security.request') %}
  341. {% set pageData = platform_front('security.request') %}
  342. {% endif %}
  343. {% set labels = {
  344. email: 'email'|trans,
  345. } %}
  346. {% set placeholders = {
  347. email: '',
  348. } %}
  349. {% if pageData.override is defined %}
  350. {% if pageData.override.email is defined %}
  351. {% if pageData.override.email is key_usable('label') %}
  352. {% set labels = labels|merge({email: pageData.override.email.label|trans}) %}
  353. {% endif %}
  354. {% if pageData.override.email is key_usable('placeholder') %}
  355. {% set placeholders = placeholders|merge({email: pageData.override.email.placeholder|trans}) %}
  356. {% endif %}
  357. {% endif %}
  358. {% endif %}
  359. {{ form_start(requestForm) }}
  360. <div class=\"{% if pageData and pageData.wrapper is defined %} {{ pageData.wrapper}}{% endif %}\">
  361. <div class=\"col-md-6 col-lg-4 {% if pageData and pageData.container is defined %} {{ pageData.container}}{% endif %}\">
  362. {% if pageData.title is defined %}
  363. {% include '@component/atom/title.html.twig' with {'title': pageData.title} %}
  364. {% else %}
  365. <h1>{{ 'mot de passe oublié ?'|trans|capitalize }}</h1>
  366. {%endif%}
  367. <div class=\"{% if pageData and pageData.form is defined and pageData.form.row is defined %}{{ pageData.form.row}}{%else%}col-12{% endif %}\">
  368. <div class=\"{% if pageData and pageData.form is defined and pageData.form.label is defined %}{{ pageData.form.label }}{% else %}col-12{% endif %}\">
  369. {{ form_label(requestForm.email, labels.email) }}
  370. </div>
  371. <div class=\"{% if pageData and pageData.form is defined and pageData.form.input is defined %}{{ pageData.form.input }}{% else %}col-12{% endif %}\">
  372. {{ form_widget(requestForm.email, {'attr' : {'placeholder': placeholders.email|trans}}) }}
  373. </div>
  374. </div>
  375. {% if pageData.sendResetPasswordRequestBySms is defined and pageData.sendResetPasswordRequestBySms %}
  376. <div class=\"{% if pageData and pageData.form is defined and pageData.form.row is defined %}{{ pageData.form.row}}{%else%}col-12{% endif %}\">
  377. <div class=\"{% if pageData and pageData.form is defined and pageData.form.label is defined %}{{ pageData.form.label }}{% else %}col-12{% endif %}\">
  378. {{ form_label(requestForm.sendResetPasswordRequestBySms) }}
  379. </div>
  380. <div class=\"{% if pageData and pageData.form is defined and pageData.form.input is defined %}{{ pageData.form.input }}{% else %}col-12{% endif %}\">
  381. {{ form_widget(requestForm.sendResetPasswordRequestBySms) }}
  382. </div>
  383. </div>
  384. {% endif %}
  385. <div class=\"{% if pageData and pageData.button is defined and pageData.button.wrapper is defined %}{{ pageData.button.wrapper }}{% else %}col-12{% endif %}\">
  386. <input type=\"submit\"
  387. class=\"{% if pageData.button.class is defined %}{{ pageData.button.class }}{% else %}btn btn-secondary text-uppercase{% endif %}\"
  388. value=\"{% if pageData.button.content is defined %}{{ pageData.button.content|trans }}{% else %}Réinitialiser le mot de passe{% endif %}\">
  389. </div>
  390. <div class=\"{% if pageData and pageData.back is defined and pageData.back.wrapper is defined %}{{ pageData.back.wrapper }}{% else %}col-12{% endif %}\">
  391. <a href=\"{{ path('app_login') }}\"
  392. class=\"btn-security-back {% if pageData.back.class is defined %}{{ pageData.back.class }}{% else %}btn btn-default{% endif %}\">
  393. <i class=\"fa fa-arrow-left\"></i>
  394. {% if pageData.back.content is defined %}{{ pageData.back.content|trans }}{% else %}{{ 'retour'|trans|capitalize }}{% endif %}
  395. </a>
  396. </div>
  397. </div>
  398. </div>
  399. {{ form_end(requestForm) }}
  400. {% endblock content %}
  401. ", "security/request.html.twig", "/var/www/dtv-preprod/current/templates/security/request.html.twig");
  402. }
  403. }