<?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;
/* frontend/registration/register.html.twig */
class __TwigTemplate_5d8fb472b5f8f87bb3817820a40d55fb 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'],
'stylesheet' => [$this, 'block_stylesheet'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.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", "frontend/registration/register.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/registration/register.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "frontend/registration/register.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"));
// line 4
yield " Register
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheet(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", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 8
yield " <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css\" />
<style>
.image-container {
width: 100%;
height: 100%;
background-image: url(";
// line 13
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/signupcage.b60947f4.svg"), "html", null, true);
yield ");
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
}
.mon-form > ul{
list-style: initial;
padding-left: 15px;
}
.mon-form > ul>li{
color: red;
font-weight: 700;
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 32
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 33
yield " <main>
<div class=\"container\">
<div class=\"row d-flex justify-content-center\">
<div class=\"col-md-11 col-xxl-9 mt-5 mb-5\">
<div class=\"card p-4\" style=\"box-shadow: 5px 5px 5px 3px #8a8a8a;\">
<h3 class=\"\" style=\"color: #bd2879 !important; font-weight: 700\">Inscription</h3>
<div class=\"row\">
<div class=\"col-md-6 mon-form\">
";
// line 41
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.', 41, $this->source); })()), 'form_start');
yield "
<div class=\"mb-3\">
";
// 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); })()), "lastname", [], "any", false, false, false, 43), 'label');
yield "
";
// line 44
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.', 44, $this->source); })()), "lastname", [], "any", false, false, false, 44), 'widget');
yield "
";
// line 45
if ($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.', 45, $this->source); })()), "lastname", [], "any", false, false, false, 45), 'errors')) {
// line 46
yield " <span class=\"text-danger\" style=\"color: red !important; font-weight: 700\">";
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.', 46, $this->source); })()), "lastname", [], "any", false, false, false, 46), 'errors');
yield "</span>
";
}
// line 48
yield " </div>
<div class=\"mb-3\">
";
// line 50
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.', 50, $this->source); })()), "firstname", [], "any", false, false, false, 50), 'label');
yield "
";
// line 51
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.', 51, $this->source); })()), "firstname", [], "any", false, false, false, 51), 'widget');
yield "
";
// line 52
if ($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.', 52, $this->source); })()), "firstname", [], "any", false, false, false, 52), 'errors')) {
// line 53
yield " <span class=\"text-danger\" style=\"color: red !important; font-weight: 700\">";
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.', 53, $this->source); })()), "firstname", [], "any", false, false, false, 53), 'errors');
yield "</span>
";
}
// line 55
yield " </div>
<div class=\"mb-3\">
";
// 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); })()), "email", [], "any", false, false, false, 57), 'label');
yield "
";
// line 58
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.', 58, $this->source); })()), "email", [], "any", false, false, false, 58), 'widget');
yield "
";
// line 59
if ($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.', 59, $this->source); })()), "email", [], "any", false, false, false, 59), 'errors')) {
// line 60
yield " <span class=\"text-danger\" style=\"color: red !important; font-weight: 700\">";
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); })()), "email", [], "any", false, false, false, 60), 'errors');
yield "</span>
";
}
// line 62
yield " </div>
<div class=\"mb-3 motDePasse\">
";
// line 64
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 64, $this->source); })()), "password", [], "any", false, false, false, 64), "first", [], "any", false, false, false, 64), 'label');
yield "
";
// line 65
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 65, $this->source); })()), "password", [], "any", false, false, false, 65), "first", [], "any", false, false, false, 65), 'widget', ["id" => "id_password"]);
yield "
<i class=\"bi bi-eye-slash\" id=\"togglePassword\" onclick=\"cacherMotDePasse()\" style=\"margin-right: 15px; margin-top: -50px; cursor: pointer; float: right; z-index: 10;\"></i>
";
// line 67
if ($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 67, $this->source); })()), "password", [], "any", false, false, false, 67), "first", [], "any", false, false, false, 67), 'errors')) {
// line 68
yield " <span class=\"\" style=\"color: red !important; font-weight: 700\">";
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 68, $this->source); })()), "password", [], "any", false, false, false, 68), "first", [], "any", false, false, false, 68), 'errors');
yield "</span>
";
}
// line 70
yield " </div>
<div class=\"mb-3 motDePasse\">
";
// line 72
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 72, $this->source); })()), "password", [], "any", false, false, false, 72), "second", [], "any", false, false, false, 72), 'label');
yield "
";
// line 73
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 73, $this->source); })()), "password", [], "any", false, false, false, 73), "second", [], "any", false, false, false, 73), 'widget', ["id" => "id_password_password"]);
yield "
<i class=\"bi bi-eye-slash\" id=\"togglePasswordConfirm\" onclick=\"cacherMotDePasseConfirm()\" style=\"margin-right: 15px; margin-top: -34px; cursor: pointer; float: right; z-index: 10;\"></i>
";
// line 75
if ($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 75, $this->source); })()), "password", [], "any", false, false, false, 75), "second", [], "any", false, false, false, 75), 'errors')) {
// line 76
yield " <div class=\"alert alert-danger\">";
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 76, $this->source); })()), "password", [], "any", false, false, false, 76), "second", [], "any", false, false, false, 76), 'errors');
yield "</div>
";
}
// line 78
yield " </div>
<button type=\"submit\" class=\"btn btn-success w-100 mb-3\">S'inscrire</button>
";
// line 80
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.', 80, $this->source); })()), 'form_end');
yield "
<p>Déja inscrit ? <a href=\"#\">Creer un compte</a>.</p>
</div>
<div class=\"col-md-6\">
<div class=\"image-container\"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!--/main-->
<script>
// Récupérer les éléments HTML
const passwordInput = document.getElementById('id_password');
const togglePassword = document.getElementById('togglePassword');
const passwordInputConfirm = document.getElementById('id_password_password');
const togglePasswordConfirm = document.getElementById('togglePasswordConfirm');
// Ajouter un gestionnaire d'événement au clic sur l'icône d'œil
function cacherMotDePasse() {
// Vérifier le type de l'input
if (passwordInput.type === 'password') {
// Si le type est \"password\", le changer en \"text\" pour afficher le mot de passe
passwordInput.type = 'text';
togglePassword.classList.remove('bi-eye-slash');
togglePassword.classList.add('bi-eye');
} else {
// Sinon, le changer en \"password\" pour masquer le mot de passe
passwordInput.type = 'password';
togglePassword.classList.remove('bi-eye');
togglePassword.classList.add('bi-eye-slash');
}
}
function cacherMotDePasseConfirm() {
// Vérifier le type de l'input
if (passwordInputConfirm.type === 'password') {
// Si le type est \"password\", le changer en \"text\" pour afficher le mot de passe
passwordInputConfirm.type = 'text';
togglePasswordConfirm.classList.remove('bi-eye-slash');
togglePasswordConfirm.classList.add('bi-eye');
} else {
// Sinon, le changer en \"password\" pour masquer le mot de passe
passwordInputConfirm.type = 'password';
togglePasswordConfirm.classList.remove('bi-eye');
togglePasswordConfirm.classList.add('bi-eye-slash');
}
}
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "frontend/registration/register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 269 => 80, 265 => 78, 259 => 76, 257 => 75, 252 => 73, 248 => 72, 244 => 70, 238 => 68, 236 => 67, 231 => 65, 227 => 64, 223 => 62, 217 => 60, 215 => 59, 211 => 58, 207 => 57, 203 => 55, 197 => 53, 195 => 52, 191 => 51, 187 => 50, 183 => 48, 177 => 46, 175 => 45, 171 => 44, 167 => 43, 162 => 41, 152 => 33, 139 => 32, 110 => 13, 103 => 8, 90 => 7, 78 => 4, 65 => 3, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"base.html.twig\" %}
{% block title %}
Register
{% endblock %}
{% block stylesheet %}
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css\" />
<style>
.image-container {
width: 100%;
height: 100%;
background-image: url({{ asset('build/images/signupcage.b60947f4.svg') }});
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
}
.mon-form > ul{
list-style: initial;
padding-left: 15px;
}
.mon-form > ul>li{
color: red;
font-weight: 700;
}
</style>
{% endblock %}
{% block body %}
<main>
<div class=\"container\">
<div class=\"row d-flex justify-content-center\">
<div class=\"col-md-11 col-xxl-9 mt-5 mb-5\">
<div class=\"card p-4\" style=\"box-shadow: 5px 5px 5px 3px #8a8a8a;\">
<h3 class=\"\" style=\"color: #bd2879 !important; font-weight: 700\">Inscription</h3>
<div class=\"row\">
<div class=\"col-md-6 mon-form\">
{{ form_start(form)}}
<div class=\"mb-3\">
{{ form_label(form.lastname) }}
{{ form_widget(form.lastname) }}
{% if form_errors(form.lastname) %}
<span class=\"text-danger\" style=\"color: red !important; font-weight: 700\">{{ form_errors(form.lastname) }}</span>
{% endif %}
</div>
<div class=\"mb-3\">
{{ form_label(form.firstname) }}
{{ form_widget(form.firstname) }}
{% if form_errors(form.firstname) %}
<span class=\"text-danger\" style=\"color: red !important; font-weight: 700\">{{ form_errors(form.firstname) }}</span>
{% endif %}
</div>
<div class=\"mb-3\">
{{ form_label(form.email) }}
{{ form_widget(form.email) }}
{% if form_errors(form.email) %}
<span class=\"text-danger\" style=\"color: red !important; font-weight: 700\">{{ form_errors(form.email) }}</span>
{% endif %}
</div>
<div class=\"mb-3 motDePasse\">
{{ form_label(form.password.first) }}
{{ form_widget(form.password.first, {'id':'id_password'}) }}
<i class=\"bi bi-eye-slash\" id=\"togglePassword\" onclick=\"cacherMotDePasse()\" style=\"margin-right: 15px; margin-top: -50px; cursor: pointer; float: right; z-index: 10;\"></i>
{% if form_errors(form.password.first) %}
<span class=\"\" style=\"color: red !important; font-weight: 700\">{{ form_errors(form.password.first) }}</span>
{% endif %}
</div>
<div class=\"mb-3 motDePasse\">
{{ form_label(form.password.second) }}
{{ form_widget(form.password.second, {'id':'id_password_password'}) }}
<i class=\"bi bi-eye-slash\" id=\"togglePasswordConfirm\" onclick=\"cacherMotDePasseConfirm()\" style=\"margin-right: 15px; margin-top: -34px; cursor: pointer; float: right; z-index: 10;\"></i>
{% if form_errors(form.password.second) %}
<div class=\"alert alert-danger\">{{ form_errors(form.password.second) }}</div>
{% endif %}
</div>
<button type=\"submit\" class=\"btn btn-success w-100 mb-3\">S'inscrire</button>
{{ form_end(form) }}
<p>Déja inscrit ? <a href=\"#\">Creer un compte</a>.</p>
</div>
<div class=\"col-md-6\">
<div class=\"image-container\"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!--/main-->
<script>
// Récupérer les éléments HTML
const passwordInput = document.getElementById('id_password');
const togglePassword = document.getElementById('togglePassword');
const passwordInputConfirm = document.getElementById('id_password_password');
const togglePasswordConfirm = document.getElementById('togglePasswordConfirm');
// Ajouter un gestionnaire d'événement au clic sur l'icône d'œil
function cacherMotDePasse() {
// Vérifier le type de l'input
if (passwordInput.type === 'password') {
// Si le type est \"password\", le changer en \"text\" pour afficher le mot de passe
passwordInput.type = 'text';
togglePassword.classList.remove('bi-eye-slash');
togglePassword.classList.add('bi-eye');
} else {
// Sinon, le changer en \"password\" pour masquer le mot de passe
passwordInput.type = 'password';
togglePassword.classList.remove('bi-eye');
togglePassword.classList.add('bi-eye-slash');
}
}
function cacherMotDePasseConfirm() {
// Vérifier le type de l'input
if (passwordInputConfirm.type === 'password') {
// Si le type est \"password\", le changer en \"text\" pour afficher le mot de passe
passwordInputConfirm.type = 'text';
togglePasswordConfirm.classList.remove('bi-eye-slash');
togglePasswordConfirm.classList.add('bi-eye');
} else {
// Sinon, le changer en \"password\" pour masquer le mot de passe
passwordInputConfirm.type = 'password';
togglePasswordConfirm.classList.remove('bi-eye');
togglePasswordConfirm.classList.add('bi-eye-slash');
}
}
</script>
{% endblock %}", "frontend/registration/register.html.twig", "/home/net/symfony/vhosts/test-ayilaa-frontend/templates/frontend/registration/register.html.twig");
}
}