var/cache/dev/twig/5e/5e20003018558501481d9d0938ac436a.php line 39
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/CoWorking/templates/myaccount/login-register.html.twig */
class __TwigTemplate_00bb6e8628bfaac76ae1dbec10270904 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/CoWorking/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/CoWorking/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/CoWorking/templates/myaccount/login-register.html.twig"));
$this->parent = $this->loadTemplate("@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig", "@Flexy/FrontBundle/Themes/CoWorking/templates/myaccount/login-register.html.twig", 1);
$this->parent->display($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
echo "
<!-- 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 col-sm-9\" style=\"padding: 23px 51px !important\" >
";
// line 16
if ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 16, $this->source); })())) {
// line 17
echo " <svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none;\">
<symbol id=\"check-circle-fill\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z\"/>
</symbol>
<symbol id=\"info-fill\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z\"/>
</symbol>
<symbol id=\"exclamation-triangle-fill\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z\"/>
</symbol>
</svg>
<div class=\"alert alert-warning alert-dismissible fade show text-center\" role=\"alert\">
<strong> <svg class=\"bi flex-shrink-0 me-2\" width=\"24\" height=\"24\" role=\"img\" aria-label=\"Warning:\"><use xlink:href=\"#exclamation-triangle-fill\"/></svg>
Important ! </strong> ";
// line 31
echo twig_escape_filter($this->env, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 31, $this->source); })()), "html", null, true);
echo " .
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>
</div>
";
}
// line 39
echo " <div class=\"row col-sm-6 mx-auto\" >
<div class=\"col-sm-12 col-md-12 col-xs-12 col-lg-12 mb-30 p-50 \">
<!-- Se connecter Form s-->
<h4 style=\"text-align: center;\">Connectez-vous </h4>
<form action=\"";
// line 48
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\" method=\"post\">
";
// line 49
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 49, $this->source); })())) {
// line 50
echo " <div class=\"alert alert-danger\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 50, $this->source); })()), "messageKey", [], "any", false, false, false, 50), twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 50, $this->source); })()), "messageData", [], "any", false, false, false, 50), "security"), "html", null, true);
echo "</div>
";
}
// line 52
echo "
";
// line 53
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "user", [], "any", false, false, false, 53)) {
// line 54
echo " <div class=\"mb-3\">
Vous êtes connecté en tant que ";
// line 55
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 55, $this->source); })()), "user", [], "any", false, false, false, 55), "username", [], "any", false, false, false, 55), "html", null, true);
echo ", <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\">Se deconnecter</a>
</div>
";
}
// line 58
echo "
<h1 class=\"h3 mb-3 text-white font-weight-normal\">Connexion</h1>
<label for=\"inputUsername\">Nom d'utilisateur</label>
<input type=\"text\" value=\"";
// line 62
echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username", $context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.', 62, $this->source); })()), "html", null, true);
echo "\" 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 67
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\"
>
";
// line 81
echo "
<p> Nouveau sur Cowork&live ? <a href=\"";
// line 83
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registre");
echo "\"> Inscrivez-vous!</a> </p>
<br>
<button class=\"save-button d-block btn btn-dark\" style=\"width: 100%;\" type=\"submit\">
Se connecter
</button>
<!-- <hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
<a href=\"";
// line 92
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_google_start");
echo "\" 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 93
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_facebook_start");
echo "\" 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-warning d-block\" href=\"";
// line 97
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
echo "\" >Mot de passe oublié ou perdu</a>
</form>
</div>
<!-- <div class=\"col-sm-12 col-md-12 col-lg-12 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 115
echo $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.', 115, $this->source); })()), 'form_start', ["attr" => ["data-turbo" => "false"]]);
echo "
<div class=\"row\">
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Vous etes un client <span class=\"required\">*</span></label>
";
// line 121
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 121, $this->source); })()), "customerGroup", [], "any", false, false, false, 121), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Prénom <span class=\"required\">*</span></label>
";
// line 128
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($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); })()), "firstName", [], "any", false, false, false, 128), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom <span class=\"required\">*</span></label>
";
// line 135
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($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); })()), "lastName", [], "any", false, false, false, 135), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Email <span class=\"required\">*</span></label>
";
// line 143
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 143, $this->source); })()), "email", [], "any", false, false, false, 143), 'errors');
echo "
";
// line 144
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($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); })()), "email", [], "any", false, false, false, 144), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Mot de passe <span class=\"required\">*</span></label>
";
// line 150
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 150, $this->source); })()), "user", [], "any", false, false, false, 150), "password", [], "any", false, false, false, 150), 'widget');
echo "
</div>
</div>
<!--<div class=\"col-6\" >";
// line 154
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($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); })()), "companyName", [], "any", false, false, false, 154), 'row');
echo "</div>-->
<!-- <div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Genre <span class=\"required\">*</span></label>
";
// line 159
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 159, $this->source); })()), "gender", [], "any", false, false, false, 159), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Adresse <span class=\"required\">*</span></label>
";
// line 169
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($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); })()), "address", [], "any", false, false, false, 169), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >";
// line 173
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 173, $this->source); })()), "addressIndication", [], "any", false, false, false, 173), 'row');
echo "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Téléphone <span class=\"required\">*</span></label>
";
// line 178
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 178, $this->source); })()), "phone", [], "any", false, false, false, 178), 'errors');
echo "
";
// line 179
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 179, $this->source); })()), "phone", [], "any", false, false, false, 179), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >";
// line 184
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 184, $this->source); })()), "dateOfBirth", [], "any", false, false, false, 184), 'row');
echo "</div>
<div class=\"col-6\" >";
// line 185
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 185, $this->source); })()), "postCode", [], "any", false, false, false, 185), 'row');
echo "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Code Parrainage </label>
";
// line 192
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($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); })()), "sponsorshipCode", [], "any", false, false, false, 192), 'widget');
echo "
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Vous souhaitez recevoir des nouvelles par mail ? </label>
";
// line 202
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 202, $this->source); })()), "canReceiveMails", [], "any", false, false, false, 202), 'widget');
echo "
</div>
<div class=\"checkout-form-list\">
<label>Vous souhaitez recevoir des nouvelles par SMS ? </label>
";
// line 207
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 207, $this->source); })()), "canReceiveSms", [], "any", false, false, false, 207), 'widget');
echo "
</div>
<div class=\"checkout-form-list\">
<label>Accepter les conditions génerales <span class=\"required\">*</span> ";
// line 210
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationCustomerForm"]) || array_key_exists("registrationCustomerForm", $context) ? $context["registrationCustomerForm"] : (function () { throw new RuntimeError('Variable "registrationCustomerForm" does not exist.', 210, $this->source); })()), "agreeTerms", [], "any", false, false, false, 210), 'widget');
echo "</label>
</div>
</div>
</div>
";
// line 224
echo " ";
echo $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.', 224, $this->source); })()), 'rest');
echo "
</br>
<button type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
";
// line 227
echo $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.', 227, $this->source); })()), 'form_end');
echo "
</div>
<div id=\"registerVendor\" class=\"d-none registerForm\">
";
// line 231
echo $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.', 231, $this->source); })()), 'form_start');
echo "
<div class=\"row\">
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom de l'entreprise <span class=\"required\">*</span></label>
";
// line 238
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 238, $this->source); })()), "name", [], "any", false, false, false, 238), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Nom et prénom de contact<span class=\"required\">*</span></label>
";
// line 246
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 246, $this->source); })()), "fullName", [], "any", false, false, false, 246), 'widget');
echo "
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Adresse <span class=\"required\">*</span></label>
";
// line 252
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 252, $this->source); })()), "address", [], "any", false, false, false, 252), 'widget');
echo "
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Email<span class=\"required\">*</span></label>
";
// line 259
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 259, $this->source); })()), "email", [], "any", false, false, false, 259), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Ville<span class=\"required\">*</span></label>
";
// line 265
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 265, $this->source); })()), "city", [], "any", false, false, false, 265), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Téléphone<span class=\"required\">*</span></label>
";
// line 271
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 271, $this->source); })()), "tel", [], "any", false, false, false, 271), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant Commun Entreprise <span class=\"required\">*</span></label>
";
// line 278
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 278, $this->source); })()), "ICE", [], "any", false, false, false, 278), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >";
// line 281
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 281, $this->source); })()), "imageIceFile", [], "any", false, false, false, 281), 'row');
echo "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Registre du Commerce <span class=\"required\">*</span></label>
";
// line 285
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 285, $this->source); })()), "RC", [], "any", false, false, false, 285), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >";
// line 288
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 288, $this->source); })()), "imageRCFile", [], "any", false, false, false, 288), 'row');
echo "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant Fiscale <span class=\"required\">*</span></label>
";
// line 292
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 292, $this->source); })()), "IdentifiantFiscale", [], "any", false, false, false, 292), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >";
// line 295
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 295, $this->source); })()), "imageIFFile", [], "any", false, false, false, 295), 'row');
echo "</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Identifiant <span class=\"required\">*</span></label>
";
// line 299
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 299, $this->source); })()), "simulateUsername", [], "any", false, false, false, 299), 'widget');
echo "
</div>
</div>
<div class=\"col-6\" >
<div class=\"checkout-form-list\">
<label>Mot de passe <span class=\"required\">*</span></label>
";
// line 305
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 305, $this->source); })()), "simulatePassword", [], "any", false, false, false, 305), 'widget');
echo "
</div>
</div>
<div class=\"col-12\" >
<div class=\"checkout-form-list\">
<label>Accepter les conditions génerales <span class=\"required\">*</span> ";
// line 313
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registrationVendorForm"]) || array_key_exists("registrationVendorForm", $context) ? $context["registrationVendorForm"] : (function () { throw new RuntimeError('Variable "registrationVendorForm" does not exist.', 313, $this->source); })()), "agreeTerms", [], "any", false, false, false, 313), 'widget');
echo "</label>
</div>
</div>
</div>
";
// line 327
echo " </br>
<button type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
";
// line 329
echo $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.', 329, $this->source); })()), 'form_end');
echo "
</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);
}
// line 349
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 350
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<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 370
if (array_key_exists("order", $context)) {
// line 371
echo "
";
// line 372
if ((twig_get_attribute($this->env, $this->source, (isset($context["order"]) || array_key_exists("order", $context) ? $context["order"] : (function () { throw new RuntimeError('Variable "order" does not exist.', 372, $this->source); })()), "source", [], "any", false, false, false, 372) == "mobile")) {
// line 373
echo "if (isMobileDevice()) {
// Example usage
if (isAndroid()) {
window.location.href = \"";
// line 380
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 380, $this->source); })()), "get", [], "any", false, false, false, 380), "mobileAppSchemeAndroid", [], "any", false, false, false, 380), "html", null, true);
echo "?path=/myaccount/successUpdatePassword\";
window.close();
} else if (isiOS()) {
window.location.href = \"";
// line 383
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 383, $this->source); })()), "get", [], "any", false, false, false, 383), "mobileAppSchemeIOS", [], "any", false, false, false, 383), "html", null, true);
echo "?path=/myaccount/successUpdatePassword\";
window.close();
}
}
";
}
// line 391
echo "
";
}
// line 393
echo "
</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);
}
public function getTemplateName()
{
return "@Flexy/FrontBundle/Themes/CoWorking/templates/myaccount/login-register.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 633 => 393, 629 => 391, 618 => 383, 612 => 380, 603 => 373, 601 => 372, 598 => 371, 596 => 370, 573 => 350, 563 => 349, 534 => 329, 530 => 327, 520 => 313, 509 => 305, 500 => 299, 493 => 295, 487 => 292, 480 => 288, 474 => 285, 467 => 281, 461 => 278, 451 => 271, 442 => 265, 433 => 259, 423 => 252, 414 => 246, 403 => 238, 393 => 231, 386 => 227, 379 => 224, 369 => 210, 363 => 207, 355 => 202, 342 => 192, 332 => 185, 328 => 184, 320 => 179, 316 => 178, 308 => 173, 301 => 169, 288 => 159, 280 => 154, 273 => 150, 264 => 144, 260 => 143, 249 => 135, 239 => 128, 229 => 121, 220 => 115, 199 => 97, 192 => 93, 188 => 92, 176 => 83, 172 => 81, 165 => 67, 157 => 62, 151 => 58, 143 => 55, 140 => 54, 138 => 53, 135 => 52, 129 => 50, 127 => 49, 123 => 48, 112 => 39, 101 => 31, 85 => 17, 83 => 16, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig' %}
{% block body %}
<!-- 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 col-sm-9\" style=\"padding: 23px 51px !important\" >
{% if message %}
<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none;\">
<symbol id=\"check-circle-fill\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z\"/>
</symbol>
<symbol id=\"info-fill\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z\"/>
</symbol>
<symbol id=\"exclamation-triangle-fill\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z\"/>
</symbol>
</svg>
<div class=\"alert alert-warning alert-dismissible fade show text-center\" role=\"alert\">
<strong> <svg class=\"bi flex-shrink-0 me-2\" width=\"24\" height=\"24\" role=\"img\" aria-label=\"Warning:\"><use xlink:href=\"#exclamation-triangle-fill\"/></svg>
Important ! </strong> {{ message }} .
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>
</div>
{% endif %}
<div class=\"row col-sm-6 mx-auto\" >
<div class=\"col-sm-12 col-md-12 col-xs-12 col-lg-12 mb-30 p-50 \">
<!-- Se connecter Form s-->
<h4 style=\"text-align: center;\">Connectez-vous </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>
#}
<p> Nouveau sur Cowork&live ? <a href=\"{{path('registre')}}\"> Inscrivez-vous!</a> </p>
<br>
<button class=\"save-button d-block btn btn-dark\" 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-warning 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-12 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/CoWorking/templates/myaccount/login-register.html.twig", "/home/gebcloud/public_html/cowork.gebanalysis.cloud/src/Flexy/FrontBundle/Themes/CoWorking/templates/myaccount/login-register.html.twig");
}
}