Add edit function

This commit is contained in:
Wancat committed 2022-11-04 23:36:23 +08:00
1 parent 7c63223aa0
commit b1d0bc826f
6 files changed
+68 -5

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
{{ define "title" }}編輯{{ end }}
{{ define "main" }}
<h1>編輯帳本</h1>
<form action="/edit" method="POST">
<textarea name="data" rows="15" cols="40">{{ . }}</textarea><br>
<input type="submit" value="儲存">
</form>
{{ end }}