aboutsummaryrefslogtreecommitdiff
path: root/tmpl/edit
blob: 16b78468dddd9776a9a9c9dd03162af1562fb506 (plain)
1
2
3
4
5
6
7
8
9
{{define "title"}}Editing {{.Title}}{{end}}
{{define "content"}}
<form action="/save/{{.Title}}" method="POST">
<textarea name="body" rows="20" cols="80">{{printf "%s" .Body}}</textarea>
<br>
<input type="submit" value="Save">
<input type="reset" value="Reset">
</form>
{{end}}