var/cache/dev/twig/a1/a17db403fa1e602973b063bf2f6fc2a8.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. /* ForgotPassword/forgot-password-email.html.twig */
  16. class __TwigTemplate_de022a20aee96e07c20c82909483638a 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.             'content' => [$this'block_content'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "layout/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""ForgotPassword/forgot-password-email.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""ForgotPassword/forgot-password-email.html.twig"));
  44.         $this->parent $this->loadTemplate("layout/layout.html.twig""ForgotPassword/forgot-password-email.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         yield "GFS::Forgot Password Email
  63. ";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.         yield from [];
  69.     }
  70.     // line 6
  71.     /**
  72.      * @return iterable<null|scalar|\Stringable>
  73.      */
  74.     public function block_content(array $context, array $blocks = []): iterable
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  81.         // line 7
  82.         yield "\t<!--Start Forgot Password Email-->
  83. \t<section class=\"sign-up-page-section\">
  84. \t\t<div class=\"row\">
  85. \t\t\t<div class=\"media-section forgotpass-media-section col-md-12 col-lg-12 col-xl-7 col-sm-12\">
  86. \t\t\t\t<div class=\"overlay\"></div>
  87. \t\t\t\t<img src=\"/static/assets/images/login.jpg\" class=\"img-fluid w-100\" alt=\"login\">
  88. \t\t\t</div>
  89. \t\t\t<div class=\"start-training-info sign-up-page-form login-page-form forget-pass-form col-xl-5\">
  90. \t\t\t\t<h1 class=\"h2 text-center mb-4\">";
  91.         // line 17
  92.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Forgot Password?"), "html"nulltrue);
  93.         yield "</h1>
  94. \t\t\t\t<form action=\"/";
  95.         // line 19
  96.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'19$this->source); })()), "request", [], "any"falsefalsefalse19), "locale", [], "any"falsefalsefalse19), "html"nulltrue);
  97.         yield "/resetone\" id=\"resetone\" method=\"post\">
  98. \t\t\t\t\t<ul class=\"nav nav-pills nav-fill mt-3 d-none\">
  99. \t\t\t\t\t\t<li class=\"nav-item login-btn\">
  100. \t\t\t\t\t\t\t<a class=\"nav-link btn btn-custom btn-primary\" href=\"#\">";
  101.         // line 22
  102.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("LOGIN"), "html"nulltrue);
  103.         yield "</a>
  104. \t\t\t\t\t\t</li>
  105. \t\t\t\t\t\t<li class=\"nav-item signup-btn\">
  106. \t\t\t\t\t\t\t<a class=\"nav-link btn btn-custom btn-white\" href=\"#\">";
  107.         // line 25
  108.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign up"), "html"nulltrue);
  109.         yield "</a>
  110. \t\t\t\t\t\t</li>
  111. \t\t\t\t\t</ul>
  112. \t\t\t\t\t<div class=\"form-group\">
  113. \t\t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" id=\"email\" placeholder=\"";
  114.         // line 29
  115.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter Your Email Address"), "html"nulltrue);
  116.         yield "\" required>
  117. \t\t\t\t\t</div>
  118. \t\t\t\t\t<div class=\"form-group forget-text d-none\">
  119. \t\t\t\t\t\t<a class=\"\" href=\"#\">";
  120.         // line 33
  121.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Forgot Password?"), "html"nulltrue);
  122.         yield "</a>
  123. \t\t\t\t\t</div>
  124. \t\t\t\t\t<div class=\"alert alert-success\" id=\"success-alertt\">
  125. \t\t\t\t\t\t<button class=\"close\" data-dismiss=\"alert\" type=\"button\"></button>";
  126.         // line 37
  127.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("The reset password link has been sent to your email address."), "html"nulltrue);
  128.         yield "</div>
  129. \t\t\t\t\t<div class=\"alert alert-warning\" id=\"failed-alertt\">
  130. \t\t\t\t\t\t<button class=\"close\" data-dismiss=\"alert\" type=\"button\"></button>
  131. \t\t\t\t\t\t";
  132.         // line 40
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Oops, This email is not registered."), "html"nulltrue);
  134.         yield "</div>
  135. \t\t\t\t\t<button type=\"submit\" class=\"btn btn-custom btn-primary btn-primary-submit btn-block\">
  136. \t\t\t\t\t\t<svg xmlns=\"https://www.w3.org/2000/svg\" viewbox=\"0 0 25.02 29.098\" class=\"d-none\">
  137. \t\t\t\t\t\t\t<g id=\"Group_188\" data-name=\"Group 188\" transform=\"translate(1.5 1.5)\">
  138. \t\t\t\t\t\t\t\t<path id=\"Path_304\" data-name=\"Path 304\" d=\"M-1488.4-9182h15.749v26.1H-1488.4\" transform=\"translate(1494.671 9182)\" fill=\"none\" stroke=\"#fff\" stroke-linejoin=\"round\" stroke-width=\"3\"/>
  139. \t\t\t\t\t\t\t\t<g id=\"Icon_feather-arrow-right\" data-name=\"Icon feather-arrow-right\" transform=\"translate(0 6.679)\">
  140. \t\t\t\t\t\t\t\t\t<path id=\"Path_305\" data-name=\"Path 305\" d=\"M7.5,18H20.08\" transform=\"translate(-7.5 -11.71)\" fill=\"none\" stroke=\"#fff\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>
  141. \t\t\t\t\t\t\t\t\t<path id=\"Path_306\" data-name=\"Path 306\" d=\"M18,7.5l6.29,6.29L18,20.08\" transform=\"translate(-11.71 -7.5)\" fill=\"none\" stroke=\"#fff\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>
  142. \t\t\t\t\t\t\t\t</g>
  143. \t\t\t\t\t\t\t</g>
  144. \t\t\t\t\t\t</svg>
  145. \t\t\t\t\t\t";
  146.         // line 52
  147.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Forgot Password"), "html"nulltrue);
  148.         yield "
  149. \t\t\t\t\t</button>
  150. \t\t\t\t\t<p class=\"d-none\">";
  151.         // line 54
  152.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Don't have an account?"), "html"nulltrue);
  153.         yield "
  154. \t\t\t\t\t\t<br>
  155. \t\t\t\t\t\t<a href=\"signup.html\">
  156. \t\t\t\t\t\t\t";
  157.         // line 57
  158.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign Up Now"), "html"nulltrue);
  159.         yield "</a>
  160. \t\t\t\t\t</p>
  161. \t\t\t\t\t<p class=\"or-text d-none\">";
  162.         // line 59
  163.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Or"), "html"nulltrue);
  164.         yield "</p>
  165. \t\t\t\t\t<div class=\"form-row d-none\">
  166. \t\t\t\t\t\t<div class=\"form-group col-md-12 mb-3\">
  167. \t\t\t\t\t\t\t<div class=\"btn-group btn-group-lg w-100\" role=\"group\" aria-label=\"Basic example\">
  168. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary facebook-login-btn col-2\">
  169. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  170. \t\t\t\t\t\t\t\t</button>
  171. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary facebook-login-btn col-10\">";
  172.         // line 66
  173.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Login with Facebook"), "html"nulltrue);
  174.         yield "</button>
  175. \t\t\t\t\t\t\t</div>
  176. \t\t\t\t\t\t</div>
  177. \t\t\t\t\t</div>
  178. \t\t\t\t\t<div class=\"form-row d-none\">
  179. \t\t\t\t\t\t<div class=\"form-group col-md-12\">
  180. \t\t\t\t\t\t\t<div class=\"btn-group btn-group-lg w-100\" role=\"group\" aria-label=\"Basic example\">
  181. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary google-login-btn col-2\">
  182. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-google\"></i>
  183. \t\t\t\t\t\t\t\t</button>
  184. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary google-login-btn col-10\">";
  185.         // line 76
  186.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Login with Google"), "html"nulltrue);
  187.         yield "</button>
  188. \t\t\t\t\t\t\t</div>
  189. \t\t\t\t\t\t</div>
  190. \t\t\t\t\t</div>
  191. \t\t\t\t</form>
  192. \t\t\t</div>
  193. \t\t</div>
  194. \t</section>
  195. \t<!--End Forgot Password Email-->
  196. \t<script type=\"text/javascript\">
  197. \t\t\$(document).ready(function () {
  198. \$(\"#resetone\").submit(function (event) {
  199. event.preventDefault();
  200. var post_url = \$(this).attr(\"action\"); // get form action url
  201. var request_method = \$(this).attr(\"method\"); // get form GET/POST method
  202. form_data = new FormData(this);
  203. // Creates new FormData object
  204. // form_data.append('captcha', grecaptcha.getResponse());
  205. \$.ajax({
  206. url: post_url,
  207. type: request_method,
  208. data: form_data,
  209. contentType: false,
  210. cache: false,
  211. processData: false,
  212. success: function (response) {
  213. if (response.success) {
  214. console.log(response);
  215. document.getElementById('resetone').reset();
  216. \$(\"#success-alertt\").fadeTo(5000, 500).slideUp(500, function () {
  217. \$(\"#success-alertt\").slideUp(500);
  218. });
  219. // window.location.href = \"userlogin\";
  220. } else {
  221. \$(\"#failed-alertt\").fadeTo(5000, 500).slideUp(500, function () {
  222. \$(\"#failed-alertt\").slideUp(500);
  223. });
  224. }
  225. }
  226. })
  227. });
  228. });
  229. \t</script>
  230. ";
  231.         
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  233.         
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235.         yield from [];
  236.     }
  237.     /**
  238.      * @codeCoverageIgnore
  239.      */
  240.     public function getTemplateName(): string
  241.     {
  242.         return "ForgotPassword/forgot-password-email.html.twig";
  243.     }
  244.     /**
  245.      * @codeCoverageIgnore
  246.      */
  247.     public function isTraitable(): bool
  248.     {
  249.         return false;
  250.     }
  251.     /**
  252.      * @codeCoverageIgnore
  253.      */
  254.     public function getDebugInfo(): array
  255.     {
  256.         return array (  211 => 76,  198 => 66,  188 => 59,  183 => 57,  177 => 54,  172 => 52,  157 => 40,  151 => 37,  144 => 33,  137 => 29,  130 => 25,  124 => 22,  118 => 19,  113 => 17,  101 => 7,  88 => 6,  64 => 3,  41 => 1,);
  257.     }
  258.     public function getSourceContext(): Source
  259.     {
  260.         return new Source("{% extends \"layout/layout.html.twig\" %}
  261. {% block title %}GFS::Forgot Password Email
  262. {% endblock %}
  263. {% block content %}
  264. \t<!--Start Forgot Password Email-->
  265. \t<section class=\"sign-up-page-section\">
  266. \t\t<div class=\"row\">
  267. \t\t\t<div class=\"media-section forgotpass-media-section col-md-12 col-lg-12 col-xl-7 col-sm-12\">
  268. \t\t\t\t<div class=\"overlay\"></div>
  269. \t\t\t\t<img src=\"/static/assets/images/login.jpg\" class=\"img-fluid w-100\" alt=\"login\">
  270. \t\t\t</div>
  271. \t\t\t<div class=\"start-training-info sign-up-page-form login-page-form forget-pass-form col-xl-5\">
  272. \t\t\t\t<h1 class=\"h2 text-center mb-4\">{{'Forgot Password?'|trans}}</h1>
  273. \t\t\t\t<form action=\"/{{app.request.locale}}/resetone\" id=\"resetone\" method=\"post\">
  274. \t\t\t\t\t<ul class=\"nav nav-pills nav-fill mt-3 d-none\">
  275. \t\t\t\t\t\t<li class=\"nav-item login-btn\">
  276. \t\t\t\t\t\t\t<a class=\"nav-link btn btn-custom btn-primary\" href=\"#\">{{'LOGIN'|trans}}</a>
  277. \t\t\t\t\t\t</li>
  278. \t\t\t\t\t\t<li class=\"nav-item signup-btn\">
  279. \t\t\t\t\t\t\t<a class=\"nav-link btn btn-custom btn-white\" href=\"#\">{{'Sign up'|trans}}</a>
  280. \t\t\t\t\t\t</li>
  281. \t\t\t\t\t</ul>
  282. \t\t\t\t\t<div class=\"form-group\">
  283. \t\t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" id=\"email\" placeholder=\"{{'Enter Your Email Address'|trans}}\" required>
  284. \t\t\t\t\t</div>
  285. \t\t\t\t\t<div class=\"form-group forget-text d-none\">
  286. \t\t\t\t\t\t<a class=\"\" href=\"#\">{{'Forgot Password?'|trans}}</a>
  287. \t\t\t\t\t</div>
  288. \t\t\t\t\t<div class=\"alert alert-success\" id=\"success-alertt\">
  289. \t\t\t\t\t\t<button class=\"close\" data-dismiss=\"alert\" type=\"button\"></button>{{'The reset password link has been sent to your email address.'|trans}}</div>
  290. \t\t\t\t\t<div class=\"alert alert-warning\" id=\"failed-alertt\">
  291. \t\t\t\t\t\t<button class=\"close\" data-dismiss=\"alert\" type=\"button\"></button>
  292. \t\t\t\t\t\t{{'Oops, This email is not registered.'|trans}}</div>
  293. \t\t\t\t\t<button type=\"submit\" class=\"btn btn-custom btn-primary btn-primary-submit btn-block\">
  294. \t\t\t\t\t\t<svg xmlns=\"https://www.w3.org/2000/svg\" viewbox=\"0 0 25.02 29.098\" class=\"d-none\">
  295. \t\t\t\t\t\t\t<g id=\"Group_188\" data-name=\"Group 188\" transform=\"translate(1.5 1.5)\">
  296. \t\t\t\t\t\t\t\t<path id=\"Path_304\" data-name=\"Path 304\" d=\"M-1488.4-9182h15.749v26.1H-1488.4\" transform=\"translate(1494.671 9182)\" fill=\"none\" stroke=\"#fff\" stroke-linejoin=\"round\" stroke-width=\"3\"/>
  297. \t\t\t\t\t\t\t\t<g id=\"Icon_feather-arrow-right\" data-name=\"Icon feather-arrow-right\" transform=\"translate(0 6.679)\">
  298. \t\t\t\t\t\t\t\t\t<path id=\"Path_305\" data-name=\"Path 305\" d=\"M7.5,18H20.08\" transform=\"translate(-7.5 -11.71)\" fill=\"none\" stroke=\"#fff\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>
  299. \t\t\t\t\t\t\t\t\t<path id=\"Path_306\" data-name=\"Path 306\" d=\"M18,7.5l6.29,6.29L18,20.08\" transform=\"translate(-11.71 -7.5)\" fill=\"none\" stroke=\"#fff\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>
  300. \t\t\t\t\t\t\t\t</g>
  301. \t\t\t\t\t\t\t</g>
  302. \t\t\t\t\t\t</svg>
  303. \t\t\t\t\t\t{{'Forgot Password'|trans}}
  304. \t\t\t\t\t</button>
  305. \t\t\t\t\t<p class=\"d-none\">{{\"Don't have an account?\"|trans}}
  306. \t\t\t\t\t\t<br>
  307. \t\t\t\t\t\t<a href=\"signup.html\">
  308. \t\t\t\t\t\t\t{{'Sign Up Now'|trans}}</a>
  309. \t\t\t\t\t</p>
  310. \t\t\t\t\t<p class=\"or-text d-none\">{{'Or'|trans}}</p>
  311. \t\t\t\t\t<div class=\"form-row d-none\">
  312. \t\t\t\t\t\t<div class=\"form-group col-md-12 mb-3\">
  313. \t\t\t\t\t\t\t<div class=\"btn-group btn-group-lg w-100\" role=\"group\" aria-label=\"Basic example\">
  314. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary facebook-login-btn col-2\">
  315. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  316. \t\t\t\t\t\t\t\t</button>
  317. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary facebook-login-btn col-10\">{{'Login with Facebook'|trans}}</button>
  318. \t\t\t\t\t\t\t</div>
  319. \t\t\t\t\t\t</div>
  320. \t\t\t\t\t</div>
  321. \t\t\t\t\t<div class=\"form-row d-none\">
  322. \t\t\t\t\t\t<div class=\"form-group col-md-12\">
  323. \t\t\t\t\t\t\t<div class=\"btn-group btn-group-lg w-100\" role=\"group\" aria-label=\"Basic example\">
  324. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary google-login-btn col-2\">
  325. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-google\"></i>
  326. \t\t\t\t\t\t\t\t</button>
  327. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary google-login-btn col-10\">{{'Login with Google'|trans}}</button>
  328. \t\t\t\t\t\t\t</div>
  329. \t\t\t\t\t\t</div>
  330. \t\t\t\t\t</div>
  331. \t\t\t\t</form>
  332. \t\t\t</div>
  333. \t\t</div>
  334. \t</section>
  335. \t<!--End Forgot Password Email-->
  336. \t<script type=\"text/javascript\">
  337. \t\t\$(document).ready(function () {
  338. \$(\"#resetone\").submit(function (event) {
  339. event.preventDefault();
  340. var post_url = \$(this).attr(\"action\"); // get form action url
  341. var request_method = \$(this).attr(\"method\"); // get form GET/POST method
  342. form_data = new FormData(this);
  343. // Creates new FormData object
  344. // form_data.append('captcha', grecaptcha.getResponse());
  345. \$.ajax({
  346. url: post_url,
  347. type: request_method,
  348. data: form_data,
  349. contentType: false,
  350. cache: false,
  351. processData: false,
  352. success: function (response) {
  353. if (response.success) {
  354. console.log(response);
  355. document.getElementById('resetone').reset();
  356. \$(\"#success-alertt\").fadeTo(5000, 500).slideUp(500, function () {
  357. \$(\"#success-alertt\").slideUp(500);
  358. });
  359. // window.location.href = \"userlogin\";
  360. } else {
  361. \$(\"#failed-alertt\").fadeTo(5000, 500).slideUp(500, function () {
  362. \$(\"#failed-alertt\").slideUp(500);
  363. });
  364. }
  365. }
  366. })
  367. });
  368. });
  369. \t</script>
  370. {% endblock %}
  371. ""ForgotPassword/forgot-password-email.html.twig""/var/www/vhosts/centric.ae/gcs.centric.ae/templates/ForgotPassword/forgot-password-email.html.twig");
  372.     }
  373. }