2024-11-21 17:04:56 +01:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2024-12-05 17:55:02 +01:00
|
|
|
{% block title %}Modifier un Diplôme{% endblock %}
|
2024-11-21 17:04:56 +01:00
|
|
|
|
|
|
|
{% block body %}
|
2024-12-05 17:55:02 +01:00
|
|
|
<div class="container mx-auto p-6">
|
|
|
|
<h1 class="text-4xl font-semibold text-gray-800 mb-6">Modifier le Diplôme</h1>
|
2024-11-21 17:04:56 +01:00
|
|
|
|
2024-12-05 17:55:02 +01:00
|
|
|
<div class="bg-white shadow-md rounded-lg p-6">
|
|
|
|
<h2 class="text-2xl font-medium text-gray-700 mb-6">Modifier les informations du diplôme</h2>
|
2024-11-21 17:04:56 +01:00
|
|
|
|
2024-12-05 17:55:02 +01:00
|
|
|
{{ form_start(form) }}
|
|
|
|
<div class="mb-4">
|
|
|
|
<label for="degree_label" class="block text-lg font-medium text-gray-700 mb-2">Label du diplôme</label>
|
|
|
|
<div class="mt-1">
|
|
|
|
{{ form_widget(form.label, {'attr': {'class': 'block w-full p-2 border rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-teal-500'}}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-11-21 17:04:56 +01:00
|
|
|
|
2024-12-05 17:55:02 +01:00
|
|
|
<div class="mt-6">
|
|
|
|
<button type="submit" class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded-full w-full">
|
|
|
|
Mettre à jour
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{{ form_end(form) }}
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mt-6 flex justify-between">
|
|
|
|
<a href="{{ path('app_degree_index') }}" class="text-teal-500 hover:text-teal-700 text-lg">
|
|
|
|
<i class="fas fa-arrow-left"></i> Retour à la liste des diplômes
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{{ include('degree/_delete_form.html.twig') }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|