wikingo/templates/edit.html

15 lines
366 B
HTML
Raw Normal View History

2022-03-22 16:36:18 +01:00
{{define "title"}}
Wikingo - Edit {{ .page.Name }}
{{end}}
{{define "body"}}
<h1>{{ .page.Name }}</h1>
<h2>Edit page: {{ .page.Name }}</h2>
<form method="POST">
<textarea name="html">{{ .page.Body }}</textarea>
<hr />
<button>Save</button>
2022-03-28 17:14:01 +02:00
<a href="/{{ .page.Name }}/{{ .page.Version }}">Cancel</a>
2022-03-22 16:36:18 +01:00
</form>
{{end}}