var/cache/dev/top-intuis-thermo.dtv-projects.com/twig/89/89ddc255eeebd3d6dcbfad9c2d6cf20a.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_3a40a33c77772a1372841f48bcf9ed60 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. 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.', 10, $this->source); })()), 'form_start');
  91. yield "
  92. <div class=\"";
  93. // line 11
  94. if (((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 11, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "wrapper", [], "any", true, true, false, 11))) {
  95. yield " ";
  96. 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.', 11, $this->source); })()), "wrapper", [], "any", false, false, false, 11), "html", null, true);
  97. }
  98. yield "\">
  99. <div class=\"col-md-6 col-lg-4 ";
  100. // line 12
  101. if (((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 12, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "container", [], "any", true, true, false, 12))) {
  102. yield " ";
  103. 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.', 12, $this->source); })()), "container", [], "any", false, false, false, 12), "html", null, true);
  104. }
  105. yield "\">
  106. ";
  107. // line 13
  108. if (CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "title", [], "any", true, true, false, 13)) {
  109. // line 14
  110. yield " ";
  111. yield from $this->load("@component/atom/title.html.twig", 14)->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.', 14, $this->source); })()), "title", [], "any", false, false, false, 14)]));
  112. // line 15
  113. yield " ";
  114. } else {
  115. // line 16
  116. yield " <h1>";
  117. 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);
  118. yield "</h1>
  119. ";
  120. }
  121. // line 18
  122. yield " <div class=\"";
  123. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 18, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 18)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 18), "row", [], "any", true, true, false, 18))) {
  124. 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.', 18, $this->source); })()), "form", [], "any", false, false, false, 18), "row", [], "any", false, false, false, 18), "html", null, true);
  125. } else {
  126. yield "col-12";
  127. }
  128. yield "\">
  129. <div class=\"";
  130. // line 19
  131. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 19, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 19)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 19), "label", [], "any", true, true, false, 19))) {
  132. 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.', 19, $this->source); })()), "form", [], "any", false, false, false, 19), "label", [], "any", false, false, false, 19), "html", null, true);
  133. } else {
  134. yield "col-12";
  135. }
  136. yield "\">
  137. ";
  138. // line 20
  139. 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.', 20, $this->source); })()), "email", [], "any", false, false, false, 20), 'label');
  140. yield "
  141. </div>
  142. <div class=\"";
  143. // line 22
  144. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 22, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 22)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 22), "input", [], "any", true, true, false, 22))) {
  145. 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.', 22, $this->source); })()), "form", [], "any", false, false, false, 22), "input", [], "any", false, false, false, 22), "html", null, true);
  146. } else {
  147. yield "col-12";
  148. }
  149. yield "\">
  150. ";
  151. // line 23
  152. 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.', 23, $this->source); })()), "email", [], "any", false, false, false, 23), 'widget');
  153. yield "
  154. </div>
  155. </div>
  156. ";
  157. // line 26
  158. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "sendResetPasswordRequestBySms", [], "any", true, true, false, 26) && 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.', 26, $this->source); })()), "sendResetPasswordRequestBySms", [], "any", false, false, false, 26))) {
  159. // line 27
  160. yield " <div class=\"";
  161. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 27, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 27)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 27), "row", [], "any", true, true, false, 27))) {
  162. 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.', 27, $this->source); })()), "form", [], "any", false, false, false, 27), "row", [], "any", false, false, false, 27), "html", null, true);
  163. } else {
  164. yield "col-12";
  165. }
  166. yield "\">
  167. <div class=\"";
  168. // line 28
  169. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 28, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 28)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 28), "label", [], "any", true, true, false, 28))) {
  170. 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.', 28, $this->source); })()), "form", [], "any", false, false, false, 28), "label", [], "any", false, false, false, 28), "html", null, true);
  171. } else {
  172. yield "col-12";
  173. }
  174. yield "\">
  175. ";
  176. // line 29
  177. 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.', 29, $this->source); })()), "sendResetPasswordRequestBySms", [], "any", false, false, false, 29), 'label');
  178. yield "
  179. </div>
  180. <div class=\"";
  181. // line 31
  182. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 31, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", true, true, false, 31)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "form", [], "any", false, true, false, 31), "input", [], "any", true, true, false, 31))) {
  183. 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.', 31, $this->source); })()), "form", [], "any", false, false, false, 31), "input", [], "any", false, false, false, 31), "html", null, true);
  184. } else {
  185. yield "col-12";
  186. }
  187. yield "\">
  188. ";
  189. // line 32
  190. 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.', 32, $this->source); })()), "sendResetPasswordRequestBySms", [], "any", false, false, false, 32), 'widget');
  191. yield "
  192. </div>
  193. </div>
  194. ";
  195. }
  196. // line 36
  197. yield " <div class=\"";
  198. 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), "button", [], "any", true, true, false, 36)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "button", [], "any", false, true, false, 36), "wrapper", [], "any", true, true, false, 36))) {
  199. 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.', 36, $this->source); })()), "button", [], "any", false, false, false, 36), "wrapper", [], "any", false, false, false, 36), "html", null, true);
  200. } else {
  201. yield "col-12";
  202. }
  203. yield "\">
  204. <input type=\"submit\"
  205. class=\"";
  206. // line 38
  207. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "button", [], "any", false, true, false, 38), "class", [], "any", true, true, false, 38)) {
  208. 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.', 38, $this->source); })()), "button", [], "any", false, false, false, 38), "class", [], "any", false, false, false, 38), "html", null, true);
  209. } else {
  210. yield "btn btn-secondary text-uppercase";
  211. }
  212. yield "\"
  213. value=\"";
  214. // line 39
  215. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "button", [], "any", false, true, false, 39), "content", [], "any", true, true, false, 39)) {
  216. 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.', 39, $this->source); })()), "button", [], "any", false, false, false, 39), "content", [], "any", false, false, false, 39));
  217. } else {
  218. yield "Réinitialiser le mot de passe";
  219. }
  220. yield "\">
  221. </div>
  222. <div class=\"";
  223. // line 41
  224. if ((((isset($context["pageData"]) || array_key_exists("pageData", $context) ? $context["pageData"] : (function () { throw new RuntimeError('Variable "pageData" does not exist.', 41, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "back", [], "any", true, true, false, 41)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "back", [], "any", false, true, false, 41), "wrapper", [], "any", true, true, false, 41))) {
  225. 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.', 41, $this->source); })()), "back", [], "any", false, false, false, 41), "wrapper", [], "any", false, false, false, 41), "html", null, true);
  226. } else {
  227. yield "col-12";
  228. }
  229. yield "\">
  230. <a href=\"";
  231. // line 42
  232. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  233. yield "\"
  234. class=\"btn-security-back ";
  235. // line 43
  236. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "back", [], "any", false, true, false, 43), "class", [], "any", true, true, false, 43)) {
  237. 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); })()), "back", [], "any", false, false, false, 43), "class", [], "any", false, false, false, 43), "html", null, true);
  238. } else {
  239. yield "btn btn-default";
  240. }
  241. yield "\">
  242. <i class=\"fa fa-arrow-left\"></i>
  243. ";
  244. // line 45
  245. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "back", [], "any", false, true, false, 45), "content", [], "any", true, true, false, 45)) {
  246. 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.', 45, $this->source); })()), "back", [], "any", false, false, false, 45), "content", [], "any", false, false, false, 45));
  247. } else {
  248. 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);
  249. }
  250. // line 46
  251. yield " </a>
  252. </div>
  253. </div>
  254. </div>
  255. ";
  256. // line 51
  257. 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.', 51, $this->source); })()), 'form_end');
  258. yield "
  259. ";
  260. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  261. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  262. yield from [];
  263. }
  264. /**
  265. * @codeCoverageIgnore
  266. */
  267. public function getTemplateName(): string
  268. {
  269. return "security/request.html.twig";
  270. }
  271. /**
  272. * @codeCoverageIgnore
  273. */
  274. public function isTraitable(): bool
  275. {
  276. return false;
  277. }
  278. /**
  279. * @codeCoverageIgnore
  280. */
  281. public function getDebugInfo(): array
  282. {
  283. return array ( 281 => 51, 274 => 46, 268 => 45, 259 => 43, 255 => 42, 247 => 41, 238 => 39, 230 => 38, 220 => 36, 213 => 32, 205 => 31, 200 => 29, 192 => 28, 183 => 27, 181 => 26, 175 => 23, 167 => 22, 162 => 20, 154 => 19, 145 => 18, 139 => 16, 136 => 15, 133 => 14, 131 => 13, 124 => 12, 117 => 11, 112 => 10, 109 => 9, 106 => 8, 103 => 7, 100 => 6, 87 => 5, 64 => 3, 41 => 1,);
  284. }
  285. public function getSourceContext(): Source
  286. {
  287. return new Source("{% extends 'security/layout.html.twig' %}
  288. {% block bodyclass %}security{% endblock %}
  289. {% block content %}
  290. {% set pageData = false %}
  291. {% if platform_front('security.request') %}
  292. {% set pageData = platform_front('security.request') %}
  293. {% endif %}
  294. {{ form_start(requestForm) }}
  295. <div class=\"{% if pageData and pageData.wrapper is defined %} {{ pageData.wrapper}}{% endif %}\">
  296. <div class=\"col-md-6 col-lg-4 {% if pageData and pageData.container is defined %} {{ pageData.container}}{% endif %}\">
  297. {% if pageData.title is defined %}
  298. {% include '@component/atom/title.html.twig' with {'title': pageData.title} %}
  299. {% else %}
  300. <h1>{{ 'mot de passe oublié ?'|trans|capitalize }}</h1>
  301. {%endif%}
  302. <div class=\"{% if pageData and pageData.form is defined and pageData.form.row is defined %}{{ pageData.form.row}}{%else%}col-12{% endif %}\">
  303. <div class=\"{% if pageData and pageData.form is defined and pageData.form.label is defined %}{{ pageData.form.label }}{% else %}col-12{% endif %}\">
  304. {{ form_label(requestForm.email) }}
  305. </div>
  306. <div class=\"{% if pageData and pageData.form is defined and pageData.form.input is defined %}{{ pageData.form.input }}{% else %}col-12{% endif %}\">
  307. {{ form_widget(requestForm.email) }}
  308. </div>
  309. </div>
  310. {% if pageData.sendResetPasswordRequestBySms is defined and pageData.sendResetPasswordRequestBySms %}
  311. <div class=\"{% if pageData and pageData.form is defined and pageData.form.row is defined %}{{ pageData.form.row}}{%else%}col-12{% endif %}\">
  312. <div class=\"{% if pageData and pageData.form is defined and pageData.form.label is defined %}{{ pageData.form.label }}{% else %}col-12{% endif %}\">
  313. {{ form_label(requestForm.sendResetPasswordRequestBySms) }}
  314. </div>
  315. <div class=\"{% if pageData and pageData.form is defined and pageData.form.input is defined %}{{ pageData.form.input }}{% else %}col-12{% endif %}\">
  316. {{ form_widget(requestForm.sendResetPasswordRequestBySms) }}
  317. </div>
  318. </div>
  319. {% endif %}
  320. <div class=\"{% if pageData and pageData.button is defined and pageData.button.wrapper is defined %}{{ pageData.button.wrapper }}{% else %}col-12{% endif %}\">
  321. <input type=\"submit\"
  322. class=\"{% if pageData.button.class is defined %}{{ pageData.button.class }}{% else %}btn btn-secondary text-uppercase{% endif %}\"
  323. value=\"{% if pageData.button.content is defined %}{{ pageData.button.content|trans }}{% else %}Réinitialiser le mot de passe{% endif %}\">
  324. </div>
  325. <div class=\"{% if pageData and pageData.back is defined and pageData.back.wrapper is defined %}{{ pageData.back.wrapper }}{% else %}col-12{% endif %}\">
  326. <a href=\"{{ path('app_login') }}\"
  327. class=\"btn-security-back {% if pageData.back.class is defined %}{{ pageData.back.class }}{% else %}btn btn-default{% endif %}\">
  328. <i class=\"fa fa-arrow-left\"></i>
  329. {% if pageData.back.content is defined %}{{ pageData.back.content|trans }}{% else %}{{ 'retour'|trans|capitalize }}{% endif %}
  330. </a>
  331. </div>
  332. </div>
  333. </div>
  334. {{ form_end(requestForm) }}
  335. {% endblock content %}
  336. ", "security/request.html.twig", "/var/www/dtv-preprod/current/templates/security/request.html.twig");
  337. }
  338. }