var/cache/dev/twig/1e/1e5f1c8e3df6fedeba9ba361785c6c33.php line 44

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. /* @FOSUser/Security/login.html.twig */
  16. class __TwigTemplate_8f117c087167e4d7f8c2fab8be89c8ce 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. 'fos_user_content' => [$this, 'block_fos_user_content'],
  29. 'javascripts' => [$this, 'block_javascripts'],
  30. ];
  31. }
  32. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33. {
  34. // line 1
  35. return "@FOSUser/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", "@FOSUser/Security/login.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", "@FOSUser/Security/login.html.twig"));
  44. $this->parent = $this->load("@FOSUser/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_fos_user_content(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", "fos_user_content"));
  58. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "fos_user_content"));
  60. // line 4
  61. yield "<div class=\"card tw-rounded-xl tw-overflow-hidden\">
  62. <div class=\"card-body\">
  63. ";
  64. // line 6
  65. yield Twig\Extension\CoreExtension::include($this->env, $context, "@FOSUser/Security/login_content.html.twig");
  66. yield "
  67. </div>
  68. </div>
  69. ";
  70. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72. yield from [];
  73. }
  74. // line 11
  75. /**
  76. * @return iterable<null|scalar|\Stringable>
  77. */
  78. public function block_javascripts(array $context, array $blocks = []): iterable
  79. {
  80. $macros = $this->macros;
  81. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  83. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  85. // line 12
  86. yield " <script>
  87. ";
  88. // line 13
  89. yield $this->extensions['App\Twig\AppExtension']->inlineJsWrapperBeginFunction();
  90. yield "
  91. jQuery('#showpassword').click(function () {
  92. if (jQuery(this).hasClass('fa-eye')) {
  93. jQuery(this).removeClass('fa-eye');
  94. jQuery(this).addClass('fa-eye-slash');
  95. jQuery('#password').attr('type', 'password');
  96. jQuery('#set_own_password_password_first').attr('type', 'password')
  97. } else {
  98. jQuery(this).removeClass('fa-eye-slash');
  99. jQuery(this).addClass('fa-eye');
  100. jQuery('#password').attr('type', 'text');
  101. jQuery('#set_own_password_password_first').attr('type', 'text')
  102. }
  103. });
  104. ";
  105. // line 28
  106. yield $this->extensions['App\Twig\AppExtension']->inlineJsWrapperEndFunction();
  107. yield "
  108. </script>
  109. ";
  110. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  111. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  112. yield from [];
  113. }
  114. /**
  115. * @codeCoverageIgnore
  116. */
  117. public function getTemplateName(): string
  118. {
  119. return "@FOSUser/Security/login.html.twig";
  120. }
  121. /**
  122. * @codeCoverageIgnore
  123. */
  124. public function isTraitable(): bool
  125. {
  126. return false;
  127. }
  128. /**
  129. * @codeCoverageIgnore
  130. */
  131. public function getDebugInfo(): array
  132. {
  133. return array ( 130 => 28, 112 => 13, 109 => 12, 96 => 11, 81 => 6, 77 => 4, 64 => 3, 41 => 1,);
  134. }
  135. public function getSourceContext(): Source
  136. {
  137. return new Source("{% extends '@FOSUser/layout.html.twig' %}
  138. {% block fos_user_content %}
  139. <div class=\"card tw-rounded-xl tw-overflow-hidden\">
  140. <div class=\"card-body\">
  141. {{ include('@FOSUser/Security/login_content.html.twig') }}
  142. </div>
  143. </div>
  144. {% endblock fos_user_content %}
  145. {% block javascripts %}
  146. <script>
  147. {{ inlineJsWrapperBegin() }}
  148. jQuery('#showpassword').click(function () {
  149. if (jQuery(this).hasClass('fa-eye')) {
  150. jQuery(this).removeClass('fa-eye');
  151. jQuery(this).addClass('fa-eye-slash');
  152. jQuery('#password').attr('type', 'password');
  153. jQuery('#set_own_password_password_first').attr('type', 'password')
  154. } else {
  155. jQuery(this).removeClass('fa-eye-slash');
  156. jQuery(this).addClass('fa-eye');
  157. jQuery('#password').attr('type', 'text');
  158. jQuery('#set_own_password_password_first').attr('type', 'text')
  159. }
  160. });
  161. {{ inlineJsWrapperEnd() }}
  162. </script>
  163. {% endblock %}
  164. ", "@FOSUser/Security/login.html.twig", "/workspace/backend-app/templates/bundles/FOSUserBundle/Security/login.html.twig");
  165. }
  166. }