<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* ForgotPassword/forgot-password-email.html.twig */
class __TwigTemplate_de022a20aee96e07c20c82909483638a extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ForgotPassword/forgot-password-email.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ForgotPassword/forgot-password-email.html.twig"));
$this->parent = $this->loadTemplate("layout/layout.html.twig", "ForgotPassword/forgot-password-email.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "GFS::Forgot Password Email
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 7
yield "\t<!--Start Forgot Password Email-->
\t<section class=\"sign-up-page-section\">
\t\t<div class=\"row\">
\t\t\t<div class=\"media-section forgotpass-media-section col-md-12 col-lg-12 col-xl-7 col-sm-12\">
\t\t\t\t<div class=\"overlay\"></div>
\t\t\t\t<img src=\"/static/assets/images/login.jpg\" class=\"img-fluid w-100\" alt=\"login\">
\t\t\t</div>
\t\t\t<div class=\"start-training-info sign-up-page-form login-page-form forget-pass-form col-xl-5\">
\t\t\t\t<h1 class=\"h2 text-center mb-4\">";
// line 17
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Forgot Password?"), "html", null, true);
yield "</h1>
\t\t\t\t<form action=\"/";
// line 19
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "locale", [], "any", false, false, false, 19), "html", null, true);
yield "/resetone\" id=\"resetone\" method=\"post\">
\t\t\t\t\t<ul class=\"nav nav-pills nav-fill mt-3 d-none\">
\t\t\t\t\t\t<li class=\"nav-item login-btn\">
\t\t\t\t\t\t\t<a class=\"nav-link btn btn-custom btn-primary\" href=\"#\">";
// line 22
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("LOGIN"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"nav-item signup-btn\">
\t\t\t\t\t\t\t<a class=\"nav-link btn btn-custom btn-white\" href=\"#\">";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign up"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" id=\"email\" placeholder=\"";
// line 29
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter Your Email Address"), "html", null, true);
yield "\" required>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-group forget-text d-none\">
\t\t\t\t\t\t<a class=\"\" href=\"#\">";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Forgot Password?"), "html", null, true);
yield "</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"alert alert-success\" id=\"success-alertt\">
\t\t\t\t\t\t<button class=\"close\" data-dismiss=\"alert\" type=\"button\"></button>";
// line 37
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", null, true);
yield "</div>
\t\t\t\t\t<div class=\"alert alert-warning\" id=\"failed-alertt\">
\t\t\t\t\t\t<button class=\"close\" data-dismiss=\"alert\" type=\"button\"></button>
\t\t\t\t\t\t";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Oops, This email is not registered."), "html", null, true);
yield "</div>
\t\t\t\t\t<button type=\"submit\" class=\"btn btn-custom btn-primary btn-primary-submit btn-block\">
\t\t\t\t\t\t<svg xmlns=\"https://www.w3.org/2000/svg\" viewbox=\"0 0 25.02 29.098\" class=\"d-none\">
\t\t\t\t\t\t\t<g id=\"Group_188\" data-name=\"Group 188\" transform=\"translate(1.5 1.5)\">
\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\"/>
\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)\">
\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\"/>
\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\"/>
\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t</svg>
\t\t\t\t\t\t";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Forgot Password"), "html", null, true);
yield "
\t\t\t\t\t</button>
\t\t\t\t\t<p class=\"d-none\">";
// line 54
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Don't have an account?"), "html", null, true);
yield "
\t\t\t\t\t\t<br>
\t\t\t\t\t\t<a href=\"signup.html\">
\t\t\t\t\t\t\t";
// line 57
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign Up Now"), "html", null, true);
yield "</a>
\t\t\t\t\t</p>
\t\t\t\t\t<p class=\"or-text d-none\">";
// line 59
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Or"), "html", null, true);
yield "</p>
\t\t\t\t\t<div class=\"form-row d-none\">
\t\t\t\t\t\t<div class=\"form-group col-md-12 mb-3\">
\t\t\t\t\t\t\t<div class=\"btn-group btn-group-lg w-100\" role=\"group\" aria-label=\"Basic example\">
\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary facebook-login-btn col-2\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary facebook-login-btn col-10\">";
// line 66
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Login with Facebook"), "html", null, true);
yield "</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-row d-none\">
\t\t\t\t\t\t<div class=\"form-group col-md-12\">
\t\t\t\t\t\t\t<div class=\"btn-group btn-group-lg w-100\" role=\"group\" aria-label=\"Basic example\">
\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary google-login-btn col-2\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-google\"></i>
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary google-login-btn col-10\">";
// line 76
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Login with Google"), "html", null, true);
yield "</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Forgot Password Email-->
\t<script type=\"text/javascript\">
\t\t\$(document).ready(function () {
\$(\"#resetone\").submit(function (event) {
event.preventDefault();
var post_url = \$(this).attr(\"action\"); // get form action url
var request_method = \$(this).attr(\"method\"); // get form GET/POST method
form_data = new FormData(this);
// Creates new FormData object
// form_data.append('captcha', grecaptcha.getResponse());
\$.ajax({
url: post_url,
type: request_method,
data: form_data,
contentType: false,
cache: false,
processData: false,
success: function (response) {
if (response.success) {
console.log(response);
document.getElementById('resetone').reset();
\$(\"#success-alertt\").fadeTo(5000, 500).slideUp(500, function () {
\$(\"#success-alertt\").slideUp(500);
});
// window.location.href = \"userlogin\";
} else {
\$(\"#failed-alertt\").fadeTo(5000, 500).slideUp(500, function () {
\$(\"#failed-alertt\").slideUp(500);
});
}
}
})
});
});
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "ForgotPassword/forgot-password-email.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/layout.html.twig\" %}
{% block title %}GFS::Forgot Password Email
{% endblock %}
{% block content %}
\t<!--Start Forgot Password Email-->
\t<section class=\"sign-up-page-section\">
\t\t<div class=\"row\">
\t\t\t<div class=\"media-section forgotpass-media-section col-md-12 col-lg-12 col-xl-7 col-sm-12\">
\t\t\t\t<div class=\"overlay\"></div>
\t\t\t\t<img src=\"/static/assets/images/login.jpg\" class=\"img-fluid w-100\" alt=\"login\">
\t\t\t</div>
\t\t\t<div class=\"start-training-info sign-up-page-form login-page-form forget-pass-form col-xl-5\">
\t\t\t\t<h1 class=\"h2 text-center mb-4\">{{'Forgot Password?'|trans}}</h1>
\t\t\t\t<form action=\"/{{app.request.locale}}/resetone\" id=\"resetone\" method=\"post\">
\t\t\t\t\t<ul class=\"nav nav-pills nav-fill mt-3 d-none\">
\t\t\t\t\t\t<li class=\"nav-item login-btn\">
\t\t\t\t\t\t\t<a class=\"nav-link btn btn-custom btn-primary\" href=\"#\">{{'LOGIN'|trans}}</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"nav-item signup-btn\">
\t\t\t\t\t\t\t<a class=\"nav-link btn btn-custom btn-white\" href=\"#\">{{'Sign up'|trans}}</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" id=\"email\" placeholder=\"{{'Enter Your Email Address'|trans}}\" required>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-group forget-text d-none\">
\t\t\t\t\t\t<a class=\"\" href=\"#\">{{'Forgot Password?'|trans}}</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"alert alert-success\" id=\"success-alertt\">
\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>
\t\t\t\t\t<div class=\"alert alert-warning\" id=\"failed-alertt\">
\t\t\t\t\t\t<button class=\"close\" data-dismiss=\"alert\" type=\"button\"></button>
\t\t\t\t\t\t{{'Oops, This email is not registered.'|trans}}</div>
\t\t\t\t\t<button type=\"submit\" class=\"btn btn-custom btn-primary btn-primary-submit btn-block\">
\t\t\t\t\t\t<svg xmlns=\"https://www.w3.org/2000/svg\" viewbox=\"0 0 25.02 29.098\" class=\"d-none\">
\t\t\t\t\t\t\t<g id=\"Group_188\" data-name=\"Group 188\" transform=\"translate(1.5 1.5)\">
\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\"/>
\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)\">
\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\"/>
\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\"/>
\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t</svg>
\t\t\t\t\t\t{{'Forgot Password'|trans}}
\t\t\t\t\t</button>
\t\t\t\t\t<p class=\"d-none\">{{\"Don't have an account?\"|trans}}
\t\t\t\t\t\t<br>
\t\t\t\t\t\t<a href=\"signup.html\">
\t\t\t\t\t\t\t{{'Sign Up Now'|trans}}</a>
\t\t\t\t\t</p>
\t\t\t\t\t<p class=\"or-text d-none\">{{'Or'|trans}}</p>
\t\t\t\t\t<div class=\"form-row d-none\">
\t\t\t\t\t\t<div class=\"form-group col-md-12 mb-3\">
\t\t\t\t\t\t\t<div class=\"btn-group btn-group-lg w-100\" role=\"group\" aria-label=\"Basic example\">
\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary facebook-login-btn col-2\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
\t\t\t\t\t\t\t\t</button>
\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>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-row d-none\">
\t\t\t\t\t\t<div class=\"form-group col-md-12\">
\t\t\t\t\t\t\t<div class=\"btn-group btn-group-lg w-100\" role=\"group\" aria-label=\"Basic example\">
\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary google-login-btn col-2\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-google\"></i>
\t\t\t\t\t\t\t\t</button>
\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>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Forgot Password Email-->
\t<script type=\"text/javascript\">
\t\t\$(document).ready(function () {
\$(\"#resetone\").submit(function (event) {
event.preventDefault();
var post_url = \$(this).attr(\"action\"); // get form action url
var request_method = \$(this).attr(\"method\"); // get form GET/POST method
form_data = new FormData(this);
// Creates new FormData object
// form_data.append('captcha', grecaptcha.getResponse());
\$.ajax({
url: post_url,
type: request_method,
data: form_data,
contentType: false,
cache: false,
processData: false,
success: function (response) {
if (response.success) {
console.log(response);
document.getElementById('resetone').reset();
\$(\"#success-alertt\").fadeTo(5000, 500).slideUp(500, function () {
\$(\"#success-alertt\").slideUp(500);
});
// window.location.href = \"userlogin\";
} else {
\$(\"#failed-alertt\").fadeTo(5000, 500).slideUp(500, function () {
\$(\"#failed-alertt\").slideUp(500);
});
}
}
})
});
});
\t</script>
{% endblock %}
", "ForgotPassword/forgot-password-email.html.twig", "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/ForgotPassword/forgot-password-email.html.twig");
}
}