var/cache/dev/boutique-unyc.dtv-projects.com/twig/9c/9c4fd4fd854ec3c802863809867d64dd.php line 40

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. /* security/request.html.twig */
  15. class __TwigTemplate_5727ed1eb7716fde4266c9f8f1a7afd0 extends Template
  16. {
  17. private $source;
  18. private $macros = [];
  19. public function __construct(Environment $env)
  20. {
  21. parent::__construct($env);
  22. $this->source = $this->getSourceContext();
  23. $this->blocks = [
  24. 'bodyclass' => [$this, 'block_bodyclass'],
  25. 'content' => [$this, 'block_content'],
  26. ];
  27. }
  28. protected function doGetParent(array $context)
  29. {
  30. // line 1
  31. return "security/layout.html.twig";
  32. }
  33. protected function doDisplay(array $context, array $blocks = [])
  34. {
  35. $macros = $this->macros;
  36. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/request.html.twig"));
  38. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/request.html.twig"));
  40. $this->parent = $this->loadTemplate("security/layout.html.twig", "security/request.html.twig", 1);
  41. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44. }
  45. // line 3
  46. public function block_bodyclass($context, array $blocks = [])
  47. {
  48. $macros = $this->macros;
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyclass"));
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyclass"));
  53. yield "security";
  54. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56. return; yield '';
  57. }
  58. // line 5
  59. public function block_content($context, array $blocks = [])
  60. {
  61. $macros = $this->macros;
  62. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  64. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  66. // line 6
  67. yield " ";
  68. $context["pageData"] = false;
  69. // line 7
  70. yield " ";
  71. if ($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.request")) {
  72. // line 8
  73. yield " ";
  74. $context["pageData"] = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.request");
  75. // line 9
  76. yield " ";
  77. }
  78. // line 10
  79. yield " ";
  80. 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');
  81. yield "
  82. <div class=\"";
  83. // line 11
  84. 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))) {
  85. yield " ";
  86. 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);
  87. }
  88. yield "\">
  89. <div class=\"col-md-6 col-lg-4 ";
  90. // line 12
  91. 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))) {
  92. yield " ";
  93. 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);
  94. }
  95. yield "\">
  96. ";
  97. // line 13
  98. if (CoreExtension::getAttribute($this->env, $this->source, ($context["pageData"] ?? null), "title", [], "any", true, true, false, 13)) {
  99. // line 14
  100. yield " ";
  101. yield from $this->loadTemplate("@component/atom/title.html.twig", "security/request.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)]));
  102. // line 15
  103. yield " ";
  104. } else {
  105. // line 16
  106. yield " <h1>";
  107. 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);
  108. yield "</h1>
  109. ";
  110. }
  111. // line 18
  112. yield " <div class=\"";
  113. 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))) {
  114. 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);
  115. } else {
  116. yield "col-12";
  117. }
  118. yield "\">
  119. <div class=\"";
  120. // line 19
  121. 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))) {
  122. 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);
  123. } else {
  124. yield "col-12";
  125. }
  126. yield "\">
  127. ";
  128. // line 20
  129. 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');
  130. yield "
  131. </div>
  132. <div class=\"";
  133. // line 22
  134. 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))) {
  135. 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);
  136. } else {
  137. yield "col-12";
  138. }
  139. yield "\">
  140. ";
  141. // line 23
  142. 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');
  143. yield "
  144. </div>
  145. </div>
  146. ";
  147. // line 26
  148. 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))) {
  149. // line 27
  150. yield " <div class=\"";
  151. 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))) {
  152. 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);
  153. } else {
  154. yield "col-12";
  155. }
  156. yield "\">
  157. <div class=\"";
  158. // line 28
  159. 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))) {
  160. 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);
  161. } else {
  162. yield "col-12";
  163. }
  164. yield "\">
  165. ";
  166. // line 29
  167. 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');
  168. yield "
  169. </div>
  170. <div class=\"";
  171. // line 31
  172. 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))) {
  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.', 31, $this->source); })()), "form", [], "any", false, false, false, 31), "input", [], "any", false, false, false, 31), "html", null, true);
  174. } else {
  175. yield "col-12";
  176. }
  177. yield "\">
  178. ";
  179. // line 32
  180. 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');
  181. yield "
  182. </div>
  183. </div>
  184. ";
  185. }
  186. // line 36
  187. yield " <div class=\"";
  188. 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))) {
  189. 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);
  190. } else {
  191. yield "col-12";
  192. }
  193. yield "\">
  194. <input type=\"submit\"
  195. class=\"";
  196. // line 38
  197. 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)) {
  198. 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);
  199. } else {
  200. yield "btn btn-secondary text-uppercase";
  201. }
  202. yield "\"
  203. value=\"";
  204. // line 39
  205. 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)) {
  206. 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));
  207. } else {
  208. yield "Réinitialiser le mot de passe";
  209. }
  210. yield "\">
  211. </div>
  212. <div class=\"";
  213. // line 41
  214. 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))) {
  215. 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);
  216. } else {
  217. yield "col-12";
  218. }
  219. yield "\">
  220. <a href=\"";
  221. // line 42
  222. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  223. yield "\"
  224. class=\"btn-security-back ";
  225. // line 43
  226. 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)) {
  227. 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);
  228. } else {
  229. yield "btn btn-default";
  230. }
  231. yield "\">
  232. <i class=\"fa fa-arrow-left\"></i>
  233. ";
  234. // line 45
  235. 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)) {
  236. 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));
  237. } else {
  238. 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);
  239. }
  240. // line 46
  241. yield " </a>
  242. </div>
  243. </div>
  244. </div>
  245. ";
  246. // line 51
  247. 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');
  248. yield "
  249. ";
  250. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  251. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  252. return; yield '';
  253. }
  254. /**
  255. * @codeCoverageIgnore
  256. */
  257. public function getTemplateName()
  258. {
  259. return "security/request.html.twig";
  260. }
  261. /**
  262. * @codeCoverageIgnore
  263. */
  264. public function isTraitable()
  265. {
  266. return false;
  267. }
  268. /**
  269. * @codeCoverageIgnore
  270. */
  271. public function getDebugInfo()
  272. {
  273. return array ( 271 => 51, 264 => 46, 258 => 45, 249 => 43, 245 => 42, 237 => 41, 228 => 39, 220 => 38, 210 => 36, 203 => 32, 195 => 31, 190 => 29, 182 => 28, 173 => 27, 171 => 26, 165 => 23, 157 => 22, 152 => 20, 144 => 19, 135 => 18, 129 => 16, 126 => 15, 123 => 14, 121 => 13, 114 => 12, 107 => 11, 102 => 10, 99 => 9, 96 => 8, 93 => 7, 90 => 6, 80 => 5, 60 => 3, 37 => 1,);
  274. }
  275. public function getSourceContext()
  276. {
  277. return new Source("{% extends 'security/layout.html.twig' %}
  278. {% block bodyclass %}security{% endblock %}
  279. {% block content %}
  280. {% set pageData = false %}
  281. {% if platform_front('security.request') %}
  282. {% set pageData = platform_front('security.request') %}
  283. {% endif %}
  284. {{ form_start(requestForm) }}
  285. <div class=\"{% if pageData and pageData.wrapper is defined %} {{ pageData.wrapper}}{% endif %}\">
  286. <div class=\"col-md-6 col-lg-4 {% if pageData and pageData.container is defined %} {{ pageData.container}}{% endif %}\">
  287. {% if pageData.title is defined %}
  288. {% include '@component/atom/title.html.twig' with {'title': pageData.title} %}
  289. {% else %}
  290. <h1>{{ 'mot de passe oublié ?'|trans|capitalize }}</h1>
  291. {%endif%}
  292. <div class=\"{% if pageData and pageData.form is defined and pageData.form.row is defined %}{{ pageData.form.row}}{%else%}col-12{% endif %}\">
  293. <div class=\"{% if pageData and pageData.form is defined and pageData.form.label is defined %}{{ pageData.form.label }}{% else %}col-12{% endif %}\">
  294. {{ form_label(requestForm.email) }}
  295. </div>
  296. <div class=\"{% if pageData and pageData.form is defined and pageData.form.input is defined %}{{ pageData.form.input }}{% else %}col-12{% endif %}\">
  297. {{ form_widget(requestForm.email) }}
  298. </div>
  299. </div>
  300. {% if pageData.sendResetPasswordRequestBySms is defined and pageData.sendResetPasswordRequestBySms %}
  301. <div class=\"{% if pageData and pageData.form is defined and pageData.form.row is defined %}{{ pageData.form.row}}{%else%}col-12{% endif %}\">
  302. <div class=\"{% if pageData and pageData.form is defined and pageData.form.label is defined %}{{ pageData.form.label }}{% else %}col-12{% endif %}\">
  303. {{ form_label(requestForm.sendResetPasswordRequestBySms) }}
  304. </div>
  305. <div class=\"{% if pageData and pageData.form is defined and pageData.form.input is defined %}{{ pageData.form.input }}{% else %}col-12{% endif %}\">
  306. {{ form_widget(requestForm.sendResetPasswordRequestBySms) }}
  307. </div>
  308. </div>
  309. {% endif %}
  310. <div class=\"{% if pageData and pageData.button is defined and pageData.button.wrapper is defined %}{{ pageData.button.wrapper }}{% else %}col-12{% endif %}\">
  311. <input type=\"submit\"
  312. class=\"{% if pageData.button.class is defined %}{{ pageData.button.class }}{% else %}btn btn-secondary text-uppercase{% endif %}\"
  313. value=\"{% if pageData.button.content is defined %}{{ pageData.button.content|trans }}{% else %}Réinitialiser le mot de passe{% endif %}\">
  314. </div>
  315. <div class=\"{% if pageData and pageData.back is defined and pageData.back.wrapper is defined %}{{ pageData.back.wrapper }}{% else %}col-12{% endif %}\">
  316. <a href=\"{{ path('app_login') }}\"
  317. class=\"btn-security-back {% if pageData.back.class is defined %}{{ pageData.back.class }}{% else %}btn btn-default{% endif %}\">
  318. <i class=\"fa fa-arrow-left\"></i>
  319. {% if pageData.back.content is defined %}{{ pageData.back.content|trans }}{% else %}{{ 'retour'|trans|capitalize }}{% endif %}
  320. </a>
  321. </div>
  322. </div>
  323. </div>
  324. {{ form_end(requestForm) }}
  325. {% endblock content %}
  326. ", "security/request.html.twig", "/var/www/dtv-preprod/current/templates/security/request.html.twig");
  327. }
  328. }