You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.6 KiB
36 lines
1.6 KiB
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<title>Formation</title>
|
|
<link rel="stylesheet" href="">
|
|
</head>
|
|
<body>
|
|
<div>
|
|
{% if formation %}
|
|
{% for form in formation %}
|
|
<h2>Détails de la formation : {{form.getNom()}}</h2>
|
|
<div>
|
|
<p><strong>ville :</strong> {{ form.getVille() }}</p>
|
|
<p><strong>Date de début :</strong> {{ form.getDateDebut() }}</p>
|
|
<p><strong>Date de fin :</strong> {{ form.getDateFin }}</p>
|
|
<p><strong>Formation en cours ? :</strong> {{ form.isFormationActuelle() }}</p>
|
|
<a href="{{dir}}/user/{{form.getId}}/deleteFormation">Supprimer cette formation</a>
|
|
</div>
|
|
{% endfor %}
|
|
{% else %}
|
|
<p>Aucune formation n'a été ajouté.</p>
|
|
{% endif %}
|
|
</div>
|
|
<div>
|
|
<a href="{{dir}}/user/FormationForm">Ajouter Formation</a>
|
|
<br>
|
|
<a href="{{dir}}/user/displayProfil">Retour</a>
|
|
</div>
|
|
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
|
</body>
|
|
</html> |