var/cache/dev/twig/2d/2d2b4f1f1f25f4e5c63e420ac9474e9b.php line 50

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* @Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig */
  15. class __TwigTemplate_6f1bf094381d358d29c5e32e16a762a7 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig"));
  40.         $this->parent $this->loadTemplate("@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig""@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_body($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  55.         // line 4
  56.         yield "
  57. \t<div id=\"subtitle-wrapper\" class=\" lazyloaded\" data-bg=\"";
  58.         // line 6
  59.         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"nulltrue);
  60.         yield "\" style=\"background-image: url(";
  61.         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"nulltrue);
  62.         yield ");\">
  63. \t\t<div class=\"subtitle-wrapper-img lazyloaded\" data-bg=\"";
  64.         // line 7
  65.         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"nulltrue);
  66.         yield "\" style=\"background-image: url(";
  67.         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"nulltrue);
  68.         yield ");\">
  69. \t\t\t<div class=\"container container-fluid-xl\">
  70. \t\t\t\t
  71. \t\t\t\t<h1 class=\"subtitle__title\">Se connecter</h1>
  72. \t\t\t</div>
  73. \t\t\t<div class=\"bubbleContainer\">
  74. \t\t\t\t<div class=\"bubble-1\"></div>
  75. \t\t\t\t<div class=\"bubble-2\"></div>
  76. \t\t\t\t<div class=\"bubble-3\"></div>
  77. \t\t\t\t<div class=\"bubble-4\"></div>
  78. \t\t\t\t<div class=\"bubble-5\"></div>
  79. \t\t\t\t<div class=\"bubble-6\"></div>
  80. \t\t\t\t<div class=\"bubble-7\"></div>
  81. \t\t\t\t<div class=\"bubble-8\"></div>
  82. \t\t\t\t<div class=\"bubble-9\"></div>
  83. \t\t\t\t<div class=\"bubble-10\"></div>
  84. \t\t\t</div>
  85. \t\t</div>
  86. \t</div>
  87.         <!-- Begin Body Wrapper -->
  88.         <div class=\"body-wrapper mt-4 mb-4\">
  89.   
  90.             
  91.             <!-- Begin Se connecter Content Area -->
  92.             <div class=\"page-section mb-60\">
  93.                 <div class=\"container\">
  94.                     <div class=\"row\">
  95.                         <div class=\"col-sm-12 col-md-12 col-xs-12 col-lg-5 mb-30 pt-10\">
  96.                             <!-- Se connecter Form s-->
  97.                         <h4 >Se connecter</h4>
  98.                             <form action=\"";
  99.         // line 38
  100.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  101.         yield "\" method=\"post\">
  102.     ";
  103.         // line 39
  104.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'39$this->source); })())) {
  105.             // line 40
  106.             yield "        <div class=\"alert alert-danger\">";
  107.             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"falsefalsefalse40), 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"falsefalsefalse40), "security"), "html"nulltrue);
  108.             yield "</div>
  109.     ";
  110.         }
  111.         // line 42
  112.         yield "
  113.     ";
  114.         // line 43
  115.         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"falsefalsefalse43)) {
  116.             // line 44
  117.             yield "        <div class=\"mb-3\">
  118.             Vous êtes connecté en tant que ";
  119.             // line 45
  120.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse45), "username", [], "any"falsefalsefalse45), "html"nulltrue);
  121.             yield ", <a href=\"";
  122.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  123.             yield "\">Se deconnecter</a>
  124.         </div>
  125.     ";
  126.         }
  127.         // line 48
  128.         yield "
  129.     <h1 class=\"h3 mb-3 text-white font-weight-normal\">Connexion</h1>
  130.     <label for=\"inputUsername\">Nom d'utilisateur</label>
  131.     <input type=\"text\" value=\"";
  132.         // line 52
  133.         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"nulltrue);
  134.         yield "\" name=\"username\" id=\"inputUsername\" class=\"form-control\" autocomplete=\"username\" required autofocus>
  135.     <label for=\"inputPassword\">Mot de passe</label>
  136.     <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
  137.     <input type=\"hidden\" name=\"_csrf_token\"
  138.            value=\"";
  139.         // line 57
  140.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  141.         yield "\"
  142.     >
  143.    
  144.     ";
  145.         // line 71
  146.         yield "    
  147.     <br>
  148.     <button class=\"save-button d-block btn btn-success\"  style=\"width: 100%;\" type=\"submit\">
  149.         Se connecter
  150.     </button>
  151.      <hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
  152.      <a href=\"";
  153.         // line 77
  154.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_google_start");
  155.         yield "\" class=\"btn btn-danger mt-1 mb-1 d-block\" ><i class=\"fa-brands fa-google\"></i> Se conneceter avec Google</a>
  156.      <a href=\"";
  157.         // line 78
  158.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_facebook_start");
  159.         yield "\" class=\"btn btn-primary  d-block\" ><i class=\"fa-brands fa-facebook\"></i> Se conneceter avec Facebook</a>
  160. <hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
  161.     <a class=\"btn btn-primary d-block\" href=\"";
  162.         // line 82
  163.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
  164.         yield "\" >Mot de passe oublié ou perdu</a>
  165.     </form>
  166.     
  167.                             
  168.                         </div>
  169.                         <div class=\"col-sm-12 col-md-12 col-lg-7 col-xs-12\">
  170.                             <div class=\"card p-4\">
  171.                             
  172.                             <h4 class=\"login-title\">Choisissez votre compte á créer</h4>
  173.                             
  174.                             <br>
  175.                                      <div id=\"registerCustomer\" class=\"registerForm\">
  176.                                         ";
  177.         // line 100
  178.         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"]]);
  179.         yield "
  180.                                         <div class=\"row\">
  181.                                         <div class=\"col-12\" >
  182.                                                 <div class=\"checkout-form-list\">
  183.                                                     <label>Vous etes un client <span class=\"required\">*</span></label>
  184.                                                      ";
  185.         // line 106
  186.         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"falsefalsefalse106), 'widget');
  187.         yield "
  188.                                                    </div>
  189.                                                
  190.                                                 </div>
  191.                                             <div class=\"col-6\" >
  192.                                                 <div class=\"checkout-form-list\">
  193.                                                     <label>Prénom <span class=\"required\">*</span></label>
  194.                                                      ";
  195.         // line 113
  196.         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"falsefalsefalse113), 'widget');
  197.         yield "
  198.                                                    </div>
  199.                                                
  200.                                                 </div>
  201.                                             <div class=\"col-6\" >
  202.                                                 <div class=\"checkout-form-list\">
  203.                                                     <label>Nom <span class=\"required\">*</span></label>
  204.                                                      ";
  205.         // line 120
  206.         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"falsefalsefalse120), 'widget');
  207.         yield "
  208.                                                    </div>
  209.                                                </div>
  210.                                             <div class=\"col-6\" >
  211.                                                 <div class=\"checkout-form-list\">
  212.                                                     <label>Email <span class=\"required\">*</span></label>
  213.                                                     ";
  214.         // line 128
  215.         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"falsefalsefalse128), 'errors');
  216.         yield "
  217.                                                      ";
  218.         // line 129
  219.         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"falsefalsefalse129), 'widget');
  220.         yield "
  221.                                                    </div>
  222.                                                </div>
  223.                                             <div class=\"col-6\" >
  224.                                                 <div class=\"checkout-form-list\">
  225.                                                     <label>Mot de passe <span class=\"required\">*</span></label>
  226.                                                      ";
  227.         // line 135
  228.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse135), "password", [], "any"falsefalsefalse135), 'widget');
  229.         yield "
  230.                                                    </div>
  231.                                                 </div>   
  232.                                             
  233.                                             <!--<div class=\"col-6\" >";
  234.         // line 139
  235.         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"falsefalsefalse139), 'row');
  236.         yield "</div>-->
  237.                                              <div class=\"col-6\" >
  238.                                                   <div class=\"checkout-form-list\">
  239.                                                     <label>Genre <span class=\"required\">*</span></label>
  240.                                                      ";
  241.         // line 144
  242.         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"falsefalsefalse144), 'widget');
  243.         yield "
  244.                                                    </div>
  245.                                                  
  246.                                                  
  247.                                                  </div>
  248.                                         
  249.                                                   
  250.                                             <div class=\"col-6\" >
  251.                                                     <div class=\"checkout-form-list\">
  252.                                                     <label>Adresse <span class=\"required\">*</span></label>
  253.                                                      ";
  254.         // line 154
  255.         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"falsefalsefalse154), 'widget');
  256.         yield "
  257.                                                    </div>
  258.                                                </div>
  259.                                                  
  260.                                             <div class=\"col-6\" >";
  261.         // line 158
  262.         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"falsefalsefalse158), 'row');
  263.         yield "</div>
  264.                                             <div class=\"col-6\" >
  265.                                                   <div class=\"checkout-form-list\">
  266.                                                     <label>Téléphone <span class=\"required\">*</span></label>
  267.                                                     ";
  268.         // line 163
  269.         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"falsefalsefalse163), 'errors');
  270.         yield "
  271.                                                      ";
  272.         // line 164
  273.         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"falsefalsefalse164), 'widget');
  274.         yield "
  275.                                                    </div>
  276.                                             
  277.                                                 
  278.                                                 </div>
  279.                                              <div class=\"col-6\" >";
  280.         // line 169
  281.         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"falsefalsefalse169), 'row');
  282.         yield "</div>
  283.                                             <div class=\"col-6\" >";
  284.         // line 170
  285.         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"falsefalsefalse170), 'row');
  286.         yield "</div>
  287.                                            
  288.                                             
  289.                                              <div class=\"col-6\" >
  290.                                                  <div class=\"checkout-form-list\">
  291.                                                     <label>Code Parrainage </label>
  292.                                                      ";
  293.         // line 177
  294.         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"falsefalsefalse177), 'widget');
  295.         yield "
  296.                                                 </div>
  297.                                                 
  298.                                             </div>
  299.                                          
  300.                                             
  301.                                              
  302.                                             <div class=\"col-12\" >
  303.                                             <div class=\"checkout-form-list\">
  304.                                                     <label>Vous souhaitez recevoir des nouvelles par mail ? </label>
  305.                                                      ";
  306.         // line 187
  307.         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"falsefalsefalse187), 'widget');
  308.         yield "
  309.                                                 </div>
  310.                                                 
  311.                                                 <div class=\"checkout-form-list\">
  312.                                                     <label>Vous souhaitez recevoir des nouvelles par SMS ? </label>
  313.                                                      ";
  314.         // line 192
  315.         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"falsefalsefalse192), 'widget');
  316.         yield "
  317.                                                 </div>
  318.                                                  <div class=\"checkout-form-list\">
  319.                                                     <label>Accepter les conditions génerales <span class=\"required\">*</span>  ";
  320.         // line 195
  321.         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"falsefalsefalse195), 'widget');
  322.         yield "</label>
  323.                                                     
  324.                                                    </div>
  325.                                                </div>
  326.                                             
  327.                                         </div>
  328.                                         ";
  329.         // line 209
  330.         yield "                                        ";
  331.         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');
  332.         yield "
  333.                                             </br>
  334.                                             <button  type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
  335.                                         ";
  336.         // line 212
  337.         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');
  338.         yield "
  339.                                             </div>
  340.                                     <div id=\"registerVendor\" class=\"d-none registerForm\">
  341.                                         ";
  342.         // line 216
  343.         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');
  344.         yield "
  345.                                         <div class=\"row\">
  346.                                             <div class=\"col-6\" > 
  347.                                                
  348.                                                 <div class=\"checkout-form-list\">
  349.                                                     <label>Nom de l'entreprise <span class=\"required\">*</span></label>
  350.                                                      ";
  351.         // line 223
  352.         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"falsefalsefalse223), 'widget');
  353.         yield "
  354.                                                 </div>
  355.                                                
  356.                                                 
  357.                                             </div>
  358.                                             <div class=\"col-6\" > 
  359.                                                   <div class=\"checkout-form-list\">
  360.                                                     <label>Nom et prénom de contact<span class=\"required\">*</span></label>
  361.                                                      ";
  362.         // line 231
  363.         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"falsefalsefalse231), 'widget');
  364.         yield "
  365.                                                 </div>
  366.                                             </div>
  367.                                             <div class=\"col-12\" >
  368.                                                 <div class=\"checkout-form-list\">
  369.                                                     <label>Adresse <span class=\"required\">*</span></label>
  370.                                                      ";
  371.         // line 237
  372.         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"falsefalsefalse237), 'widget');
  373.         yield "
  374.                                                 </div>
  375.                                                 
  376.                                             </div>
  377.                                             <div class=\"col-12\" >
  378.                                                  <div class=\"checkout-form-list\">
  379.                                                     <label>Email<span class=\"required\">*</span></label>
  380.                                                      ";
  381.         // line 244
  382.         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"falsefalsefalse244), 'widget');
  383.         yield "
  384.                                                 </div>
  385.                                             </div>
  386.                                             <div class=\"col-6\" >
  387.                                                  <div class=\"checkout-form-list\">
  388.                                                     <label>Ville<span class=\"required\">*</span></label>
  389.                                                      ";
  390.         // line 250
  391.         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"falsefalsefalse250), 'widget');
  392.         yield "
  393.                                                 </div>
  394.                                                </div>
  395.                                             <div class=\"col-6\" >
  396.                                                   <div class=\"checkout-form-list\">
  397.                                                     <label>Téléphone<span class=\"required\">*</span></label>
  398.                                                      ";
  399.         // line 256
  400.         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"falsefalsefalse256), 'widget');
  401.         yield "
  402.                                                 </div>
  403.                                                 
  404.                                             </div>
  405.                                             <div class=\"col-6\" >
  406.                                                    <div class=\"checkout-form-list\">
  407.                                                     <label>Identifiant Commun Entreprise <span class=\"required\">*</span></label>
  408.                                                      ";
  409.         // line 263
  410.         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"falsefalsefalse263), 'widget');
  411.         yield "
  412.                                                 </div>
  413.                                             </div>
  414.                                             <div class=\"col-6\" >";
  415.         // line 266
  416.         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"falsefalsefalse266), 'row');
  417.         yield "</div>
  418.                                             <div class=\"col-6\" >
  419.                                                   <div class=\"checkout-form-list\">
  420.                                                     <label>Registre du Commerce <span class=\"required\">*</span></label>
  421.                                                      ";
  422.         // line 270
  423.         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"falsefalsefalse270), 'widget');
  424.         yield "
  425.                                                 </div>
  426.                                                </div>
  427.                                             <div class=\"col-6\" >";
  428.         // line 273
  429.         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"falsefalsefalse273), 'row');
  430.         yield "</div>
  431.                                             <div class=\"col-6\" >
  432.                                                 <div class=\"checkout-form-list\">
  433.                                                     <label>Identifiant Fiscale <span class=\"required\">*</span></label>
  434.                                                      ";
  435.         // line 277
  436.         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"falsefalsefalse277), 'widget');
  437.         yield "
  438.                                                 </div>
  439.                                              </div>
  440.                                             <div class=\"col-6\" >";
  441.         // line 280
  442.         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"falsefalsefalse280), 'row');
  443.         yield "</div>
  444.                                             <div class=\"col-6\" >
  445.                                                  <div class=\"checkout-form-list\">
  446.                                                     <label>Identifiant <span class=\"required\">*</span></label>
  447.                                                      ";
  448.         // line 284
  449.         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"falsefalsefalse284), 'widget');
  450.         yield "
  451.                                                 </div>
  452.                                          </div>
  453.                                             <div class=\"col-6\" >
  454.                                                  <div class=\"checkout-form-list\">
  455.                                                     <label>Mot de passe <span class=\"required\">*</span></label>
  456.                                                      ";
  457.         // line 290
  458.         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"falsefalsefalse290), 'widget');
  459.         yield "
  460.                                                 </div>
  461.                                                 
  462.                                             </div>
  463.                                            
  464.                                             
  465.                                             <div class=\"col-12\" >
  466.                                                 <div class=\"checkout-form-list\">
  467.                                                     <label>Accepter les conditions génerales <span class=\"required\">*</span>  ";
  468.         // line 298
  469.         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"falsefalsefalse298), 'widget');
  470.         yield "</label>
  471.                                                     
  472.                                                    </div>
  473.                                                 </div>
  474.                                             
  475.                                         </div>
  476.                                         ";
  477.         // line 312
  478.         yield "                                            </br>
  479.                                             <button  type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
  480.                                         ";
  481.         // line 314
  482.         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');
  483.         yield "
  484.                                             </div>
  485.                                                    
  486.                             </div>
  487.                             
  488.                         </div>
  489.                     </div>
  490.                 </div>
  491.             </div>
  492.             <!-- Se connecter Content Area End Here -->
  493.         </div>
  494.         <!-- Body Wrapper End Here -->
  495. ";
  496.         
  497.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  498.         
  499.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  500.         return; yield '';
  501.     }
  502.     // line 334
  503.     public function block_javascripts($context, array $blocks = [])
  504.     {
  505.         $macros $this->macros;
  506.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  507.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  508.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  509.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  510.         // line 335
  511.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  512.         yield "
  513. <script>
  514. function isMobileDevice() {
  515.   return /Mobi/i.test(navigator.userAgent);
  516. }
  517.   function isAndroid() {
  518.   return /Android/i.test(navigator.userAgent);
  519. }
  520. function isiOS() {
  521.   return /iPhone|iPad|iPod/i.test(navigator.userAgent);
  522. }
  523. // Usage
  524. ";
  525.         // line 355
  526.         if (array_key_exists("order"$context)) {
  527.             // line 356
  528.             yield "
  529. ";
  530.             // line 357
  531.             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"falsefalsefalse357) == "mobile")) {
  532.                 // line 358
  533.                 yield "if (isMobileDevice()) {
  534. // Example usage
  535. if (isAndroid()) {
  536.    window.location.href = \"";
  537.                 // line 365
  538.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse365), "mobileAppSchemeAndroid", [], "any"falsefalsefalse365), "html"nulltrue);
  539.                 yield "?path=/myaccount/successUpdatePassword\";
  540.   window.close();
  541. } else if (isiOS()) {
  542.    window.location.href = \"";
  543.                 // line 368
  544.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse368), "mobileAppSchemeIOS", [], "any"falsefalsefalse368), "html"nulltrue);
  545.                 yield "?path=/myaccount/successUpdatePassword\";
  546.   window.close();
  547. }
  548.  
  549. ";
  550.             }
  551.             // line 376
  552.             yield "
  553. ";
  554.         }
  555.         // line 378
  556.         yield "
  557. </script>
  558. <script>
  559.     \$(document).ready(function()
  560.     {
  561.         \$(\"#select-account\").change(function(){
  562.             var selectedAccount = \$(this).val();
  563.             
  564.             \$(\".registerForm\").addClass(\"d-none\");
  565.             \$(\"#\"+selectedAccount).removeClass(\"d-none\");
  566.         });
  567.     });
  568. </script>
  569. ";
  570.         
  571.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  572.         
  573.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  574.         return; yield '';
  575.     }
  576.     /**
  577.      * @codeCoverageIgnore
  578.      */
  579.     public function getTemplateName()
  580.     {
  581.         return "@Flexy/FrontBundle/Themes/IlaveU/templates/myaccount/login-register.html.twig";
  582.     }
  583.     /**
  584.      * @codeCoverageIgnore
  585.      */
  586.     public function isTraitable()
  587.     {
  588.         return false;
  589.     }
  590.     /**
  591.      * @codeCoverageIgnore
  592.      */
  593.     public function getDebugInfo()
  594.     {
  595.         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,);
  596.     }
  597.     public function getSourceContext()
  598.     {
  599.         return new Source("{% extends '@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig' %}
  600. {% block body %}
  601. \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')}});\">
  602. \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')}});\">
  603. \t\t\t<div class=\"container container-fluid-xl\">
  604. \t\t\t\t
  605. \t\t\t\t<h1 class=\"subtitle__title\">Se connecter</h1>
  606. \t\t\t</div>
  607. \t\t\t<div class=\"bubbleContainer\">
  608. \t\t\t\t<div class=\"bubble-1\"></div>
  609. \t\t\t\t<div class=\"bubble-2\"></div>
  610. \t\t\t\t<div class=\"bubble-3\"></div>
  611. \t\t\t\t<div class=\"bubble-4\"></div>
  612. \t\t\t\t<div class=\"bubble-5\"></div>
  613. \t\t\t\t<div class=\"bubble-6\"></div>
  614. \t\t\t\t<div class=\"bubble-7\"></div>
  615. \t\t\t\t<div class=\"bubble-8\"></div>
  616. \t\t\t\t<div class=\"bubble-9\"></div>
  617. \t\t\t\t<div class=\"bubble-10\"></div>
  618. \t\t\t</div>
  619. \t\t</div>
  620. \t</div>
  621.         <!-- Begin Body Wrapper -->
  622.         <div class=\"body-wrapper mt-4 mb-4\">
  623.   
  624.             
  625.             <!-- Begin Se connecter Content Area -->
  626.             <div class=\"page-section mb-60\">
  627.                 <div class=\"container\">
  628.                     <div class=\"row\">
  629.                         <div class=\"col-sm-12 col-md-12 col-xs-12 col-lg-5 mb-30 pt-10\">
  630.                             <!-- Se connecter Form s-->
  631.                         <h4 >Se connecter</h4>
  632.                             <form action=\"{{path('login')}}\" method=\"post\">
  633.     {% if error %}
  634.         <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  635.     {% endif %}
  636.     {% if app.user %}
  637.         <div class=\"mb-3\">
  638.             Vous êtes connecté en tant que {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\">Se deconnecter</a>
  639.         </div>
  640.     {% endif %}
  641.     <h1 class=\"h3 mb-3 text-white font-weight-normal\">Connexion</h1>
  642.     <label for=\"inputUsername\">Nom d'utilisateur</label>
  643.     <input type=\"text\" value=\"{{ last_username }}\" name=\"username\" id=\"inputUsername\" class=\"form-control\" autocomplete=\"username\" required autofocus>
  644.     <label for=\"inputPassword\">Mot de passe</label>
  645.     <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
  646.     <input type=\"hidden\" name=\"_csrf_token\"
  647.            value=\"{{ csrf_token('authenticate') }}\"
  648.     >
  649.    
  650.     {#
  651.         Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
  652.         See https://symfony.com/doc/current/security/remember_me.html
  653.         <div class=\"checkbox mb-3\">
  654.             <label>
  655.                 <input type=\"checkbox\" name=\"_remember_me\"> Remember me
  656.             </label>
  657.         </div>
  658.     #}
  659.     
  660.     <br>
  661.     <button class=\"save-button d-block btn btn-success\"  style=\"width: 100%;\" type=\"submit\">
  662.         Se connecter
  663.     </button>
  664.      <hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
  665.      <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>
  666.      <a href=\"{{path('connect_facebook_start')}}\" class=\"btn btn-primary  d-block\" ><i class=\"fa-brands fa-facebook\"></i> Se conneceter avec Facebook</a>
  667. <hr class=\"line\" style=\"margin:10px 0;height:1px;background:#ddd;\">
  668.     <a class=\"btn btn-primary d-block\" href=\"{{path(\"app_forgot_password_request\")}}\" >Mot de passe oublié ou perdu</a>
  669.     </form>
  670.     
  671.                             
  672.                         </div>
  673.                         <div class=\"col-sm-12 col-md-12 col-lg-7 col-xs-12\">
  674.                             <div class=\"card p-4\">
  675.                             
  676.                             <h4 class=\"login-title\">Choisissez votre compte á créer</h4>
  677.                             
  678.                             <br>
  679.                                      <div id=\"registerCustomer\" class=\"registerForm\">
  680.                                         {{ form_start(registrationCustomerForm,{attr:{\"data-turbo\":\"false\"}}) }}
  681.                                         <div class=\"row\">
  682.                                         <div class=\"col-12\" >
  683.                                                 <div class=\"checkout-form-list\">
  684.                                                     <label>Vous etes un client <span class=\"required\">*</span></label>
  685.                                                      {{ form_widget(registrationCustomerForm.customerGroup) }}
  686.                                                    </div>
  687.                                                
  688.                                                 </div>
  689.                                             <div class=\"col-6\" >
  690.                                                 <div class=\"checkout-form-list\">
  691.                                                     <label>Prénom <span class=\"required\">*</span></label>
  692.                                                      {{ form_widget(registrationCustomerForm.firstName) }}
  693.                                                    </div>
  694.                                                
  695.                                                 </div>
  696.                                             <div class=\"col-6\" >
  697.                                                 <div class=\"checkout-form-list\">
  698.                                                     <label>Nom <span class=\"required\">*</span></label>
  699.                                                      {{ form_widget(registrationCustomerForm.lastName) }}
  700.                                                    </div>
  701.                                                </div>
  702.                                             <div class=\"col-6\" >
  703.                                                 <div class=\"checkout-form-list\">
  704.                                                     <label>Email <span class=\"required\">*</span></label>
  705.                                                     {{ form_errors(registrationCustomerForm.email) }}
  706.                                                      {{ form_widget(registrationCustomerForm.email) }}
  707.                                                    </div>
  708.                                                </div>
  709.                                             <div class=\"col-6\" >
  710.                                                 <div class=\"checkout-form-list\">
  711.                                                     <label>Mot de passe <span class=\"required\">*</span></label>
  712.                                                      {{ form_widget(registrationCustomerForm.user.password) }}
  713.                                                    </div>
  714.                                                 </div>   
  715.                                             
  716.                                             <!--<div class=\"col-6\" >{{ form_row(registrationCustomerForm.companyName) }}</div>-->
  717.                                              <div class=\"col-6\" >
  718.                                                   <div class=\"checkout-form-list\">
  719.                                                     <label>Genre <span class=\"required\">*</span></label>
  720.                                                      {{ form_widget(registrationCustomerForm.gender) }}
  721.                                                    </div>
  722.                                                  
  723.                                                  
  724.                                                  </div>
  725.                                         
  726.                                                   
  727.                                             <div class=\"col-6\" >
  728.                                                     <div class=\"checkout-form-list\">
  729.                                                     <label>Adresse <span class=\"required\">*</span></label>
  730.                                                      {{ form_widget(registrationCustomerForm.address) }}
  731.                                                    </div>
  732.                                                </div>
  733.                                                  
  734.                                             <div class=\"col-6\" >{{ form_row(registrationCustomerForm.addressIndication) }}</div>
  735.                                             <div class=\"col-6\" >
  736.                                                   <div class=\"checkout-form-list\">
  737.                                                     <label>Téléphone <span class=\"required\">*</span></label>
  738.                                                     {{ form_errors(registrationCustomerForm.phone) }}
  739.                                                      {{ form_widget(registrationCustomerForm.phone) }}
  740.                                                    </div>
  741.                                             
  742.                                                 
  743.                                                 </div>
  744.                                              <div class=\"col-6\" >{{ form_row(registrationCustomerForm.dateOfBirth) }}</div>
  745.                                             <div class=\"col-6\" >{{ form_row(registrationCustomerForm.postCode) }}</div>
  746.                                            
  747.                                             
  748.                                              <div class=\"col-6\" >
  749.                                                  <div class=\"checkout-form-list\">
  750.                                                     <label>Code Parrainage </label>
  751.                                                      {{ form_widget(registrationCustomerForm.sponsorshipCode) }}
  752.                                                 </div>
  753.                                                 
  754.                                             </div>
  755.                                          
  756.                                             
  757.                                              
  758.                                             <div class=\"col-12\" >
  759.                                             <div class=\"checkout-form-list\">
  760.                                                     <label>Vous souhaitez recevoir des nouvelles par mail ? </label>
  761.                                                      {{ form_widget(registrationCustomerForm.canReceiveMails) }}
  762.                                                 </div>
  763.                                                 
  764.                                                 <div class=\"checkout-form-list\">
  765.                                                     <label>Vous souhaitez recevoir des nouvelles par SMS ? </label>
  766.                                                      {{ form_widget(registrationCustomerForm.canReceiveSms) }}
  767.                                                 </div>
  768.                                                  <div class=\"checkout-form-list\">
  769.                                                     <label>Accepter les conditions génerales <span class=\"required\">*</span>  {{ form_widget(registrationCustomerForm.agreeTerms) }}</label>
  770.                                                     
  771.                                                    </div>
  772.                                                </div>
  773.                                             
  774.                                         </div>
  775.                                         {#
  776.                                             {{ form_row(registrationForm.username) }}
  777.                                             {{ form_row(registrationForm.plainPassword, {
  778.                                                 label: 'Password'
  779.                                             }) }}
  780.                                             {{ form_row(registrationForm.agreeTerms) }}
  781.                                         #}
  782.                                         {{ form_rest(registrationCustomerForm) }}
  783.                                             </br>
  784.                                             <button  type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
  785.                                         {{ form_end(registrationCustomerForm) }}
  786.                                             </div>
  787.                                     <div id=\"registerVendor\" class=\"d-none registerForm\">
  788.                                         {{ form_start(registrationVendorForm) }}
  789.                                         <div class=\"row\">
  790.                                             <div class=\"col-6\" > 
  791.                                                
  792.                                                 <div class=\"checkout-form-list\">
  793.                                                     <label>Nom de l'entreprise <span class=\"required\">*</span></label>
  794.                                                      {{ form_widget(registrationVendorForm.name) }}
  795.                                                 </div>
  796.                                                
  797.                                                 
  798.                                             </div>
  799.                                             <div class=\"col-6\" > 
  800.                                                   <div class=\"checkout-form-list\">
  801.                                                     <label>Nom et prénom de contact<span class=\"required\">*</span></label>
  802.                                                      {{ form_widget(registrationVendorForm.fullName) }}
  803.                                                 </div>
  804.                                             </div>
  805.                                             <div class=\"col-12\" >
  806.                                                 <div class=\"checkout-form-list\">
  807.                                                     <label>Adresse <span class=\"required\">*</span></label>
  808.                                                      {{ form_widget(registrationVendorForm.address) }}
  809.                                                 </div>
  810.                                                 
  811.                                             </div>
  812.                                             <div class=\"col-12\" >
  813.                                                  <div class=\"checkout-form-list\">
  814.                                                     <label>Email<span class=\"required\">*</span></label>
  815.                                                      {{ form_widget(registrationVendorForm.email) }}
  816.                                                 </div>
  817.                                             </div>
  818.                                             <div class=\"col-6\" >
  819.                                                  <div class=\"checkout-form-list\">
  820.                                                     <label>Ville<span class=\"required\">*</span></label>
  821.                                                      {{ form_widget(registrationVendorForm.city) }}
  822.                                                 </div>
  823.                                                </div>
  824.                                             <div class=\"col-6\" >
  825.                                                   <div class=\"checkout-form-list\">
  826.                                                     <label>Téléphone<span class=\"required\">*</span></label>
  827.                                                      {{ form_widget(registrationVendorForm.tel) }}
  828.                                                 </div>
  829.                                                 
  830.                                             </div>
  831.                                             <div class=\"col-6\" >
  832.                                                    <div class=\"checkout-form-list\">
  833.                                                     <label>Identifiant Commun Entreprise <span class=\"required\">*</span></label>
  834.                                                      {{ form_widget(registrationVendorForm.ICE) }}
  835.                                                 </div>
  836.                                             </div>
  837.                                             <div class=\"col-6\" >{{ form_row(registrationVendorForm.imageIceFile) }}</div>
  838.                                             <div class=\"col-6\" >
  839.                                                   <div class=\"checkout-form-list\">
  840.                                                     <label>Registre du Commerce <span class=\"required\">*</span></label>
  841.                                                      {{ form_widget(registrationVendorForm.RC) }}
  842.                                                 </div>
  843.                                                </div>
  844.                                             <div class=\"col-6\" >{{ form_row(registrationVendorForm.imageRCFile) }}</div>
  845.                                             <div class=\"col-6\" >
  846.                                                 <div class=\"checkout-form-list\">
  847.                                                     <label>Identifiant Fiscale <span class=\"required\">*</span></label>
  848.                                                      {{ form_widget(registrationVendorForm.IdentifiantFiscale) }}
  849.                                                 </div>
  850.                                              </div>
  851.                                             <div class=\"col-6\" >{{ form_row(registrationVendorForm.imageIFFile) }}</div>
  852.                                             <div class=\"col-6\" >
  853.                                                  <div class=\"checkout-form-list\">
  854.                                                     <label>Identifiant <span class=\"required\">*</span></label>
  855.                                                      {{ form_widget(registrationVendorForm.simulateUsername) }}
  856.                                                 </div>
  857.                                          </div>
  858.                                             <div class=\"col-6\" >
  859.                                                  <div class=\"checkout-form-list\">
  860.                                                     <label>Mot de passe <span class=\"required\">*</span></label>
  861.                                                      {{ form_widget(registrationVendorForm.simulatePassword) }}
  862.                                                 </div>
  863.                                                 
  864.                                             </div>
  865.                                            
  866.                                             
  867.                                             <div class=\"col-12\" >
  868.                                                 <div class=\"checkout-form-list\">
  869.                                                     <label>Accepter les conditions génerales <span class=\"required\">*</span>  {{ form_widget(registrationVendorForm.agreeTerms) }}</label>
  870.                                                     
  871.                                                    </div>
  872.                                                 </div>
  873.                                             
  874.                                         </div>
  875.                                         {#
  876.                                             {{ form_row(registrationForm.username) }}
  877.                                             {{ form_row(registrationForm.plainPassword, {
  878.                                                 label: 'Password'
  879.                                             }) }}
  880.                                             {{ form_row(registrationForm.agreeTerms) }}
  881.                                         #}
  882.                                             </br>
  883.                                             <button  type=\"submit\" class=\"save-button btn btn-success mt-0\">Créer</button>
  884.                                         {{ form_end(registrationVendorForm) }}
  885.                                             </div>
  886.                                                    
  887.                             </div>
  888.                             
  889.                         </div>
  890.                     </div>
  891.                 </div>
  892.             </div>
  893.             <!-- Se connecter Content Area End Here -->
  894.         </div>
  895.         <!-- Body Wrapper End Here -->
  896. {% endblock %}
  897. {% block javascripts %}
  898. {{parent()}}
  899. <script>
  900. function isMobileDevice() {
  901.   return /Mobi/i.test(navigator.userAgent);
  902. }
  903.   function isAndroid() {
  904.   return /Android/i.test(navigator.userAgent);
  905. }
  906. function isiOS() {
  907.   return /iPhone|iPad|iPod/i.test(navigator.userAgent);
  908. }
  909. // Usage
  910. {% if order is defined %}
  911. {% if order.source == \"mobile\" %}
  912. if (isMobileDevice()) {
  913. // Example usage
  914. if (isAndroid()) {
  915.    window.location.href = \"{{settings.get.mobileAppSchemeAndroid}}?path=/myaccount/successUpdatePassword\";
  916.   window.close();
  917. } else if (isiOS()) {
  918.    window.location.href = \"{{settings.get.mobileAppSchemeIOS}}?path=/myaccount/successUpdatePassword\";
  919.   window.close();
  920. }
  921.  
  922. {% endif %}
  923. {% endif %}
  924. </script>
  925. <script>
  926.     \$(document).ready(function()
  927.     {
  928.         \$(\"#select-account\").change(function(){
  929.             var selectedAccount = \$(this).val();
  930.             
  931.             \$(\".registerForm\").addClass(\"d-none\");
  932.             \$(\"#\"+selectedAccount).removeClass(\"d-none\");
  933.         });
  934.     });
  935. </script>
  936. {% endblock %}
  937. ""@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");
  938.     }
  939. }