var/cache/dev/twig/31/31effba27ec99d2cdec6827527a0cfa5.php line 55

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* reset_password/request.html.twig */
  16. class __TwigTemplate_45a21ff8b9c22468ce497c7011308584 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'title' => [$this, 'block_title'],
  29. 'stylesheets' => [$this, 'block_stylesheets'],
  30. 'body' => [$this, 'block_body'],
  31. ];
  32. }
  33. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34. {
  35. // line 1
  36. return "layout/frontEndLayout.html.twig";
  37. }
  38. protected function doDisplay(array $context, array $blocks = []): iterable
  39. {
  40. $macros = $this->macros;
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "reset_password/request.html.twig"));
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "reset_password/request.html.twig"));
  45. $this->parent = $this->loadTemplate("layout/frontEndLayout.html.twig", "reset_password/request.html.twig", 1);
  46. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49. }
  50. // line 3
  51. /**
  52. * @return iterable<null|scalar|\Stringable>
  53. */
  54. public function block_title(array $context, array $blocks = []): iterable
  55. {
  56. $macros = $this->macros;
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  61. yield "Sign up!";
  62. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64. yield from [];
  65. }
  66. // line 5
  67. /**
  68. * @return iterable<null|scalar|\Stringable>
  69. */
  70. public function block_stylesheets(array $context, array $blocks = []): iterable
  71. {
  72. $macros = $this->macros;
  73. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  75. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  77. // line 6
  78. yield " \t ";
  79. yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  80. yield "
  81. <link href=\"";
  82. // line 7
  83. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/login.css"), "html", null, true);
  84. yield "\" rel=\"stylesheet\">
  85. ";
  86. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  87. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88. yield from [];
  89. }
  90. // line 11
  91. /**
  92. * @return iterable<null|scalar|\Stringable>
  93. */
  94. public function block_body(array $context, array $blocks = []): iterable
  95. {
  96. $macros = $this->macros;
  97. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  99. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  101. // line 12
  102. yield " ";
  103. $context['_parent'] = $context;
  104. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "flashes", ["reset_password_error"], "method", false, false, false, 12));
  105. foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
  106. // line 13
  107. yield " <div class=\"alert alert-danger\" role=\"alert\">";
  108. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashError"], "html", null, true);
  109. yield "</div>
  110. ";
  111. }
  112. $_parent = $context['_parent'];
  113. unset($context['_seq'], $context['_key'], $context['flashError'], $context['_parent']);
  114. $context = array_intersect_key($context, $_parent) + $_parent;
  115. // line 15
  116. yield "
  117. <div class=\"container-fluid px-1 px-md-5 px-lg-1 px-xl-5 py-5 mx-auto\">
  118. <div class=\" border-0\">
  119. <div class=\"row d-flex\">
  120. <div class=\"col-lg-6\">
  121. <div class=\"card1 pb-5\">
  122. <div class=\"row\"> <img src=\"";
  123. // line 21
  124. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo2.png"), "html", null, true);
  125. yield "\" class=\"logo\"> </div>
  126. <div class=\"row px-3 justify-content-center mt-4 mb-5 border-line\"> <img src=\"";
  127. // line 22
  128. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/BethesdaLogo.gif"), "html", null, true);
  129. yield "\" class=\"image\"> </div>
  130. </div>
  131. </div>
  132. <div class=\"col-lg-6\">
  133. <div class=\"card2 card border-0 px-4 py-5\">
  134. <h1 class=\"text-center\">Reset your password</h1>
  135. ";
  136. // line 31
  137. 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.', 31, $this->source); })()), 'form_start');
  138. yield "
  139. ";
  140. // line 32
  141. 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); })()), "email", [], "any", false, false, false, 32), 'row');
  142. yield "
  143. <div>
  144. <small>
  145. Enter your email address and we will send you a
  146. link to reset your password.
  147. </small>
  148. </div>
  149. <button class=\"btn btn-primary\">Send password reset email</button>
  150. ";
  151. // line 41
  152. 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.', 41, $this->source); })()), 'form_end');
  153. yield "
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. ";
  160. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  161. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162. yield from [];
  163. }
  164. /**
  165. * @codeCoverageIgnore
  166. */
  167. public function getTemplateName(): string
  168. {
  169. return "reset_password/request.html.twig";
  170. }
  171. /**
  172. * @codeCoverageIgnore
  173. */
  174. public function isTraitable(): bool
  175. {
  176. return false;
  177. }
  178. /**
  179. * @codeCoverageIgnore
  180. */
  181. public function getDebugInfo(): array
  182. {
  183. return array ( 187 => 41, 175 => 32, 171 => 31, 159 => 22, 155 => 21, 147 => 15, 138 => 13, 133 => 12, 120 => 11, 106 => 7, 101 => 6, 88 => 5, 65 => 3, 42 => 1,);
  184. }
  185. public function getSourceContext(): Source
  186. {
  187. return new Source("{% extends 'layout/frontEndLayout.html.twig' %}
  188. {% block title %}Sign up!{% endblock %}
  189. {% block stylesheets %}
  190. \t {{parent()}}
  191. <link href=\"{{ asset('assets/css/login.css') }}\" rel=\"stylesheet\">
  192. {% endblock %}
  193. {% block body %}
  194. {% for flashError in app.flashes('reset_password_error') %}
  195. <div class=\"alert alert-danger\" role=\"alert\">{{ flashError }}</div>
  196. {% endfor %}
  197. <div class=\"container-fluid px-1 px-md-5 px-lg-1 px-xl-5 py-5 mx-auto\">
  198. <div class=\" border-0\">
  199. <div class=\"row d-flex\">
  200. <div class=\"col-lg-6\">
  201. <div class=\"card1 pb-5\">
  202. <div class=\"row\"> <img src=\"{{ asset('assets/images/logo2.png') }}\" class=\"logo\"> </div>
  203. <div class=\"row px-3 justify-content-center mt-4 mb-5 border-line\"> <img src=\"{{ asset('assets/images/BethesdaLogo.gif') }}\" class=\"image\"> </div>
  204. </div>
  205. </div>
  206. <div class=\"col-lg-6\">
  207. <div class=\"card2 card border-0 px-4 py-5\">
  208. <h1 class=\"text-center\">Reset your password</h1>
  209. {{ form_start(requestForm) }}
  210. {{ form_row(requestForm.email) }}
  211. <div>
  212. <small>
  213. Enter your email address and we will send you a
  214. link to reset your password.
  215. </small>
  216. </div>
  217. <button class=\"btn btn-primary\">Send password reset email</button>
  218. {{ form_end(requestForm) }}
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. </div>
  224. {% endblock %}
  225. ", "reset_password/request.html.twig", "/var/www/prod/liveedu/templates/reset_password/request.html.twig");
  226. }
  227. }