This commit is contained in:
@@ -44,7 +44,7 @@ func (h *JournalHandler) HandleGetEditEntry(w http.ResponseWriter, r *http.Reque
|
||||
http.Error(w, "Eintrag nicht gefunden", http.StatusNotFound)
|
||||
return
|
||||
}
|
||||
render(w, "edit_entry.html", map[string]any{"Entry": entry})
|
||||
render(w, r, "edit_entry.html", map[string]any{"Entry": entry})
|
||||
}
|
||||
|
||||
// HandleUpdateEntry handles POST /entries/{id} (multipart/form-data).
|
||||
|
||||
Reference in New Issue
Block a user