From 21d01f4c4b10f82c65dccfba22f825640610d66e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Tue, 16 Apr 2019 03:56:53 +0200 Subject: sklad: clean up templates --- cmd/sklad/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmd/sklad/main.go') diff --git a/cmd/sklad/main.go b/cmd/sklad/main.go index decd894..c08ce2b 100644 --- a/cmd/sklad/main.go +++ b/cmd/sklad/main.go @@ -103,8 +103,11 @@ func handleContainer(w http.ResponseWriter, r *http.Request) { var err error if r.Method == http.MethodPost { err = handleContainerPost(r) - // XXX: This is rather ugly. When removing, we want to keep + // FIXME: This is rather ugly. When removing, we want to keep // the context id, in addition to the id being changed. + // TODO: If there were no errors, redirect the user to GET, + // which is related to the previous comment. + // TODO: If there were errors, use the last data as a prefill. } else if r.Method != http.MethodGet { w.WriteHeader(http.StatusMethodNotAllowed) return -- cgit v1.2.3