{% extends 'base.html.twig' %}{% block title %}Applicant{% endblock %}{% block body %} <h1>Applicant</h1> <table class="table"> <tbody> <tr> <th>Id</th> <td>{{ applicant.id }}</td> </tr> <tr> <th>Name</th> <td>{{ applicant.Name }}</td> </tr> <tr> <th>Email</th> <td>{{ applicant.Email }}</td> </tr> <tr> <th>Address</th> <td>{{ applicant.Address }}</td> </tr> <tr> <th>Degree</th> <td>{{ applicant.Degree }}</td> </tr> <tr> <th>CurrentPosition</th> <td>{{ applicant.CurrentPosition }}</td> </tr> <tr> <th>Division</th> <td>{{ applicant.Division }}</td> </tr> <tr> <th>ApplicationForm</th> <td><a href="{{ asset('uploads/brochures/' ~ applicant.ApplicationForm)}}" >Application Form </a></td> </tr> <tr> <th>Personal Statment</th> <td><a href="{{ asset('uploads/brochures/' ~ applicant.Personal)}}" >Personal Statment </a></td> </tr> <tr> <th>CV</th> <td><a href="{{ asset('uploads/brochures/' ~ applicant.CV)}}" >CV</a></td> </tr> <tr> <th>USMLE</th> <td><a href="{{ asset('uploads/brochures/' ~ applicant.USMLE)}}" >USMLE </a></td> </tr> <tr> <th>DeanLetter</th> <td><a href="{{ asset('uploads/brochures/' ~ applicant.DeanLetter)}}" >Dean Letter </a></td> </tr> <tr> <th>MedSchoolD</th> <td><a href="{{ asset('uploads/brochures/' ~ applicant.MedSchoolD)}}" >Medical School Diploma </a></td> </tr> <tr> <th>Status</th> <td>{{ applicant.Status }}</td> </tr> <tr> <th>Notes</th> <td>{{ applicant.Notes }}</td> </tr> </tbody> </table> <table class="table"> <thead> <tr> <th>Id</th> <th>Name</th> <th>Email</th> <th>Affiliation</th> <th>JobTitle</th> <th>Phone</th> <th>Address</th> <th>RefLetter</th> </tr> </thead> <tbody> {% for key, refrence in References %} <tr> <td>{{ refrence.id }}</td> <td>{{ refrence.Name }}</td> <td>{{ refrence.Email }}</td> <td>{{ refrence.Affiliation }}</td> <td>{{ refrence.JobTitle }}</td> <td>{{ refrence.Phone }}</td> <td>{{ refrence.Address }}</td> <td> {% if refrence.RefLetter == 'Please upload' %} <p>Has not been uploaded</p> {% else %} <a href="{{ asset('uploads/brochures/' ~ refrence.RefLetter)}}" >Reference Letter</a> {% endif %} </td> </tr> {% else %} <tr> <td colspan="9">no records found</td> </tr> {% endfor %} </tbody> </table> <a href="{{ path('app_applicant_review', {'id': applicant.id}) }}">Review Applicant</a><br><a href="{{ path('app_applicant_index') }}">back to list</a> {% endblock %}