<?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;
/* client/register.html.twig */
class __TwigTemplate_17fbd85753661f490f4ce9ad39fa4fa24aead388703df31dfe3a717084b6d498 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 = [
'contentBody' => [$this, 'block_contentBody'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "client/register.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "client/register.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "client/register.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_contentBody(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBody"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBody"));
// line 4
yield " ";
$context["title"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", true, true, false, 4)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", false, false, false, 4))) : (""));
// line 5
yield " <!-- Main content -->
<div class=\"content container mt-5\">
<div class=\"row justify-content-center d-flex\">
<!-- Signup Section -->
<div class=\"col-md-7 d-flex align-items-stretch\">
<div class=\"form-container p-4 bg-white shadow-sm\">
<h2 class=\"header-text text-center\">Inscrivez-vous</h2>
<div id=\"id_notification\"></div>
";
// line 13
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 13, $this->source); })()), 'form_start');
yield "
<div class=\"row\">
<div class=\"col-md-12\">
";
// line 16
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 16, $this->source); })()), "civ", [], "any", false, false, false, 16), 'row');
yield "
</div>
<div class=\"col-md-6\">
";
// line 19
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 19, $this->source); })()), "nom", [], "any", false, false, false, 19), 'row');
yield "
</div>
<div class=\"col-md-6\">
";
// line 22
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 22, $this->source); })()), "prenom", [], "any", false, false, false, 22), 'row');
yield "
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
";
// line 26
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 26, $this->source); })()), "email", [], "any", false, false, false, 26), 'widget');
yield "
<span class=\"text-danger text-left\" data-page=\"1\">";
// line 27
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 27, $this->source); })()), "email", [], "any", false, false, false, 27), 'errors');
yield "</span>
</div>
</div>
<div class=\"col-md-6\">
";
// line 31
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 31, $this->source); })()), "telephone", [], "any", false, false, false, 31), 'row');
yield "
</div>
<div class=\"col-md-6\">
";
// line 34
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 34, $this->source); })()), "password", [], "any", false, false, false, 34), 'row');
yield "
</div>
<div class=\"col-md-6\">
";
// line 37
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 37, $this->source); })()), "confirm_password", [], "any", false, false, false, 37), 'row');
yield "
</div>
<div class=\"col-md-6\">
";
// line 40
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 40, $this->source); })()), "adresse1", [], "any", false, false, false, 40), 'row');
yield "
</div>
<div class=\"col-md-6\">
";
// line 43
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 43, $this->source); })()), "adresse2", [], "any", false, false, false, 43), 'row');
yield "
</div>
";
// line 56
yield " <div class=\"col-md-6\">
";
// line 57
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 57, $this->source); })()), "ville", [], "any", false, false, false, 57), 'row');
yield "
</div>
<div class=\"col-md-6\">
";
// line 60
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 60, $this->source); })()), "cp", [], "any", false, false, false, 60), 'row');
yield "
</div>
<div class=\"col-md-6\">
";
// line 63
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 63, $this->source); })()), "raison_social", [], "any", false, false, false, 63), 'row');
yield "
</div>
</div>
";
// line 69
yield "
<div class=\"text-center no-padding-top\">
";
// line 71
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 71, $this->source); })()), "recaptcha_token", [], "any", false, false, false, 71), 'row');
yield "
<script src=\"https://www.google.com/recaptcha/api.js?render=";
// line 72
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["google_recaptcha_site_key"]) || array_key_exists("google_recaptcha_site_key", $context) ? $context["google_recaptcha_site_key"] : (function () { throw new RuntimeError('Variable "google_recaptcha_site_key" does not exist.', 72, $this->source); })()), "html", null, true);
yield "\"></script>
<script>
document.addEventListener(\"DOMContentLoaded\", function() {
grecaptcha.ready(function() {
grecaptcha.execute(\"";
// line 76
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["google_recaptcha_site_key"]) || array_key_exists("google_recaptcha_site_key", $context) ? $context["google_recaptcha_site_key"] : (function () { throw new RuntimeError('Variable "google_recaptcha_site_key" does not exist.', 76, $this->source); })()), "html", null, true);
yield "\", {action: 'registration'})
.then(function(token) {
document.getElementById(\"";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 78, $this->source); })()), "recaptcha_token", [], "any", false, false, false, 78), "vars", [], "any", false, false, false, 78), "id", [], "any", false, false, false, 78), "html", null, true);
yield "\").value = token;
});
});
});
</script>
<button class=\"btn btn-kl-form-input btn-custom mt-4\" type=\"button\" id=\"id_saveClient\">Créer mon compte</button>
<small class=\"form-text text-muted\"><em>*Champs obligatoires</em></small>
</div>
";
// line 86
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 86, $this->source); })()), 'form_end');
yield "
</div>
</div>
</div>
</div>
<style type=\"text/css\">
.no-padding-top {
padding-top: 0 !important;
margin-top: 0 !important;
}
/* Background image styling */
body {
background-image: url('/media/69/download/coworking-space-in-gurgaon-5485822_1280.jpg?v=1');
background-repeat: no-repeat;
background-size: cover; /* Fait en sorte que l'image remplisse tout l'écran */
background-position: center; /* Centre l'image pour éviter les décalages */
background-attachment: fixed; /* Fixe l'image en place lors du défilement */
}
.big-wrapper {
background: linear-gradient(to bottom, rgba(255, 255, 255, 1.9), rgba(255, 255, 255, 0)); /* Dégradé du haut (opaque) vers le bas (transparent) */
}
</style>
";
// line 110
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 111
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "client/register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 257 => 111, 234 => 110, 207 => 86, 196 => 78, 191 => 76, 184 => 72, 180 => 71, 176 => 69, 170 => 63, 164 => 60, 158 => 57, 155 => 56, 150 => 43, 144 => 40, 138 => 37, 132 => 34, 126 => 31, 119 => 27, 115 => 26, 108 => 22, 102 => 19, 96 => 16, 90 => 13, 80 => 5, 77 => 4, 64 => 3, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout.html.twig\" %}
{% block contentBody %}
{% set title = content.title|default %}
<!-- Main content -->
<div class=\"content container mt-5\">
<div class=\"row justify-content-center d-flex\">
<!-- Signup Section -->
<div class=\"col-md-7 d-flex align-items-stretch\">
<div class=\"form-container p-4 bg-white shadow-sm\">
<h2 class=\"header-text text-center\">Inscrivez-vous</h2>
<div id=\"id_notification\"></div>
{{ form_start(form) }}
<div class=\"row\">
<div class=\"col-md-12\">
{{ form_row(form.civ) }}
</div>
<div class=\"col-md-6\">
{{ form_row(form.nom) }}
</div>
<div class=\"col-md-6\">
{{ form_row(form.prenom) }}
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
{{ form_widget(form.email) }}
<span class=\"text-danger text-left\" data-page=\"1\">{{ form_errors(form.email) }}</span>
</div>
</div>
<div class=\"col-md-6\">
{{ form_row(form.telephone) }}
</div>
<div class=\"col-md-6\">
{{ form_row(form.password) }}
</div>
<div class=\"col-md-6\">
{{ form_row(form.confirm_password) }}
</div>
<div class=\"col-md-6\">
{{ form_row(form.adresse1) }}
</div>
<div class=\"col-md-6\">
{{ form_row(form.adresse2) }}
</div>
{# div class=\"col-md-6\">
<div>
<div class=\"form-group\">
<select class=\"custom-select form-control kl-form-input login\" id=\"pays\" name=\"client[pays]\">
{% for paysid, value in pays %}
<option value=\"{{ paysid }}\" {{ paysid == 57 ? 'selected=\"selelected\"' : '' }} >{{ value }}</option>
{% endfor %}
</select>
</div>
</div>
</div>#}
<div class=\"col-md-6\">
{{ form_row(form.ville) }}
</div>
<div class=\"col-md-6\">
{{ form_row(form.cp) }}
</div>
<div class=\"col-md-6\">
{{ form_row(form.raison_social) }}
</div>
</div>
{# <div class=\"row\">
<div class=\"col-md-12\">{{ form_row(form.recevoir_offre) }}</div>
</div> #}
<div class=\"text-center no-padding-top\">
{{ form_row(form.recaptcha_token) }}
<script src=\"https://www.google.com/recaptcha/api.js?render={{ google_recaptcha_site_key }}\"></script>
<script>
document.addEventListener(\"DOMContentLoaded\", function() {
grecaptcha.ready(function() {
grecaptcha.execute(\"{{ google_recaptcha_site_key }}\", {action: 'registration'})
.then(function(token) {
document.getElementById(\"{{ form.recaptcha_token.vars.id }}\").value = token;
});
});
});
</script>
<button class=\"btn btn-kl-form-input btn-custom mt-4\" type=\"button\" id=\"id_saveClient\">Créer mon compte</button>
<small class=\"form-text text-muted\"><em>*Champs obligatoires</em></small>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</div>
<style type=\"text/css\">
.no-padding-top {
padding-top: 0 !important;
margin-top: 0 !important;
}
/* Background image styling */
body {
background-image: url('/media/69/download/coworking-space-in-gurgaon-5485822_1280.jpg?v=1');
background-repeat: no-repeat;
background-size: cover; /* Fait en sorte que l'image remplisse tout l'écran */
background-position: center; /* Centre l'image pour éviter les décalages */
background-attachment: fixed; /* Fixe l'image en place lors du défilement */
}
.big-wrapper {
background: linear-gradient(to bottom, rgba(255, 255, 255, 1.9), rgba(255, 255, 255, 0)); /* Dégradé du haut (opaque) vers le bas (transparent) */
}
</style>
{% block javascripts %}
{{ parent() }}
{% endblock %}
{% endblock %}
", "client/register.html.twig", "/home/coworking/www_preprod/templates/client/register.html.twig");
}
}