var/cache/dev/twig/5e/5e20003018558501481d9d0938ac436a.php line 39

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