- Added Edit button on open event cards in dashboard
- EditEvent handler returns dashboard.html with pre-filled form
- UpdateEvent handler (PUT /events/{id}) saves new currency + rate
- UpdateEvent in db.go updates base_currency and exchange_rate
- Form auto-switches between create (POST) and edit (PUT) mode
- Reuses the same conversion sample pattern as event creation
|
||
|---|---|---|
| .. | ||
| auth.go | ||
| events.go | ||
| expenses.go | ||
| file.go | ||
| helpers.go | ||
| templates.go | ||