templates/auth/registration.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}{% endblock %}
  3. {% block body %}
  4.     {% include ("pages/job/header.html.twig") %}
  5.    <div id="registration" >
  6.     <section class="container register mt4">
  7.         <div v-if="!viewform">
  8.             <p style="color: white" v-html="messages"></p>
  9.         </div>
  10.         <div class="row" v-if="viewform">
  11.             <div class="col-md-3 register-left" >
  12.                 {#<img src="{{ asset('build/images/med_site.png') }}" alt=""/>#}
  13.                 <h3>Bienvenue</h3>
  14.                 <p>Vous n'avez pas encore de compte ?<br>Inscrivez-vous dès maintenant !!</p>
  15.                 <button><a  href="{{ url('app_login') }}"> Se Connecter </a></button>
  16.             </div>
  17.             <div class="col-md-9 register-right">
  18.                         <h3 class="register-heading">Créer votre  compte RMS</h3>
  19.                         <div class="row register-form">
  20.                             <div class="col-md-6">
  21.                                 <div class="form-group">
  22.                                     <input type="text" class="form-control" v-model="form.nom" placeholder="Nom * " required  />
  23.                                     <span class="text-danger"> ${errors.nom}</span>
  24.                                 </div>
  25.                                 <div class="form-group">
  26.                                     <input type="text" class="form-control"  placeholder="Prenom *" v-model="form.prenom" required />
  27.                                     <span class="text-danger"> ${errors.prenom}</span>
  28.                                 </div>
  29.                                 <div class="form-group">
  30.                                     <input type="password" @blur="passwordValide()" class="form-control" placeholder="Mot de passe  *"  v-model="form.password" required />
  31.                                     <span class="text-danger "> <p v-html="errors.password"></p></span>
  32.                                 </div>
  33.                                 <div class="form-group">
  34.                                     <input type="password" @blur="repeatPassword()" class="form-control" v-model="form.repeatPassword" placeholder="Confirmer votre mot de passe  *" required />
  35.                                     <span class="text-danger"> ${errors.repeatPassword}</span>
  36.                                 </div>
  37.                                 <div class="form-group">
  38.                                     <div class="maxl">
  39.                                         <h4>Genre</h4>
  40.                                         <label class="radio inline">
  41.                                             <input type="radio" name="gender" value="1" checked  v-model="form.civilite">
  42.                                             <span> Masculin </span>
  43.                                         </label>
  44.                                         &nbsp;&nbsp;
  45.                                         <label class="radio inline">
  46.                                             <input type="radio" name="gender" value="0"  v-model="form.civilite">
  47.                                             <span> Feminin </span>
  48.                                         </label>
  49.                                     </div>
  50.                                 </div>
  51.                             </div>
  52.                             <div class="col-md-6">
  53.                                 <div class="form-group">
  54.                                     <input type="text" class="form-control" placeholder="E-mail *"  required v-model="form.email" />
  55.                                     <span class="text-danger"> ${errors.email}</span>
  56.                                 </div>
  57.                                 <div class="form-group">
  58.                                     <input type="text" minlength="10" maxlength="10"  required v-model="form.telephone" name="txtEmpPhone" class="form-control" placeholder="Telephone *" value="" />
  59.                                     <span class="text-danger"> ${errors.telephone}</span>
  60.                                 </div>
  61.                                 <div class="form-group">
  62.                                     <select class="form-control" v-model="form.type" required>
  63.                                         <option class="hidden"  value="" selected disabled>Vous êtes ?</option>
  64.                                         <option value="1">Professionnel de santé</option>
  65.                                         <option value="2">Structure de santé</option>
  66.                                     </select>
  67.                                     <span class="text-danger"> ${errors.type}</span>
  68.                                 </div>
  69.                                 <div class="form-group">
  70.                                         <input type="text" class="form-control" placeholder="Adresse "  v-model="form.adresse" value="" />
  71.                                 </div>
  72.                                 <button type="button" class="btnlogin"  @click="onSubmit()" value=""> Soumettre </button>
  73.                             </div>
  74.                         </div>
  75.                     </div>
  76.         </div>
  77.     </section>
  78.    </div>
  79. {% endblock %}