templates/registration/registration_student_pre_registration/secondaireEdit.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Editer | {{ parent() }}{% endblock %}
  3. {% block body %}
  4.     <div class="breadcrumb">
  5.         <h1 class="mr-2">Pré-inscrits</h1>
  6.         <ul>
  7.             <li><a href="{{ path('default') }}" onclick="$('.loader').addClass('is-active');">Accueil</a></li>
  8.             <li><a href="{{ path('registration_student_pre_registration_index') }}" onclick="$('.loader').addClass('is-active');">Retour</a></li>
  9.             <li>Editer</li>
  10.         </ul>
  11.     </div>
  12.     <div class="separator-breadcrumb border-top"></div>
  13.     <div class="row mb-4">
  14.         <div class="col-md-12 mb-4">
  15.             {% if registration_student_pre_registration.entryLevel.isStudentCbeAffected %}
  16.                 {% if null != registration_student_pre_registration.student %}
  17.                     {% if registration_student_pre_registration.student.isAffected %}
  18.                         <a href="#" class="btn btn-danger" onclick="javascript:actionByPathAndElts('{{path('registration_student_set_to_nonaffected', {'id': registration_student_pre_registration.student.id})}}')">Metter Non Affecté</a>
  19.                         {% else %}
  20.                             {% if is_granted('ROLE_CORRESPONDANT_FICHIER') %}
  21.                                 <a href="#" class="btn btn-success" onclick="javascript:actionByPathAndElts('{{path('registration_student_set_to_affected', {'id': registration_student_pre_registration.student.id})}}')">Mettre Affecté</a>
  22.                             {% endif %}
  23.                     {% endif %}
  24.                 {% endif %}
  25.             {% endif %}
  26.             <br><br>
  27.             <div class="card text-left">
  28.                 <div class="card-header">Resultat des tests</div>
  29.                 <div class="card-body text-center">
  30.                     {% if registration_student_pre_registration.isSubjectToxicologicalTest and registration_student_pre_registration.entryLevel.isStudentToxicologicalTestDo %}
  31.                         <strong class="text-danger">{{ "Test Toxicologique"|upper }}: {{ registration_student_pre_registration.isToxicologicalTestPerformed ? 'validé'|upper : 'EN COURS' }}</strong>
  32.                     {% endif %}
  33.                     {% if registration_student_pre_registration.isSubjectPsychologicalTest and  registration_student_pre_registration.entryLevel.isStudentPsychologicalTestDo %}
  34.                         <strong class="text-danger">{{ "Test Psychologique"|upper }}: {{ registration_student_pre_registration.isPsychologicalTestPerformed ? 'validé'|upper : 'EN COURS' }}</strong>
  35.                     {% endif %}
  36.                     {% if registration_student_pre_registration.isSubjectEntryTest and  registration_student_pre_registration.entryLevel.isStudentEntryTestDo %}
  37.                         <strong class="text-danger">{{ "Test d'entré"|upper }}: {{ registration_student_pre_registration.IsEntryTestPerformed ? 'validé'|upper : 'EN COURS' }}</strong>
  38.                     {% endif %}
  39.                 </div>
  40.             </div>
  41.         </div>
  42.     </div>
  43.     <div class="row mb-4">
  44.         <div class="col-md-12 mb-4">
  45.             <div class="card text-left">
  46.                 <div class="card-header">Edition</div>
  47.                 <div class="card-body">
  48.                     {{ include('registration/registration_student_pre_registration/_secondaireForm.html.twig') }}
  49.                 </div>
  50.             </div>
  51.         </div>
  52.     </div>
  53. {% endblock %}
  54. {% block javascripts %}
  55.     {{ parent() }}
  56.    {{ include('registration/registration_student/_js.html.twig') }}
  57. {% endblock %}