var/cache/dev/twig/2d/2d2b4f1f1f25f4e5c63e420ac9474e9b.php line 50
<?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;
/* @Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig */
class __TwigTemplate_6f1bf094381d358d29c5e32e16a762a7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-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", "@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig"));
$this->parent = $this->loadTemplate("@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig", "@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-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
public function block_body($context, array $blocks = [])
{
$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 4
yield "
\t<div id=\"subtitle-wrapper\" class=\" lazyloaded\" data-bg=\"";
// line 6
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/ilaveu/laundry/images/subtitle-wrapper01-img.jpg"), "html", null, true);
yield "\" style=\"background-image: url(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/ilaveu/laundry/images/subtitle-wrapper01-img.jpg"), "html", null, true);
yield ");\">
\t\t<div class=\"subtitle-wrapper-img lazyloaded\" data-bg=\"";
// line 7
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/ilaveu/laundry/images/subtitle-wrapper01-img.jpg"), "html", null, true);
yield "\" style=\"background-image: url(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/ilaveu/laundry/images/subtitle-wrapper01-img.jpg"), "html", null, true);
yield ");\">
\t\t\t<div class=\"container container-fluid-xl\">
\t\t\t\t
\t\t\t\t<h1 class=\"subtitle__title\">Se connecter</h1>
\t\t\t</div>
\t\t\t<div class=\"bubbleContainer\">
\t\t\t\t<div class=\"bubble-1\"></div>
\t\t\t\t<div class=\"bubble-2\"></div>
\t\t\t\t<div class=\"bubble-3\"></div>
\t\t\t\t<div class=\"bubble-4\"></div>
\t\t\t\t<div class=\"bubble-5\"></div>
\t\t\t\t<div class=\"bubble-6\"></div>
\t\t\t\t<div class=\"bubble-7\"></div>
\t\t\t\t<div class=\"bubble-8\"></div>
\t\t\t\t<div class=\"bubble-9\"></div>
\t\t\t\t<div class=\"bubble-10\"></div>
\t\t\t</div>
\t\t</div>
\t</div>
<!-- Begin Body Wrapper -->
<div class=\"body-wrapper mt-4 mb-4\">
<!-- Begin Se connecter Content Area -->
<div class=\"page-section mb-60\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-12 col-md-12 col-xs-12 col-lg-5 mb-30 pt-10\">
<!-- Se connecter Form s-->
<h4 >Se connecter</h4>
<form action=\"";
// line 38
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
yield "\" method=\"post\">
";
// line 39
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 39, $this->source); })())) {
// line 40
yield " <div class=\"alert alert-danger\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 40, $this->source); })()), "messageKey", [], "any", false, false, false, 40), CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 40, $this->source); })()), "messageData", [], "any", false, false, false, 40), "security"), "html", null, true);
yield "</div>
";
}
// line 42
yield "
";
// line 43
if (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.', 43, $this->source); })()), "user", [], "any", false, false, false, 43)) {
// line 44
yield " <div class=\"mb-3\">
Vous êtes connecté en tant que ";
// line 45
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "user", [], "any", false, false, false, 45), "username", [], "any", false, false, false, 45), "html", null, true);
yield ", <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
yield "\">Se deconnecter</a>
</div>
";
}
// line 48
yield "
<h1 class=\"h3 mb-3 text-white font-weight-normal\">Connexion</h1>
<label for=\"inputUsername\">Nom d'utilisateur</label>
<input type=\"text\" value=\"";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["last_username"]) || array_key_exists("last_username", $context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.', 52, $this->source); })()), "html", null, true);
yield "\" name=\"username\" id=\"inputUsername\" class=\"form-control\" autocomplete=\"username\" required autofocus>
<label for=\"inputPassword\">Mot de passe</label>
<input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
<input type=\"hidden\" name=\"_csrf_token\"
value=\"";
// line 57
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
yield "\"
>
";
// line 71
yield "
<br>
<button class=\"save-button d-block btn btn-success\" style=\"width: 100%;\" type=\"submit\">
Se connecter
</button>
<hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
<a href=\"";
// line 77
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_google_start");
yield "\" class=\"btn btn-danger mt-1 mb-1 d-block\" ><i class=\"fa-brands fa-google\"></i> Se conneceter avec Google</a>
<a href=\"";
// line 78
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_facebook_start");
yield "\" class=\"btn btn-primary d-block\" ><i class=\"fa-brands fa-facebook\"></i> Se conneceter avec Facebook</a>
<hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
<a class=\"btn btn-primary d-block\" href=\"";
// line 82
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
yield "\" >Mot de passe oublié ou perdu</a>
</form>
</div>
<div class=\"col-sm-12 col-md-12 col-lg-7 col-xs-12\">
<div class=\"card p-4\">
<h4 class=\"login-title\">Choisissez votre compte á créer</h4>
<br>
<div id=\"registerCustomer\" class=\"registerForm\">
";
// line 100
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 100, $this->source); })()), 'form_start', ["attr" => ["data-turbo" => "false"]]);
yield "
<div class=\"row\">
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Vous etes un client <span class=\"required\">*</span></label>
";
// line 106
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 106, $this->source); })()), "customerGroup", [], "any", false, false, false, 106), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Prénom <span class=\"required\">*</span></label>
";
// line 113
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 113, $this->source); })()), "firstName", [], "any", false, false, false, 113), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom <span class=\"required\">*</span></label>
";
// line 120
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 120, $this->source); })()), "lastName", [], "any", false, false, false, 120), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Email <span class=\"required\">*</span></label>
";
// line 128
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 128, $this->source); })()), "email", [], "any", false, false, false, 128), 'errors');
yield "
";
// line 129
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 129, $this->source); })()), "email", [], "any", false, false, false, 129), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Mot de passe <span class=\"required\">*</span></label>
";
// line 135
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 135, $this->source); })()), "user", [], "any", false, false, false, 135), "password", [], "any", false, false, false, 135), 'widget');
yield "
</div>
</div>
<!--<div class=\"col-6\" >";
// line 139
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 139, $this->source); })()), "companyName", [], "any", false, false, false, 139), 'row');
yield "</div>-->
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Genre <span class=\"required\">*</span></label>
";
// line 144
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 144, $this->source); })()), "gender", [], "any", false, false, false, 144), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Adresse <span class=\"required\">*</span></label>
";
// line 154
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 154, $this->source); })()), "address", [], "any", false, false, false, 154), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >";
// line 158
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 158, $this->source); })()), "addressIndication", [], "any", false, false, false, 158), 'row');
yield "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Téléphone <span class=\"required\">*</span></label>
";
// line 163
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 163, $this->source); })()), "phone", [], "any", false, false, false, 163), 'errors');
yield "
";
// line 164
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 164, $this->source); })()), "phone", [], "any", false, false, false, 164), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >";
// line 169
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 169, $this->source); })()), "dateOfBirth", [], "any", false, false, false, 169), 'row');
yield "</div>
<div class=\"col-6\" >";
// line 170
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 170, $this->source); })()), "postCode", [], "any", false, false, false, 170), 'row');
yield "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Code Parrainage </label>
";
// line 177
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 177, $this->source); })()), "sponsorshipCode", [], "any", false, false, false, 177), 'widget');
yield "
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Vous souhaitez recevoir des nouvelles par mail ? </label>
";
// line 187
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 187, $this->source); })()), "canReceiveMails", [], "any", false, false, false, 187), 'widget');
yield "
</div>
<div class=\"checkout-form-list\">
<label>Vous souhaitez recevoir des nouvelles par SMS ? </label>
";
// line 192
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 192, $this->source); })()), "canReceiveSms", [], "any", false, false, false, 192), 'widget');
yield "
</div>
<div class=\"checkout-form-list\">
<label>Accepter les conditions génerales <span class=\"required\">*</span> ";
// line 195
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 195, $this->source); })()), "agreeTerms", [], "any", false, false, false, 195), 'widget');
yield "</label>
</div>
</div>
</div>
";
// line 209
yield " ";
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 209, $this->source); })()), 'rest');
yield "
</br>
<button type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
";
// line 212
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 212, $this->source); })()), 'form_end');
yield "
</div>
<div id=\"registerVendor\" class=\"d-none registerForm\">
";
// line 216
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 216, $this->source); })()), 'form_start');
yield "
<div class=\"row\">
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom de l'entreprise <span class=\"required\">*</span></label>
";
// line 223
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 223, $this->source); })()), "name", [], "any", false, false, false, 223), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom et prénom de contact<span class=\"required\">*</span></label>
";
// line 231
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 231, $this->source); })()), "fullName", [], "any", false, false, false, 231), 'widget');
yield "
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Adresse <span class=\"required\">*</span></label>
";
// line 237
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 237, $this->source); })()), "address", [], "any", false, false, false, 237), 'widget');
yield "
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Email<span class=\"required\">*</span></label>
";
// line 244
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 244, $this->source); })()), "email", [], "any", false, false, false, 244), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Ville<span class=\"required\">*</span></label>
";
// line 250
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 250, $this->source); })()), "city", [], "any", false, false, false, 250), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Téléphone<span class=\"required\">*</span></label>
";
// line 256
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 256, $this->source); })()), "tel", [], "any", false, false, false, 256), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant Commun Entreprise <span class=\"required\">*</span></label>
";
// line 263
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 263, $this->source); })()), "ICE", [], "any", false, false, false, 263), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >";
// line 266
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 266, $this->source); })()), "imageIceFile", [], "any", false, false, false, 266), 'row');
yield "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Registre du Commerce <span class=\"required\">*</span></label>
";
// line 270
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 270, $this->source); })()), "RC", [], "any", false, false, false, 270), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >";
// line 273
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 273, $this->source); })()), "imageRCFile", [], "any", false, false, false, 273), 'row');
yield "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant Fiscale <span class=\"required\">*</span></label>
";
// line 277
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 277, $this->source); })()), "IdentifiantFiscale", [], "any", false, false, false, 277), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >";
// line 280
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 280, $this->source); })()), "imageIFFile", [], "any", false, false, false, 280), 'row');
yield "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant <span class=\"required\">*</span></label>
";
// line 284
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 284, $this->source); })()), "simulateUsername", [], "any", false, false, false, 284), 'widget');
yield "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Mot de passe <span class=\"required\">*</span></label>
";
// line 290
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 290, $this->source); })()), "simulatePassword", [], "any", false, false, false, 290), 'widget');
yield "
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Accepter les conditions génerales <span class=\"required\">*</span> ";
// line 298
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 298, $this->source); })()), "agreeTerms", [], "any", false, false, false, 298), 'widget');
yield "</label>
</div>
</div>
</div>
";
// line 312
yield " </br>
<button type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
";
// line 314
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 314, $this->source); })()), 'form_end');
yield "
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Se connecter Content Area End Here -->
</div>
<!-- Body Wrapper End Here -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 334
public function block_javascripts($context, array $blocks = [])
{
$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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 335
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script>
function isMobileDevice() {
return /Mobi/i.test(navigator.userAgent);
}
function isAndroid() {
return /Android/i.test(navigator.userAgent);
}
function isiOS() {
return /iPhone|iPad|iPod/i.test(navigator.userAgent);
}
// Usage
";
// line 355
if (array_key_exists("order", $context)) {
// line 356
yield "
";
// line 357
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["order"]) || array_key_exists("order", $context) ? $context["order"] : (function () { throw new RuntimeError('Variable "order" does not exist.', 357, $this->source); })()), "source", [], "any", false, false, false, 357) == "mobile")) {
// line 358
yield "if (isMobileDevice()) {
// Example usage
if (isAndroid()) {
window.location.href = \"";
// line 365
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 365, $this->source); })()), "get", [], "any", false, false, false, 365), "mobileAppSchemeAndroid", [], "any", false, false, false, 365), "html", null, true);
yield "?path=/myaccount/successUpdatePassword\";
window.close();
} else if (isiOS()) {
window.location.href = \"";
// line 368
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 368, $this->source); })()), "get", [], "any", false, false, false, 368), "mobileAppSchemeIOS", [], "any", false, false, false, 368), "html", null, true);
yield "?path=/myaccount/successUpdatePassword\";
window.close();
}
}
";
}
// line 376
yield "
";
}
// line 378
yield "
</script>
<script>
\$(document).ready(function()
{
\$(\"#select-account\").change(function(){
var selectedAccount = \$(this).val();
\$(\".registerForm\").addClass(\"d-none\");
\$(\"#\"+selectedAccount).removeClass(\"d-none\");
});
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 619 => 378, 615 => 376, 604 => 368, 598 => 365, 589 => 358, 587 => 357, 584 => 356, 582 => 355, 559 => 335, 549 => 334, 519 => 314, 515 => 312, 505 => 298, 494 => 290, 485 => 284, 478 => 280, 472 => 277, 465 => 273, 459 => 270, 452 => 266, 446 => 263, 436 => 256, 427 => 250, 418 => 244, 408 => 237, 399 => 231, 388 => 223, 378 => 216, 371 => 212, 364 => 209, 354 => 195, 348 => 192, 340 => 187, 327 => 177, 317 => 170, 313 => 169, 305 => 164, 301 => 163, 293 => 158, 286 => 154, 273 => 144, 265 => 139, 258 => 135, 249 => 129, 245 => 128, 234 => 120, 224 => 113, 214 => 106, 205 => 100, 184 => 82, 177 => 78, 173 => 77, 165 => 71, 158 => 57, 150 => 52, 144 => 48, 136 => 45, 133 => 44, 131 => 43, 128 => 42, 122 => 40, 120 => 39, 116 => 38, 80 => 7, 74 => 6, 70 => 4, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig' %}
{% block body %}
\t<div id=\"subtitle-wrapper\" class=\" lazyloaded\" data-bg=\"{{asset('themes/ilaveu/laundry/images/subtitle-wrapper01-img.jpg')}}\" style=\"background-image: url({{asset('themes/ilaveu/laundry/images/subtitle-wrapper01-img.jpg')}});\">
\t\t<div class=\"subtitle-wrapper-img lazyloaded\" data-bg=\"{{asset('themes/ilaveu/laundry/images/subtitle-wrapper01-img.jpg')}}\" style=\"background-image: url({{asset('themes/ilaveu/laundry/images/subtitle-wrapper01-img.jpg')}});\">
\t\t\t<div class=\"container container-fluid-xl\">
\t\t\t\t
\t\t\t\t<h1 class=\"subtitle__title\">Se connecter</h1>
\t\t\t</div>
\t\t\t<div class=\"bubbleContainer\">
\t\t\t\t<div class=\"bubble-1\"></div>
\t\t\t\t<div class=\"bubble-2\"></div>
\t\t\t\t<div class=\"bubble-3\"></div>
\t\t\t\t<div class=\"bubble-4\"></div>
\t\t\t\t<div class=\"bubble-5\"></div>
\t\t\t\t<div class=\"bubble-6\"></div>
\t\t\t\t<div class=\"bubble-7\"></div>
\t\t\t\t<div class=\"bubble-8\"></div>
\t\t\t\t<div class=\"bubble-9\"></div>
\t\t\t\t<div class=\"bubble-10\"></div>
\t\t\t</div>
\t\t</div>
\t</div>
<!-- Begin Body Wrapper -->
<div class=\"body-wrapper mt-4 mb-4\">
<!-- Begin Se connecter Content Area -->
<div class=\"page-section mb-60\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-12 col-md-12 col-xs-12 col-lg-5 mb-30 pt-10\">
<!-- Se connecter Form s-->
<h4 >Se connecter</h4>
<form action=\"{{path('login')}}\" method=\"post\">
{% if error %}
<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
{% if app.user %}
<div class=\"mb-3\">
Vous êtes connecté en tant que {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\">Se deconnecter</a>
</div>
{% endif %}
<h1 class=\"h3 mb-3 text-white font-weight-normal\">Connexion</h1>
<label for=\"inputUsername\">Nom d'utilisateur</label>
<input type=\"text\" value=\"{{ last_username }}\" name=\"username\" id=\"inputUsername\" class=\"form-control\" autocomplete=\"username\" required autofocus>
<label for=\"inputPassword\">Mot de passe</label>
<input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
<input type=\"hidden\" name=\"_csrf_token\"
value=\"{{ csrf_token('authenticate') }}\"
>
{#
Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
See https://symfony.com/doc/current/security/remember_me.html
<div class=\"checkbox mb-3\">
<label>
<input type=\"checkbox\" name=\"_remember_me\"> Remember me
</label>
</div>
#}
<br>
<button class=\"save-button d-block btn btn-success\" style=\"width: 100%;\" type=\"submit\">
Se connecter
</button>
<hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
<a href=\"{{path('connect_google_start')}}\" class=\"btn btn-danger mt-1 mb-1 d-block\" ><i class=\"fa-brands fa-google\"></i> Se conneceter avec Google</a>
<a href=\"{{path('connect_facebook_start')}}\" class=\"btn btn-primary d-block\" ><i class=\"fa-brands fa-facebook\"></i> Se conneceter avec Facebook</a>
<hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
<a class=\"btn btn-primary d-block\" href=\"{{path(\"app_forgot_password_request\")}}\" >Mot de passe oublié ou perdu</a>
</form>
</div>
<div class=\"col-sm-12 col-md-12 col-lg-7 col-xs-12\">
<div class=\"card p-4\">
<h4 class=\"login-title\">Choisissez votre compte á créer</h4>
<br>
<div id=\"registerCustomer\" class=\"registerForm\">
{{ form_start(registrationCustomerForm,{attr:{\"data-turbo\":\"false\"}}) }}
<div class=\"row\">
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Vous etes un client <span class=\"required\">*</span></label>
{{ form_widget(registrationCustomerForm.customerGroup) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Prénom <span class=\"required\">*</span></label>
{{ form_widget(registrationCustomerForm.firstName) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom <span class=\"required\">*</span></label>
{{ form_widget(registrationCustomerForm.lastName) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Email <span class=\"required\">*</span></label>
{{ form_errors(registrationCustomerForm.email) }}
{{ form_widget(registrationCustomerForm.email) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Mot de passe <span class=\"required\">*</span></label>
{{ form_widget(registrationCustomerForm.user.password) }}
</div>
</div>
<!--<div class=\"col-6\" >{{ form_row(registrationCustomerForm.companyName) }}</div>-->
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Genre <span class=\"required\">*</span></label>
{{ form_widget(registrationCustomerForm.gender) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Adresse <span class=\"required\">*</span></label>
{{ form_widget(registrationCustomerForm.address) }}
</div>
</div>
<div class=\"col-6\" >{{ form_row(registrationCustomerForm.addressIndication) }}</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Téléphone <span class=\"required\">*</span></label>
{{ form_errors(registrationCustomerForm.phone) }}
{{ form_widget(registrationCustomerForm.phone) }}
</div>
</div>
<div class=\"col-6\" >{{ form_row(registrationCustomerForm.dateOfBirth) }}</div>
<div class=\"col-6\" >{{ form_row(registrationCustomerForm.postCode) }}</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Code Parrainage </label>
{{ form_widget(registrationCustomerForm.sponsorshipCode) }}
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Vous souhaitez recevoir des nouvelles par mail ? </label>
{{ form_widget(registrationCustomerForm.canReceiveMails) }}
</div>
<div class=\"checkout-form-list\">
<label>Vous souhaitez recevoir des nouvelles par SMS ? </label>
{{ form_widget(registrationCustomerForm.canReceiveSms) }}
</div>
<div class=\"checkout-form-list\">
<label>Accepter les conditions génerales <span class=\"required\">*</span> {{ form_widget(registrationCustomerForm.agreeTerms) }}</label>
</div>
</div>
</div>
{#
{{ form_row(registrationForm.username) }}
{{ form_row(registrationForm.plainPassword, {
label: 'Password'
}) }}
{{ form_row(registrationForm.agreeTerms) }}
#}
{{ form_rest(registrationCustomerForm) }}
</br>
<button type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
{{ form_end(registrationCustomerForm) }}
</div>
<div id=\"registerVendor\" class=\"d-none registerForm\">
{{ form_start(registrationVendorForm) }}
<div class=\"row\">
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom de l'entreprise <span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.name) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom et prénom de contact<span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.fullName) }}
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Adresse <span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.address) }}
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Email<span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.email) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Ville<span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.city) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Téléphone<span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.tel) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant Commun Entreprise <span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.ICE) }}
</div>
</div>
<div class=\"col-6\" >{{ form_row(registrationVendorForm.imageIceFile) }}</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Registre du Commerce <span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.RC) }}
</div>
</div>
<div class=\"col-6\" >{{ form_row(registrationVendorForm.imageRCFile) }}</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant Fiscale <span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.IdentifiantFiscale) }}
</div>
</div>
<div class=\"col-6\" >{{ form_row(registrationVendorForm.imageIFFile) }}</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant <span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.simulateUsername) }}
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Mot de passe <span class=\"required\">*</span></label>
{{ form_widget(registrationVendorForm.simulatePassword) }}
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Accepter les conditions génerales <span class=\"required\">*</span> {{ form_widget(registrationVendorForm.agreeTerms) }}</label>
</div>
</div>
</div>
{#
{{ form_row(registrationForm.username) }}
{{ form_row(registrationForm.plainPassword, {
label: 'Password'
}) }}
{{ form_row(registrationForm.agreeTerms) }}
#}
</br>
<button type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
{{ form_end(registrationVendorForm) }}
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Se connecter Content Area End Here -->
</div>
<!-- Body Wrapper End Here -->
{% endblock %}
{% block javascripts %}
{{parent()}}
<script>
function isMobileDevice() {
return /Mobi/i.test(navigator.userAgent);
}
function isAndroid() {
return /Android/i.test(navigator.userAgent);
}
function isiOS() {
return /iPhone|iPad|iPod/i.test(navigator.userAgent);
}
// Usage
{% if order is defined %}
{% if order.source == \"mobile\" %}
if (isMobileDevice()) {
// Example usage
if (isAndroid()) {
window.location.href = \"{{settings.get.mobileAppSchemeAndroid}}?path=/myaccount/successUpdatePassword\";
window.close();
} else if (isiOS()) {
window.location.href = \"{{settings.get.mobileAppSchemeIOS}}?path=/myaccount/successUpdatePassword\";
window.close();
}
}
{% endif %}
{% endif %}
</script>
<script>
\$(document).ready(function()
{
\$(\"#select-account\").change(function(){
var selectedAccount = \$(this).val();
\$(\".registerForm\").addClass(\"d-none\");
\$(\"#\"+selectedAccount).removeClass(\"d-none\");
});
});
</script>
{% endblock %}
", "@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig", "/home/gebcloud/public_html/ilaveu/src/Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig");
}
}