wikingo/views/edit.html

15 lines
346 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>
<a href="/{{ .page.Name }}">Cancel</a>
</form>
{{end}}