diff options
author | Přemysl Janouch <p@janouch.name> | 2019-04-16 03:56:53 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2019-04-16 03:56:53 +0200 |
commit | 21d01f4c4b10f82c65dccfba22f825640610d66e (patch) | |
tree | 2f289d03c50fa9b01d2dac080be8e70ef8a9940b /cmd/sklad/main.go | |
parent | 885d161cf5f1baed291cc1d31ea9e90868492567 (diff) | |
download | sklad-21d01f4c4b10f82c65dccfba22f825640610d66e.tar.gz sklad-21d01f4c4b10f82c65dccfba22f825640610d66e.tar.xz sklad-21d01f4c4b10f82c65dccfba22f825640610d66e.zip |
sklad: clean up templates
Diffstat (limited to 'cmd/sklad/main.go')
-rw-r--r-- | cmd/sklad/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
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 |