coryhouse / coryhouse/react-restaurant-scriptpro
Add admin route rendering food form for create + edit
Open
enhancement
phase-6-admin-forms
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Goal
Add an `admin.{-$foodId}.tsx` route (optional id) that renders a food form for both create and edit, prefilled when editing.
## Acceptance criteria
- [ ] No id → empty form (create mode)
- [ ] With id → form prefilled with that food's data (edit mode)
- [ ] All Food fields editable
- [ ] Cancel button returns to the menu
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.