edit.php: rework Fichiers fieldset layout

- Drop file-field.php partial for cover/banner (it added a second label)
- Inline all three file inputs with admin-file-input wrapper
- Move banner inside the Fichiers fieldset
- Each entry: one label, one input, one small hint — no duplicate labels
- Context-aware hints: 'Laisser vide pour conserver...' when file already exists
This commit is contained in:
Pontoporeia
2026-04-27 20:38:45 +02:00
parent 8e864fc624
commit 4d88bd8cc5
2 changed files with 33 additions and 25 deletions

View File

@@ -7,6 +7,7 @@
- [x] Add `deleteThesisFile()` and `handleCoverUpload()` to Database.php
- [x] Update `ThesisEditController::save()` to handle cover, file deletion, new uploads
- [x] Update `ThesisEditController::load()` to expose `currentFiles` + `currentCover`
- [x] Rework Fichiers fieldset layout: inline file inputs (no partial double-label), banner moved inside fieldset, one label per field
## Overview