templates/applicant/show.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Applicant{% endblock %}
  3. {% block body %}
  4.     <h1>Applicant</h1>
  5.     <table class="table">
  6.         <tbody>
  7.             <tr>
  8.                 <th>Id</th>
  9.                 <td>{{ applicant.id }}</td>
  10.             </tr>
  11.             <tr>
  12.                 <th>Name</th>
  13.                 <td>{{ applicant.Name }}</td>
  14.             </tr>
  15.             <tr>
  16.                 <th>Email</th>
  17.                 <td>{{ applicant.Email }}</td>
  18.             </tr>
  19.             <tr>
  20.                 <th>Address</th>
  21.                 <td>{{ applicant.Address }}</td>
  22.             </tr>
  23.             <tr>
  24.                 <th>Degree</th>
  25.                 <td>{{ applicant.Degree }}</td>
  26.             </tr>
  27.             <tr>
  28.                 <th>CurrentPosition</th>
  29.                 <td>{{ applicant.CurrentPosition }}</td>
  30.             </tr>
  31.             <tr>
  32.                 <th>Division</th>
  33.                 <td>{{ applicant.Division }}</td>
  34.             </tr>
  35.             <tr>
  36.                 <th>ApplicationForm</th>
  37.                 <td><a href="{{ asset('uploads/brochures/' ~ applicant.ApplicationForm)}}" >Application Form </a></td>
  38.             </tr>
  39.             <tr>
  40.                 <th>Personal Statment</th>
  41.                 
  42.                 <td><a href="{{ asset('uploads/brochures/' ~ applicant.Personal)}}" >Personal Statment </a></td>
  43.             </tr>
  44.             <tr>
  45.                 <th>CV</th>
  46.                 <td><a href="{{ asset('uploads/brochures/' ~ applicant.CV)}}" >CV</a></td>
  47.             </tr>
  48.             <tr>
  49.                 <th>USMLE</th>
  50.                 <td><a href="{{ asset('uploads/brochures/' ~ applicant.USMLE)}}" >USMLE </a></td>
  51.             </tr>
  52.             <tr>
  53.                 <th>DeanLetter</th>
  54.                 <td><a href="{{ asset('uploads/brochures/' ~ applicant.DeanLetter)}}" >Dean Letter </a></td>
  55.             </tr>
  56.             <tr>
  57.                 <th>MedSchoolD</th>
  58.                 <td><a href="{{ asset('uploads/brochures/' ~ applicant.MedSchoolD)}}" >Medical School Diploma </a></td>
  59.             </tr>
  60.          <tr>
  61.                 <th>Status</th>
  62.                 <td>{{ applicant.Status }}</td>
  63.             </tr>
  64.             <tr>
  65.                 <th>Notes</th>
  66.                 <td>{{ applicant.Notes }}</td>
  67.             </tr>
  68.         </tbody>
  69.     </table>
  70.  <table class="table">
  71.         <thead>
  72.             <tr>
  73.                 <th>Id</th>
  74.                 <th>Name</th>
  75.                 <th>Email</th>
  76.                 <th>Affiliation</th>
  77.                 <th>JobTitle</th>
  78.                 <th>Phone</th>
  79.                 <th>Address</th>
  80.                 <th>RefLetter</th>
  81.               
  82.             </tr>
  83.         </thead>
  84.         <tbody>
  85.         {% for key, refrence in References %}
  86.         
  87.             <tr>
  88.                 <td>{{ refrence.id }}</td>
  89.                 <td>{{ refrence.Name }}</td>
  90.                 <td>{{ refrence.Email }}</td>
  91.                 <td>{{ refrence.Affiliation }}</td>
  92.                 <td>{{ refrence.JobTitle }}</td>
  93.                 <td>{{ refrence.Phone }}</td>
  94.                 <td>{{ refrence.Address }}</td>
  95.                <td>
  96.                {% if refrence.RefLetter == 'Please upload' %}
  97.                 <p>Has not been uploaded</p>
  98.                {% else %}
  99.                <a href="{{ asset('uploads/brochures/' ~ refrence.RefLetter)}}" >Reference Letter</a>
  100.               
  101.                {% endif %}
  102.                
  103.                </td>
  104.                 
  105.             </tr>
  106.         {% else %}
  107.             <tr>
  108.                 <td colspan="9">no records found</td>
  109.             </tr>
  110.         {% endfor %}
  111.         </tbody>
  112.     </table>
  113.     
  114.     <a href="{{ path('app_applicant_review', {'id': applicant.id}) }}">Review Applicant</a>
  115. <br>
  116. <a href="{{ path('app_applicant_index') }}">back to list</a>
  117.     
  118. {% endblock %}