diff --git a/client/src/pages/AdminGestionAttestations.tsx b/client/src/pages/AdminGestionAttestations.tsx index ff1c707..e065f25 100644 --- a/client/src/pages/AdminGestionAttestations.tsx +++ b/client/src/pages/AdminGestionAttestations.tsx @@ -58,103 +58,196 @@ function UploadAttestationDialog({ return ( - - - Charger une attestation - - Sélectionnez un fichier PDF à uploader pour cet apprenant + + +
+ +
+ + Charger une attestation + + + Sélectionnez un fichier PDF pour cet apprenant
-
-
- - { - const file = e.target.files?.[0]; - if (!file) return; - - if (file.type !== 'application/pdf') { - toast.error('Seuls les fichiers PDF sont acceptés'); - return; + +
+
+