<?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;
/* registration/register.html.twig */
class __TwigTemplate_70144178ab413ddca1154d54e4413177 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->parent = false;
$this->blocks = [
];
}
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", "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", "registration/register.html.twig"));
// line 1
yield "<!doctype html>
<html lang=\"en\" data-layout=\"vertical\" data-topbar=\"light\" data-sidebar=\"dark\" data-sidebar-size=\"lg\" data-sidebar-image=\"none\" data-preloader=\"disable\">
<head>
<meta charset=\"utf-8\" />
<title>Textiles</title>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<meta content=\"Premium Multipurpose Admin & Dashboard Template\" name=\"description\" />
<meta content=\"Themesbrand\" name=\"author\" />
<!-- App favicon -->
<link rel=\"shortcut icon\" href=\"";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/favicon.ico"), "html", null, true);
yield "\">
<!-- Layout config Js -->
<script src=\"";
// line 16
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/layout.js"), "html", null, true);
yield "\"></script>
<!-- Bootstrap Css -->
<link href=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/bootstrap.min.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\" />
<!-- Icons Css -->
<link href=\"";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/icons.min.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\" />
<!-- App Css-->
<link href=\"";
// line 22
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/app.min.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\" />
<!-- custom Css-->
<link href=\"";
// line 24
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/custom.min.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\" />
</head>
<body>
<div class=\"auth-page-wrapper pt-5\">
<!-- auth page bg -->
";
// line 34
yield " ";
// line 35
yield " <div class=\"auth-one-bg-position auth-one-bg\" id=\"auth-particles\" style=\"background-image: url(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/textile.jpg"), "html", null, true);
yield ");\">
";
// line 37
yield "
<div class=\"shape\">
<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 1440 120\">
<path d=\"M 0,36 C 144,53.6 432,123.2 720,124 C 1008,124.8 1296,56.8 1440,40L1440 140L0 140z\"></path>
</svg>
</div>
</div>
<!-- auth page content -->
<div class=\"auth-page-content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"text-center mt-sm-5 mb-4 text-white-50\">
<div>
<a href=\"#\" class=\"d-inline-block auth-logo\">
<h1 style=\"color: white;font-size: 30px;margin-bottom: -30px\" > Textiles</h1>
";
// line 56
yield " </a>
</div>
";
// line 59
yield " </div>
</div>
</div>
<!-- end row -->
<div class=\"row justify-content-center\">
<div class=\"col-md-8 col-lg-6 col-xl-5\">
<div class=\"card mt-4\">
<div class=\"card-body p-4\">
<div class=\"text-center mt-2\">
<h5 class=\"text-primary\">Créer un nouveau compte</h5>
";
// line 72
yield " </div>
<div class=\"p-2 mt-4\">
";
// line 74
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 74, $this->source); })()), 'form_start');
yield "
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Nom <span class=\"text-danger\">*</span></label>
";
// line 79
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 79, $this->source); })()), "nom", [], "any", false, false, false, 79), 'widget', ["attr" => ["class" => "form-control ", "required" => "required", "placeholder" => "Entrez nom"]]);
yield "
<div class=\"invalid-feedback\">
Veuillez entrer votre nom
</div>
</div>
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Prénom <span class=\"text-danger\">*</span></label>
";
// line 86
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 86, $this->source); })()), "prenom", [], "any", false, false, false, 86), 'widget', ["attr" => ["class" => "form-control ", "required" => "required", "placeholder" => "Entrez prénom"]]);
yield "
<div class=\"invalid-feedback\">
Veuillez entrer votre prénom
</div>
</div>
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Adresse <span class=\"text-danger\">*</span></label>
";
// line 93
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 93, $this->source); })()), "address", [], "any", false, false, false, 93), 'widget', ["attr" => ["class" => "form-control ", "required" => "required", "placeholder" => "Entrez adresse"]]);
yield "
<div class=\"invalid-feedback\">
Veuillez entrer votre adresse
</div>
</div>
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Téléphone <span class=\"text-danger\">*</span></label>
";
// line 100
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 100, $this->source); })()), "telphone", [], "any", false, false, false, 100), 'widget', ["attr" => ["class" => "form-control ", "required" => "required", "placeholder" => "Entrez téléphone"]]);
yield "
<div class=\"invalid-feedback\">
Veuillez entrer votre téléphone
</div>
</div>
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Email <span class=\"text-danger\">*</span></label>
";
// line 107
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 107, $this->source); })()), "email", [], "any", false, false, false, 107), 'widget', ["attr" => ["class" => "form-control ", "required" => "required", "placeholder" => "Entrez l'email"]]);
yield "
<div class=\"invalid-feedback\">
Veuillez entrer votre adresse e-mail
</div>
</div>
<div class=\"mb-3\">
<label class=\"form-label\" for=\"password-input\">Mot de passe <span class=\"text-danger\">*</span></label>
<div class=\"position-relative auth-pass-inputgroup\">
";
// line 118
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 118, $this->source); })()), "plainPassword", [], "any", false, false, false, 118), 'widget', ["attr" => ["class" => "form-control ", "required" => "required", "placeholder" => "Entrez le mot de passe"]]);
yield "
<button class=\"btn btn-link position-absolute end-0 top-0 text-decoration-none text-muted password-addon\" type=\"button\" id=\"password-addon\">
<i class=\"ri-eye-fill align-middle\"></i>
</button>
";
// line 124
yield " <div class=\"invalid-feedback\">
Veuillez entrer le mot de passe
</div>
</div>
</div>
";
// line 131
yield " ";
// line 132
yield " ";
// line 133
yield "
<div class=\"mt-4\">
<button class=\"btn btn-success w-100\" type=\"submit\">S'inscrire</button>
</div>
";
// line 141
yield " ";
// line 142
yield " ";
// line 143
yield " ";
// line 144
yield "
";
// line 146
yield " ";
// line 147
yield " ";
// line 148
yield " ";
// line 149
yield " ";
// line 150
yield " ";
// line 151
yield " ";
// line 152
yield " ";
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 152, $this->source); })()), 'form_end');
yield "
</div>
</div>
<!-- end card body -->
</div>
<!-- end card -->
<div class=\"mt-4 text-center\">
<p class=\"mb-0\">Vous avez déjà un compte ? <a href=\"";
// line 162
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\" class=\"fw-semibold text-primary text-decoration-underline\"> Se connecter </a> </p>
</div>
</div>
</div>
<!-- end row -->
</div>
<!-- end container -->
</div>
<!-- end auth page content -->
<!-- footer -->
<footer class=\"footer\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"text-center\">
<p class=\"mb-0 text-muted\">©
<script>document.write(new Date().getFullYear())</script> Smart IT Partner
</p>
</div>
</div>
</div>
</div>
</footer>
<!-- end Footer -->
</div>
<!-- end auth-page-wrapper -->
<!-- JAVASCRIPT -->
<script src=\"";
// line 192
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/bootstrap/js/bootstrap.bundle.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 193
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/simplebar/simplebar.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 194
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/node-waves/waves.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 195
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/feather-icons/feather.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 196
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/plugins/lord-icon-2.1.0.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 197
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins.js"), "html", null, true);
yield "\"></script>
<!-- particles js -->
<script src=\"";
// line 200
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/particles.js/particles.js"), "html", null, true);
yield "\"></script>
<!-- particles app js -->
<script src=\"";
// line 202
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/particles.app.js"), "html", null, true);
yield "\"></script>
<!-- password-addon init -->
<script src=\"";
// line 204
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/password-addon.init.js"), "html", null, true);
yield "\"></script>
<!-- particles js -->
<!-- particles app js -->
<!-- validation init -->
<script src=\"";
// line 209
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/form-validation.init.js"), "html", null, true);
yield "\"></script>
<!-- password create init -->
<script src=\"";
// line 211
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/passowrd-create.init.js"), "html", null, true);
yield "\"></script>
<script>
document.addEventListener(\"DOMContentLoaded\", function () {
// Sélectionner le champ de mot de passe et le bouton
const passwordInput = document.querySelector(\"input[type='password']\");
const passwordToggle = document.querySelector(\"#password-addon\");
if (passwordInput && passwordToggle) { // Vérifie que les éléments existent
passwordToggle.addEventListener(\"click\", function () {
// Basculer le type de l'input entre 'text' et 'password'
if (passwordInput.type === \"password\") {
passwordInput.type = \"text\";
passwordToggle.innerHTML = '<i class=\"ri-eye-off-fill align-middle\"></i>';
} else {
passwordInput.type = \"password\";
passwordToggle.innerHTML = '<i class=\"ri-eye-fill align-middle\"></i>';
}
});
} else {
console.error(\"Champ de mot de passe ou bouton introuvable. Vérifiez les sélecteurs.\");
}
});
</script>
</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "registration/register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 357 => 211, 352 => 209, 344 => 204, 339 => 202, 334 => 200, 328 => 197, 324 => 196, 320 => 195, 316 => 194, 312 => 193, 308 => 192, 275 => 162, 261 => 152, 259 => 151, 257 => 150, 255 => 149, 253 => 148, 251 => 147, 249 => 146, 246 => 144, 244 => 143, 242 => 142, 240 => 141, 231 => 133, 229 => 132, 227 => 131, 219 => 124, 211 => 118, 197 => 107, 187 => 100, 177 => 93, 167 => 86, 157 => 79, 149 => 74, 145 => 72, 131 => 59, 127 => 56, 107 => 37, 102 => 35, 100 => 34, 88 => 24, 83 => 22, 78 => 20, 73 => 18, 68 => 16, 61 => 12, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!doctype html>
<html lang=\"en\" data-layout=\"vertical\" data-topbar=\"light\" data-sidebar=\"dark\" data-sidebar-size=\"lg\" data-sidebar-image=\"none\" data-preloader=\"disable\">
<head>
<meta charset=\"utf-8\" />
<title>Textiles</title>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<meta content=\"Premium Multipurpose Admin & Dashboard Template\" name=\"description\" />
<meta content=\"Themesbrand\" name=\"author\" />
<!-- App favicon -->
<link rel=\"shortcut icon\" href=\"{{ asset('assets/images/favicon.ico') }}\">
<!-- Layout config Js -->
<script src=\"{{ asset('assets/js/layout.js') }}\"></script>
<!-- Bootstrap Css -->
<link href=\"{{ asset('assets/css/bootstrap.min.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
<!-- Icons Css -->
<link href=\"{{ asset('assets/css/icons.min.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
<!-- App Css-->
<link href=\"{{ asset('assets/css/app.min.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
<!-- custom Css-->
<link href=\"{{ asset('assets/css/custom.min.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
</head>
<body>
<div class=\"auth-page-wrapper pt-5\">
<!-- auth page bg -->
{# <div class=\"auth-one-bg-position auth-one-bg\" id=\"auth-particles\">#}
{# <div class=\"bg-overlay\"></div>#}
<div class=\"auth-one-bg-position auth-one-bg\" id=\"auth-particles\" style=\"background-image: url({{ asset('assets/images/textile.jpg') }});\">
{# <div class=\"bg-overlay\"></div>#}
<div class=\"shape\">
<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 1440 120\">
<path d=\"M 0,36 C 144,53.6 432,123.2 720,124 C 1008,124.8 1296,56.8 1440,40L1440 140L0 140z\"></path>
</svg>
</div>
</div>
<!-- auth page content -->
<div class=\"auth-page-content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"text-center mt-sm-5 mb-4 text-white-50\">
<div>
<a href=\"#\" class=\"d-inline-block auth-logo\">
<h1 style=\"color: white;font-size: 30px;margin-bottom: -30px\" > Textiles</h1>
{# <img src=\"assets/images/logo-light.png\" alt=\"\" height=\"20\">#}
</a>
</div>
{# <p class=\"mt-3 fs-15 fw-medium\" style=\"margin-bottom: -30px\">CARGO AFRICA NETWORK </p>#}
</div>
</div>
</div>
<!-- end row -->
<div class=\"row justify-content-center\">
<div class=\"col-md-8 col-lg-6 col-xl-5\">
<div class=\"card mt-4\">
<div class=\"card-body p-4\">
<div class=\"text-center mt-2\">
<h5 class=\"text-primary\">Créer un nouveau compte</h5>
{# <p class=\"text-muted\">Get your free velzon account now</p>#}
</div>
<div class=\"p-2 mt-4\">
{{ form_start(registrationForm) }}
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Nom <span class=\"text-danger\">*</span></label>
{{ form_widget(registrationForm.nom,{'attr':{'class':'form-control ','required':'required','placeholder':\"Entrez nom\"}}) }}
<div class=\"invalid-feedback\">
Veuillez entrer votre nom
</div>
</div>
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Prénom <span class=\"text-danger\">*</span></label>
{{ form_widget(registrationForm.prenom,{'attr':{'class':'form-control ','required':'required','placeholder':\"Entrez prénom\"}}) }}
<div class=\"invalid-feedback\">
Veuillez entrer votre prénom
</div>
</div>
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Adresse <span class=\"text-danger\">*</span></label>
{{ form_widget(registrationForm.address,{'attr':{'class':'form-control ','required':'required','placeholder':\"Entrez adresse\"}}) }}
<div class=\"invalid-feedback\">
Veuillez entrer votre adresse
</div>
</div>
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Téléphone <span class=\"text-danger\">*</span></label>
{{ form_widget(registrationForm.telphone,{'attr':{'class':'form-control ','required':'required','placeholder':\"Entrez téléphone\"}}) }}
<div class=\"invalid-feedback\">
Veuillez entrer votre téléphone
</div>
</div>
<div class=\"mb-3\">
<label for=\"useremail\" class=\"form-label\">Email <span class=\"text-danger\">*</span></label>
{{ form_widget(registrationForm.email,{'attr':{'class':'form-control ','required':'required','placeholder':\"Entrez l'email\"}}) }}
<div class=\"invalid-feedback\">
Veuillez entrer votre adresse e-mail
</div>
</div>
<div class=\"mb-3\">
<label class=\"form-label\" for=\"password-input\">Mot de passe <span class=\"text-danger\">*</span></label>
<div class=\"position-relative auth-pass-inputgroup\">
{{ form_widget(registrationForm.plainPassword,{'attr':{'class':'form-control ','required':'required','placeholder':\"Entrez le mot de passe\"}}) }}
<button class=\"btn btn-link position-absolute end-0 top-0 text-decoration-none text-muted password-addon\" type=\"button\" id=\"password-addon\">
<i class=\"ri-eye-fill align-middle\"></i>
</button>
{# <button class=\"btn btn-link position-absolute end-0 top-0 text-decoration-none text-muted password-addon\" type=\"button\" id=\"password-addon\"><i class=\"ri-eye-fill align-middle\"></i></button>#}
<div class=\"invalid-feedback\">
Veuillez entrer le mot de passe
</div>
</div>
</div>
{# <div class=\"mb-4\">#}
{# <p class=\"mb-0 fs-12 text-muted fst-italic\">By registering you agree to the Velzon <a href=\"#\" class=\"text-primary text-decoration-underline fst-normal fw-medium\">Terms of Use</a></p>#}
{# </div>#}
<div class=\"mt-4\">
<button class=\"btn btn-success w-100\" type=\"submit\">S'inscrire</button>
</div>
{# <div class=\"mt-4 text-center\">#}
{# <div class=\"signin-other-title\">#}
{# <h5 class=\"fs-13 mb-4 title text-muted\">Create account with</h5>#}
{# </div>#}
{# <div>#}
{# <button type=\"button\" class=\"btn btn-primary btn-icon waves-effect waves-light\"><i class=\"ri-facebook-fill fs-16\"></i></button>#}
{# <button type=\"button\" class=\"btn btn-danger btn-icon waves-effect waves-light\"><i class=\"ri-google-fill fs-16\"></i></button>#}
{# <button type=\"button\" class=\"btn btn-dark btn-icon waves-effect waves-light\"><i class=\"ri-github-fill fs-16\"></i></button>#}
{# <button type=\"button\" class=\"btn btn-info btn-icon waves-effect waves-light\"><i class=\"ri-twitter-fill fs-16\"></i></button>#}
{# </div>#}
{# </div>#}
{{ form_end(registrationForm) }}
</div>
</div>
<!-- end card body -->
</div>
<!-- end card -->
<div class=\"mt-4 text-center\">
<p class=\"mb-0\">Vous avez déjà un compte ? <a href=\"{{ path('app_login') }}\" class=\"fw-semibold text-primary text-decoration-underline\"> Se connecter </a> </p>
</div>
</div>
</div>
<!-- end row -->
</div>
<!-- end container -->
</div>
<!-- end auth page content -->
<!-- footer -->
<footer class=\"footer\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"text-center\">
<p class=\"mb-0 text-muted\">©
<script>document.write(new Date().getFullYear())</script> Smart IT Partner
</p>
</div>
</div>
</div>
</div>
</footer>
<!-- end Footer -->
</div>
<!-- end auth-page-wrapper -->
<!-- JAVASCRIPT -->
<script src=\"{{ asset('assets/libs/bootstrap/js/bootstrap.bundle.min.js')}}\"></script>
<script src=\"{{ asset('assets/libs/simplebar/simplebar.min.js')}}\"></script>
<script src=\"{{ asset('assets/libs/node-waves/waves.min.js')}}\"></script>
<script src=\"{{ asset('assets/libs/feather-icons/feather.min.js')}}\"></script>
<script src=\"{{ asset('assets/js/pages/plugins/lord-icon-2.1.0.js')}}\"></script>
<script src=\"{{ asset('assets/js/plugins.js')}}\"></script>
<!-- particles js -->
<script src=\"{{ asset('assets/libs/particles.js/particles.js')}}\"></script>
<!-- particles app js -->
<script src=\"{{ asset('assets/js/pages/particles.app.js')}}\"></script>
<!-- password-addon init -->
<script src=\"{{ asset('assets/js/pages/password-addon.init.js')}}\"></script>
<!-- particles js -->
<!-- particles app js -->
<!-- validation init -->
<script src=\"{{ asset('assets/js/pages/form-validation.init.js')}}\"></script>
<!-- password create init -->
<script src=\"{{ asset('assets/js/pages/passowrd-create.init.js')}}\"></script>
<script>
document.addEventListener(\"DOMContentLoaded\", function () {
// Sélectionner le champ de mot de passe et le bouton
const passwordInput = document.querySelector(\"input[type='password']\");
const passwordToggle = document.querySelector(\"#password-addon\");
if (passwordInput && passwordToggle) { // Vérifie que les éléments existent
passwordToggle.addEventListener(\"click\", function () {
// Basculer le type de l'input entre 'text' et 'password'
if (passwordInput.type === \"password\") {
passwordInput.type = \"text\";
passwordToggle.innerHTML = '<i class=\"ri-eye-off-fill align-middle\"></i>';
} else {
passwordInput.type = \"password\";
passwordToggle.innerHTML = '<i class=\"ri-eye-fill align-middle\"></i>';
}
});
} else {
console.error(\"Champ de mot de passe ou bouton introuvable. Vérifiez les sélecteurs.\");
}
});
</script>
</body>
</html>", "registration/register.html.twig", "/home/ultratexsmartitp/public_html/templates/registration/register.html.twig");
}
}