mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-10 03:30:08 +01:00
centralise form fieldsets into shared partials; add TODO stubs in partage form
This commit is contained in:
1 parent
0628efbba3
commit
d665cb502d
9 files changed
+506
-339
No files matched your search
@@ -39,6 +39,14 @@
|
||||
- [x] Update `root` directive in `nginx/posterg.conf`
|
||||
- [x] Update `STORAGE_ROOT` production path in `app/bootstrap.php`
|
||||
|
||||
## Centralise Form Templates
|
||||
|
||||
- [x] Extract shared fieldset partials: `fieldset-tfe-info.php`, `fieldset-academic.php`, `fieldset-files.php`, `fieldset-metadata.php`, `fieldset-licence-explanation.php`
|
||||
- [x] Refactor `templates/admin/add.php` to use shared partials
|
||||
- [x] Refactor `templates/admin/edit.php` to use shared partials (with edit-mode callable adapters)
|
||||
- [x] Refactor `partage/index.php` `renderShareLinkForm()` to use shared partials
|
||||
- [x] Add TODO comments in `partage/index.php` for student-facing explanations (intro block, per-fieldset notes, email note)
|
||||
|
||||
## File Display in Forms & Recaps
|
||||
|
||||
- [x] Add live file preview to `file-field.php` partial (`data-preview` attribute + `.file-preview-list` container)
|
||||
|
||||
Reference in new issue
Block a user