<?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;
/* content/signup.html.twig */
class __TwigTemplate_bcb5a898b21d65d407ee178f994743ce 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", "content/signup.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/signup.html.twig"));
$this->parent = $this->loadTemplate("layout/layout.html.twig", "content/signup.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::Signup
";
$__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 Wrapper-->
\t<div
\t\tclass=\"wrapper sign-up-page signup-form\">
\t\t<!--Start Sign up-->
\t\t<section class=\"sign-up-page-section\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"media-section col-sm-7 col-10 slide-media-desktop\">
\t\t\t\t\t<div class=\"overlay\"></div>
\t\t\t\t\t<img src=\"/static/assets/images/Signup.jpg\" class=\"img-fluid w-100\" alt=\"Signup desktop\">
\t\t\t\t</div>
\t\t\t\t<div class=\"media-section col-sm-7 col-10 slide-media-mobile\">
\t\t\t\t\t<div class=\"overlay\"></div>
\t\t\t\t\t<img src=\"/static/assets/images/394x272 (1).jpg\" class=\"img-fluid w-100\" alt=\"Signup mobile\">
\t\t\t\t</div>
\t\t\t\t<div class=\"start-training-info sign-up-page-form col-xl-5\">
\t\t\t\t\t<h1 class=\"h2 text-center mb-3\">";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SIGN UP"), "html", null, true);
yield "</h1>
\t\t\t\t\t";
// line 29
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, 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.', 29, $this->source); })()), "session", [], "any", false, false, false, 29), "flashbag", [], "any", false, false, false, 29), "get", ["error"], "method", false, false, false, 29));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 30
yield "
\t\t\t\t\t\t<span class=\"msg-signup text-danger error-color\">
\t\t\t\t\t\t\t";
// line 32
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashMessage"], "html", null, true);
yield "
\t\t\t\t\t\t</span>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 36
yield "
\t\t\t\t\t<form
\t\t\t\t\t\tmethod=\"post\" id=\"singupForm\" action=\"/register\">
\t\t\t\t\t\t<!-- <ul class=\"nav nav-pills nav-fill mt-3\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <li class=\"nav-item login-btn\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <a class=\"nav-link btn btn-custom btn-white\" href=\"#\">LOGIN</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t </li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <li class=\"nav-item signup-btn\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <a class=\"nav-link btn btn-custom btn-primary\" href=\"#\">Sign up</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t </li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t </ul> -->
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input required type=\"text\" class=\"form-control\" id=\"inputFullName\" name=\"firstname\" placeholder=\"";
// line 48
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("First Name"), "html", null, true);
yield "*\">
\t\t\t\t\t\t\t<span class=\"error-fullname text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input required type=\"text\" class=\"form-control\" id=\"inputLastName\" name=\"lastname\" placeholder=\"";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Last Name"), "html", null, true);
yield "*\">
\t\t\t\t\t\t\t<span class=\"error-lastname text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-row\">
\t\t\t\t\t\t\t<div class=\"form-group col-md-6\">
\t\t\t\t\t\t\t\t<input type=\"tel\" class=\"form-control\" id=\"inputMobileNumber\" name=\"mobilenumber\" placeholder=\"";
// line 59
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Mobile Number"), "html", null, true);
yield "*\">
\t\t\t\t\t\t\t\t<span class=\"error-inputMobileNumber text-danger error-color\"></span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-group col-md-6\">
\t\t\t\t\t\t\t\t<input required type=\"email\" class=\"form-control\" id=\"inputEmailId\" name=\"email\" placeholder=\"";
// line 63
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email Id"), "html", null, true);
yield "*\">
\t\t\t\t\t\t\t\t<span class=\"email-error text-danger error-color\"></span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<select id=\"business\" name=\"business_type\" class=\"form-control custom-select\">
\t\t\t\t\t\t\t\t<option selected value=\"\">";
// line 69
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Business Type"), "html", null, true);
yield "*</option>
\t\t\t\t\t\t\t\t";
// line 70
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["roles"]) || array_key_exists("roles", $context) ? $context["roles"] : (function () { throw new RuntimeError('Variable "roles" does not exist.', 70, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["role"]) {
// line 71
yield "\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["role"], "name", [], "any", false, false, false, 71) != "Normal")) {
// line 72
yield "\t\t\t\t\t\t\t\t\t\t<option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["role"], "name", [], "any", false, false, false, 72), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["role"], "name", [], "any", false, false, false, 72), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t\t";
}
// line 74
yield "\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['role'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 75
yield "\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t<span class=\"error-business text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<select class=\"form-control\" id=\"country\" name=\"country\">
\t\t\t\t\t\t\t\t<option value=\"\">";
// line 81
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nationality"), "html", null, true);
yield "*</option>
\t\t\t\t\t\t\t\t";
// line 82
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["countries"]);
foreach ($context['_seq'] as $context["_key"] => $context["countries"]) {
// line 83
yield "\t\t\t\t\t\t\t\t\t<option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["countries"], "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["countries"], "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['countries'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
yield "\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t<span class=\"error-country text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"inputBusinessName\" name=\"company\" placeholder=\"";
// line 90
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Company Name"), "html", null, true);
yield "*\">
\t\t\t\t\t\t\t<span class=\"error-inputBusinessName text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"inputJobTitle\" name=\"job_title\" placeholder=\"";
// line 94
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Job Title"), "html", null, true);
yield "*\">
\t\t\t\t\t\t\t<span class=\"error-inputJobTitle text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"inputAddressLine01\" name=\"address1\" value=\"";
// line 98
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Saudi Arabia"), "html", null, true);
yield "\" placeholder=\"Country\" required readonly>
\t\t\t\t\t\t\t<span class=\"error-inputAddressLine01 text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t";
// line 103
yield "\t\t\t\t\t\t\t<select class=\"form-control\" id=\"inputAddressLine02\" name=\"address2\" required>
\t\t\t\t\t\t\t\t<option value=\"\" selected>";
// line 104
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please Select City"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Riyadh\">";
// line 105
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Riyadh"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Jeddah\">";
// line 106
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Jeddah"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Mecca\">";
// line 107
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Mecca"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Medina\">";
// line 108
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Medina"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Dammam\">";
// line 109
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dammam"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Al Khobar\">";
// line 110
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Al Khobar"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Dhahran\">";
// line 111
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dhahran"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Jubail\">";
// line 112
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Jubail"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Abha\">";
// line 113
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Abha"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Taif\">";
// line 114
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Taif"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Tabuk\">";
// line 115
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tabuk"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Hail\">";
// line 116
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Hail"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Buraidah\">";
// line 117
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Buraidah"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Najran\">";
// line 118
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Najran"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Jizan\">";
// line 119
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Jizan"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Khamis Mushait\">";
// line 120
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Khamis Mushait"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Yanbu\">";
// line 121
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Yanbu"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Al Ahsa\">";
// line 122
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Al Ahsa"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Qatif\">";
// line 123
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Qatif"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Rabigh\">";
// line 124
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rabigh"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input required type=\"password\" class=\"form-control\" id=\"password1\" name=\"password\" placeholder=\"";
// line 128
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Password"), "html", null, true);
yield "*\" required>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input required type=\"password\" class=\"form-control\" id=\"password2\" placeholder=\"";
// line 131
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Password"), "html", null, true);
yield "*\" required>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<span class=\"password-error text-danger error-color\"></span>
\t\t\t\t\t\t<div class=\"form-group mt-md-4 mb-md-3\">
\t\t\t\t\t\t\t<div class=\"form-check custom-control custom-checkbox\">
\t\t\t\t\t\t\t\t<input class=\"form-check-input custom-control-input\" type=\"checkbox\" id=\"gridCheck\" required>
\t\t\t\t\t\t\t\t<label class=\"form-check-label custom-control-label\" for=\"gridCheck\">
\t\t\t\t\t\t\t\t\t";
// line 138
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("I have read and agree to the"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t<a href=\"#\">";
// line 139
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("terms & conditions"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t<span class=\"error-term text-danger error-color\"></span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-check custom-control custom-checkbox\">
\t\t\t\t\t\t\t\t<input class=\"form-check-input custom-control-input\" type=\"checkbox\" id=\"gridChecknewslatter\" name=\"newslatter\">
\t\t\t\t\t\t\t\t<label class=\"form-check-label custom-control-label\" for=\"gridChecknewslatter\">
\t\t\t\t\t\t\t\t\t";
// line 147
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Subscribe newsletter"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t";
// line 149
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, 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.', 149, $this->source); })()), "session", [], "any", false, false, false, 149), "flashbag", [], "any", false, false, false, 149), "get", ["newslatter-error"], "method", false, false, false, 149));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 150
yield "
\t\t\t\t\t\t\t\t<span class=\"msg-signup text-danger error-color\">
\t\t\t\t\t\t\t\t\t";
// line 152
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashMessage"], "html", null, true);
yield "
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 156
yield "\t\t\t\t\t\t\t\t";
// line 157
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t
\t\t\t\t\t\t\t<span class=\"recaptcha text-danger error-color\"></span>
\t\t\t\t\t\t\t";
// line 167
yield "\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6Le5OcAgAAAAANCPxYj-Tufd8ooE9d92HvhQNyac\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
\t\t\t\t\t\t\t\t";
// line 170
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, 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.', 170, $this->source); })()), "session", [], "any", false, false, false, 170), "flashbag", [], "any", false, false, false, 170), "get", ["recaptcha-error"], "method", false, false, false, 170));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 171
yield "
\t\t\t\t\t\t\t\t<span class=\"msg-signup text-danger error-color\">
\t\t\t\t\t\t\t\t\t";
// line 173
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashMessage"], "html", null, true);
yield "
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 177
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t\t<button class=\"btn btn-custom btn-lg-o-white btn-primary-submit btn-block submit-btn btn-lg-o-yellow-white\">";
// line 178
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SIGN UP"), "html", null, true);
yield "</button>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t<!--End Sign up-->
\t</div>
\t<!--End Wrapper-->
\t<style>
\t\t.form-control {
\t\t\tcolor: #495057 !important;
\t\t}
\t</style>
\t<script>
\t\t\$('#inputEmailId').on('keyup change', function () {
\t\t\tlet email = \$('#inputEmailId').val();
\t\t\t\$.ajax({
\t\t\turl: '/validate-email',
\t\t\ttype: \"post\",
\t\t\tdataType: 'json',
\t\t\tdata: {
\t\t\temail: \$(this).val()
\t\t\t},
\t\t\tsuccess: function (data) {
\t\t\tif (data.success) {
\t\t\t\$('.email-error').text(\"";
// line 203
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email already registerd"), "html", null, true);
yield "\");
\t\t\t\$('.submit-btn').attr('disabled', 'disabled');
\t\t\t} else {
\t\t\t\$('.submit-btn').removeAttr('disabled');
\t\t\t\$('.email-error').text('');
\t\t\t}
\t\t\t}
\t\t\t});
\t\t\t})
\t</script>
\t<script>
\t\t\$('.submit-btn').on('click', function (e) { // event.preventDefault();
\t\t\tlet password1 = \$('#password1').val();
\t\t\tlet password2 = \$('#password2').val();
\t\t\tlet inputFullName = \$('#inputFullName').val();
\t\t\tlet inputLastName = \$('#inputLastName').val();
\t\t\tlet business = \$('#business').val();
\t\t\tlet inputMobileNumber = \$('#inputMobileNumber').val();
\t\t\tlet country = \$('#country').val();
\t\t\tlet inputBusinessName = \$('#inputBusinessName').val();
\t\t\tlet inputJobTitle = \$('#inputJobTitle').val();
\t\t\tlet inputAddressLine01 = \$('#inputAddressLine01').val();
\t\t\tlet terms_con = \$('#gridCheck');
\t\t\t// let newslatter = \$('#gridChecknewslatter');
\t\t\t//console.log(terms_con);
\t\t\t//var response = grecaptcha.getResponse();
\t\t\t//console.log(response);
\t\t\t\$(\".error\").remove();
\t\t\tif (inputFullName == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-fullname').text(\"";
// line 236
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter First Name"), "html", null, true);
yield "\");
\t\t\t} else if (inputLastName == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-lastname').text(\"";
// line 239
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter Last Name"), "html", null, true);
yield "\");
\t\t\t} else if (inputMobileNumber == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-inputMobileNumber').text(\"";
// line 242
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter Mobile No"), "html", null, true);
yield "\");
\t\t\t} else if (business == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-business').text(\"";
// line 245
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Select Business"), "html", null, true);
yield "\");
\t\t\t} else if (country == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-country').text(\"";
// line 248
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Select Country"), "html", null, true);
yield "\");
\t\t\t} else if (inputBusinessName == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-inputBusinessName').text(\"";
// line 251
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter Business Name"), "html", null, true);
yield "\");
\t\t\t} else if (inputJobTitle == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-inputJobTitle').text(\"";
// line 254
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter Job Title"), "html", null, true);
yield "\");
\t\t\t} else if (inputAddressLine01 == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-inputAddressLine01').text(\"";
// line 257
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter Address 1"), "html", null, true);
yield "\");
\t\t\t} else if (password1 == '' || password2 == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.password-error').text(\"";
// line 260
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Password at least 8 characters"), "html", null, true);
yield "\");
\t\t\t} else if (password1 != password2) {
\t\t\tevent.preventDefault();
\t\t\t\$('.password-error').text(\"";
// line 263
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Password does not matched"), "html", null, true);
yield "\");
\t\t\t} else if (password1.length < 8 || password2 < 8) {
\t\t\tevent.preventDefault();
\t\t\t\$('.password-error').text(\"";
// line 266
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Password at least 8 characters"), "html", null, true);
yield "\");
\t\t\t} else if (! terms_con.is(\":checked\")) {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-term').text(\"";
// line 269
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Check terms and condition"), "html", null, true);
yield "\");
\t\t\t} //else if (response.length == 0) {
\t\t\t//event.preventDefault();
\t\t\t//\$('.recaptcha').text(\"reCaptcha is not valid\");
\t\t\t//}
\t\t\telse {
\t\t\t\$('.error').text('');
\t\t\t}
\t\t\t});
\t</script>
\t\t</script>
\t\t";
// line 282
if ((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.', 282, $this->source); })()), "request", [], "any", false, false, false, 282), "locale", [], "any", false, false, false, 282) == "ar")) {
// line 283
yield "\t\t\t";
$context["topMenu"] = "/en/signup";
// line 284
yield "\t\t";
} else {
// line 285
yield "\t\t\t";
$context["topMenu"] = "/ar/signup";
// line 286
yield "\t\t";
}
// line 287
yield "\t\t<script>
\t\t\tvar _TopMenuLink = \"";
// line 288
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["topMenu"]) || array_key_exists("topMenu", $context) ? $context["topMenu"] : (function () { throw new RuntimeError('Variable "topMenu" does not exist.', 288, $this->source); })()), "html", null, true);
yield "\";
\t\t</script>
\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "content/signup.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 613 => 288, 610 => 287, 607 => 286, 604 => 285, 601 => 284, 598 => 283, 596 => 282, 580 => 269, 574 => 266, 568 => 263, 562 => 260, 556 => 257, 550 => 254, 544 => 251, 538 => 248, 532 => 245, 526 => 242, 520 => 239, 514 => 236, 478 => 203, 450 => 178, 447 => 177, 437 => 173, 433 => 171, 429 => 170, 424 => 167, 419 => 157, 417 => 156, 407 => 152, 403 => 150, 399 => 149, 394 => 147, 383 => 139, 379 => 138, 369 => 131, 363 => 128, 356 => 124, 352 => 123, 348 => 122, 344 => 121, 340 => 120, 336 => 119, 332 => 118, 328 => 117, 324 => 116, 320 => 115, 316 => 114, 312 => 113, 308 => 112, 304 => 111, 300 => 110, 296 => 109, 292 => 108, 288 => 107, 284 => 106, 280 => 105, 276 => 104, 273 => 103, 266 => 98, 259 => 94, 252 => 90, 245 => 85, 234 => 83, 230 => 82, 226 => 81, 218 => 75, 212 => 74, 204 => 72, 201 => 71, 197 => 70, 193 => 69, 184 => 63, 177 => 59, 167 => 52, 160 => 48, 146 => 36, 136 => 32, 132 => 30, 128 => 29, 123 => 27, 101 => 7, 88 => 6, 64 => 3, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/layout.html.twig\" %}
{% block title %}GFS::Signup
{% endblock %}
{% block content %}
\t<!--Start Wrapper-->
\t<div
\t\tclass=\"wrapper sign-up-page signup-form\">
\t\t<!--Start Sign up-->
\t\t<section class=\"sign-up-page-section\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"media-section col-sm-7 col-10 slide-media-desktop\">
\t\t\t\t\t<div class=\"overlay\"></div>
\t\t\t\t\t<img src=\"/static/assets/images/Signup.jpg\" class=\"img-fluid w-100\" alt=\"Signup desktop\">
\t\t\t\t</div>
\t\t\t\t<div class=\"media-section col-sm-7 col-10 slide-media-mobile\">
\t\t\t\t\t<div class=\"overlay\"></div>
\t\t\t\t\t<img src=\"/static/assets/images/394x272 (1).jpg\" class=\"img-fluid w-100\" alt=\"Signup mobile\">
\t\t\t\t</div>
\t\t\t\t<div class=\"start-training-info sign-up-page-form col-xl-5\">
\t\t\t\t\t<h1 class=\"h2 text-center mb-3\">{{'SIGN UP'|trans}}</h1>
\t\t\t\t\t{% for flashMessage in app.session.flashbag.get('error') %}
\t\t\t\t\t\t<span class=\"msg-signup text-danger error-color\">
\t\t\t\t\t\t\t{{ flashMessage }}
\t\t\t\t\t\t</span>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t<form
\t\t\t\t\t\tmethod=\"post\" id=\"singupForm\" action=\"/register\">
\t\t\t\t\t\t<!-- <ul class=\"nav nav-pills nav-fill mt-3\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <li class=\"nav-item login-btn\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <a class=\"nav-link btn btn-custom btn-white\" href=\"#\">LOGIN</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t </li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <li class=\"nav-item signup-btn\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <a class=\"nav-link btn btn-custom btn-primary\" href=\"#\">Sign up</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t </li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t </ul> -->
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input required type=\"text\" class=\"form-control\" id=\"inputFullName\" name=\"firstname\" placeholder=\"{{'First Name'|trans}}*\">
\t\t\t\t\t\t\t<span class=\"error-fullname text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input required type=\"text\" class=\"form-control\" id=\"inputLastName\" name=\"lastname\" placeholder=\"{{'Last Name'|trans}}*\">
\t\t\t\t\t\t\t<span class=\"error-lastname text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-row\">
\t\t\t\t\t\t\t<div class=\"form-group col-md-6\">
\t\t\t\t\t\t\t\t<input type=\"tel\" class=\"form-control\" id=\"inputMobileNumber\" name=\"mobilenumber\" placeholder=\"{{'Mobile Number'|trans}}*\">
\t\t\t\t\t\t\t\t<span class=\"error-inputMobileNumber text-danger error-color\"></span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-group col-md-6\">
\t\t\t\t\t\t\t\t<input required type=\"email\" class=\"form-control\" id=\"inputEmailId\" name=\"email\" placeholder=\"{{'Email Id'|trans}}*\">
\t\t\t\t\t\t\t\t<span class=\"email-error text-danger error-color\"></span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<select id=\"business\" name=\"business_type\" class=\"form-control custom-select\">
\t\t\t\t\t\t\t\t<option selected value=\"\">{{'Business Type'|trans}}*</option>
\t\t\t\t\t\t\t\t{% for role in roles %}
\t\t\t\t\t\t\t\t\t{% if role.name != \"Normal\" %}
\t\t\t\t\t\t\t\t\t\t<option value=\"{{role.name}}\">{{role.name}}</option>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t<span class=\"error-business text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<select class=\"form-control\" id=\"country\" name=\"country\">
\t\t\t\t\t\t\t\t<option value=\"\">{{ \"Nationality\"|trans }}*</option>
\t\t\t\t\t\t\t\t{% for countries in countries %}
\t\t\t\t\t\t\t\t\t<option value=\"{{countries}}\">{{countries}}</option>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t<span class=\"error-country text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"inputBusinessName\" name=\"company\" placeholder=\"{{'Company Name'|trans}}*\">
\t\t\t\t\t\t\t<span class=\"error-inputBusinessName text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"inputJobTitle\" name=\"job_title\" placeholder=\"{{'Job Title'|trans}}*\">
\t\t\t\t\t\t\t<span class=\"error-inputJobTitle text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"inputAddressLine01\" name=\"address1\" value=\"{{'Saudi Arabia'|trans}}\" placeholder=\"Country\" required readonly>
\t\t\t\t\t\t\t<span class=\"error-inputAddressLine01 text-danger error-color\"></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t{# <input type=\"text\" class=\"form-control\" id=\"inputAddressLine02\" name=\"address2\" placeholder=\"{{'Address Line 02'|trans}}\"> #}
\t\t\t\t\t\t\t<select class=\"form-control\" id=\"inputAddressLine02\" name=\"address2\" required>
\t\t\t\t\t\t\t\t<option value=\"\" selected>{{\"Please Select City\" | trans}}</option>
\t\t\t\t\t\t\t\t<option value=\"Riyadh\">{{ \"Riyadh\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Jeddah\">{{ \"Jeddah\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Mecca\">{{ \"Mecca\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Medina\">{{ \"Medina\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Dammam\">{{ \"Dammam\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Al Khobar\">{{ \"Al Khobar\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Dhahran\">{{ \"Dhahran\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Jubail\">{{ \"Jubail\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Abha\">{{ \"Abha\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Taif\">{{ \"Taif\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Tabuk\">{{ \"Tabuk\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Hail\">{{ \"Hail\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Buraidah\">{{ \"Buraidah\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Najran\">{{ \"Najran\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Jizan\">{{ \"Jizan\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Khamis Mushait\">{{ \"Khamis Mushait\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Yanbu\">{{ \"Yanbu\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Al Ahsa\">{{ \"Al Ahsa\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Qatif\">{{ \"Qatif\" | trans }}</option>
\t\t\t\t\t\t\t\t<option value=\"Rabigh\">{{ \"Rabigh\" | trans }}</option>
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input required type=\"password\" class=\"form-control\" id=\"password1\" name=\"password\" placeholder=\"{{'Password'|trans}}*\" required>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<input required type=\"password\" class=\"form-control\" id=\"password2\" placeholder=\"{{'Confirm Password'|trans}}*\" required>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<span class=\"password-error text-danger error-color\"></span>
\t\t\t\t\t\t<div class=\"form-group mt-md-4 mb-md-3\">
\t\t\t\t\t\t\t<div class=\"form-check custom-control custom-checkbox\">
\t\t\t\t\t\t\t\t<input class=\"form-check-input custom-control-input\" type=\"checkbox\" id=\"gridCheck\" required>
\t\t\t\t\t\t\t\t<label class=\"form-check-label custom-control-label\" for=\"gridCheck\">
\t\t\t\t\t\t\t\t\t{{'I have read and agree to the'|trans}}
\t\t\t\t\t\t\t\t\t<a href=\"#\">{{'terms & conditions'|trans}}</a>
\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t<span class=\"error-term text-danger error-color\"></span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-check custom-control custom-checkbox\">
\t\t\t\t\t\t\t\t<input class=\"form-check-input custom-control-input\" type=\"checkbox\" id=\"gridChecknewslatter\" name=\"newslatter\">
\t\t\t\t\t\t\t\t<label class=\"form-check-label custom-control-label\" for=\"gridChecknewslatter\">
\t\t\t\t\t\t\t\t\t{{'Subscribe newsletter'|trans}}
\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t{% for flashMessage in app.session.flashbag.get('newslatter-error') %}
\t\t\t\t\t\t\t\t<span class=\"msg-signup text-danger error-color\">
\t\t\t\t\t\t\t\t\t{{ flashMessage }}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t{# <span class=\"error-term text-danger error-color\" ></span> #}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t
\t\t\t\t\t\t\t<span class=\"recaptcha text-danger error-color\"></span>
\t\t\t\t\t\t\t{# {% if app.request.getSchemeAndHttpHost() == \"https://goodyculinaire.com\" %}
\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LeRqBEeAAAAAPqLUIzSnAM5EmZrgsPgzf4zLI7P\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t{% elseif app.request.getSchemeAndHttpHost() == \"https://goodycs-dev.test\" %}
\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LdxNsAgAAAAAKdxceNtgNjH6TlrgstHJ-N-zH6C\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t{% elseif app.request.getSchemeAndHttpHost() == \"http://goodycs.com\" %}
\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6Le5OcAgAAAAANCPxYj-Tufd8ooE9d92HvhQNyac\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t{% endif %} #}
\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6Le5OcAgAAAAANCPxYj-Tufd8ooE9d92HvhQNyac\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
\t\t\t\t\t\t\t\t{% for flashMessage in app.session.flashbag.get('recaptcha-error') %}
\t\t\t\t\t\t\t\t<span class=\"msg-signup text-danger error-color\">
\t\t\t\t\t\t\t\t\t{{ flashMessage }}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<button class=\"btn btn-custom btn-lg-o-white btn-primary-submit btn-block submit-btn btn-lg-o-yellow-white\">{{'SIGN UP'|trans}}</button>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t<!--End Sign up-->
\t</div>
\t<!--End Wrapper-->
\t<style>
\t\t.form-control {
\t\t\tcolor: #495057 !important;
\t\t}
\t</style>
\t<script>
\t\t\$('#inputEmailId').on('keyup change', function () {
\t\t\tlet email = \$('#inputEmailId').val();
\t\t\t\$.ajax({
\t\t\turl: '/validate-email',
\t\t\ttype: \"post\",
\t\t\tdataType: 'json',
\t\t\tdata: {
\t\t\temail: \$(this).val()
\t\t\t},
\t\t\tsuccess: function (data) {
\t\t\tif (data.success) {
\t\t\t\$('.email-error').text(\"{{ 'Email already registerd'|trans }}\");
\t\t\t\$('.submit-btn').attr('disabled', 'disabled');
\t\t\t} else {
\t\t\t\$('.submit-btn').removeAttr('disabled');
\t\t\t\$('.email-error').text('');
\t\t\t}
\t\t\t}
\t\t\t});
\t\t\t})
\t</script>
\t<script>
\t\t\$('.submit-btn').on('click', function (e) { // event.preventDefault();
\t\t\tlet password1 = \$('#password1').val();
\t\t\tlet password2 = \$('#password2').val();
\t\t\tlet inputFullName = \$('#inputFullName').val();
\t\t\tlet inputLastName = \$('#inputLastName').val();
\t\t\tlet business = \$('#business').val();
\t\t\tlet inputMobileNumber = \$('#inputMobileNumber').val();
\t\t\tlet country = \$('#country').val();
\t\t\tlet inputBusinessName = \$('#inputBusinessName').val();
\t\t\tlet inputJobTitle = \$('#inputJobTitle').val();
\t\t\tlet inputAddressLine01 = \$('#inputAddressLine01').val();
\t\t\tlet terms_con = \$('#gridCheck');
\t\t\t// let newslatter = \$('#gridChecknewslatter');
\t\t\t//console.log(terms_con);
\t\t\t//var response = grecaptcha.getResponse();
\t\t\t//console.log(response);
\t\t\t\$(\".error\").remove();
\t\t\tif (inputFullName == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-fullname').text(\"{{ 'Enter First Name'|trans }}\");
\t\t\t} else if (inputLastName == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-lastname').text(\"{{ 'Enter Last Name'|trans }}\");
\t\t\t} else if (inputMobileNumber == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-inputMobileNumber').text(\"{{ 'Enter Mobile No'|trans }}\");
\t\t\t} else if (business == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-business').text(\"{{ 'Select Business'|trans }}\");
\t\t\t} else if (country == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-country').text(\"{{ 'Select Country'|trans }}\");
\t\t\t} else if (inputBusinessName == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-inputBusinessName').text(\"{{ 'Enter Business Name'|trans }}\");
\t\t\t} else if (inputJobTitle == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-inputJobTitle').text(\"{{ 'Enter Job Title'|trans }}\");
\t\t\t} else if (inputAddressLine01 == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-inputAddressLine01').text(\"{{ 'Enter Address 1'|trans }}\");
\t\t\t} else if (password1 == '' || password2 == '') {
\t\t\tevent.preventDefault();
\t\t\t\$('.password-error').text(\"{{ 'Password at least 8 characters'|trans }}\");
\t\t\t} else if (password1 != password2) {
\t\t\tevent.preventDefault();
\t\t\t\$('.password-error').text(\"{{ 'Password does not matched'|trans }}\");
\t\t\t} else if (password1.length < 8 || password2 < 8) {
\t\t\tevent.preventDefault();
\t\t\t\$('.password-error').text(\"{{ 'Password at least 8 characters'|trans }}\");
\t\t\t} else if (! terms_con.is(\":checked\")) {
\t\t\tevent.preventDefault();
\t\t\t\$('.error-term').text(\"{{ 'Check terms and condition'|trans }}\");
\t\t\t} //else if (response.length == 0) {
\t\t\t//event.preventDefault();
\t\t\t//\$('.recaptcha').text(\"reCaptcha is not valid\");
\t\t\t//}
\t\t\telse {
\t\t\t\$('.error').text('');
\t\t\t}
\t\t\t});
\t</script>
\t\t</script>
\t\t{% if (app.request.locale =='ar') %}
\t\t\t{% set topMenu =\"/en/signup\" %}
\t\t{% else %}
\t\t\t{% set topMenu =\"/ar/signup\" %}
\t\t{% endif %}
\t\t<script>
\t\t\tvar _TopMenuLink = \"{{ topMenu }}\";
\t\t</script>
\t\t{% endblock %}
", "content/signup.html.twig", "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/content/signup.html.twig");
}
}