Filing this as followup from a recent pairing session.
The current public/delete.php could be split into:
- A lib/templates/delete.php for the deletion interface
- In public/index.php: An $app->get() action for displaying the deletion interface
- In public/index.php: $app->post() action for handling the deletion
Useful background docs:
- PHP app framework: https://www.slimframework.com/docs/v4/
- Using this for templates: https://github.com/slimphp/PHP-View
This task is a bit of a stub, let me know if there are questions. Happy to pair on this any time.