12 lines
285 B
HTML
12 lines
285 B
HTML
{{define "page-content"}}
|
|
<form>
|
|
<input type="text" name="editor-title" value="Titel">
|
|
<textarea name="editor-text"></textarea>
|
|
<input type="submit" value="Senden" hx-post="/finished-edit/" hx-target="#page-content">
|
|
</form>
|
|
{{end}}
|
|
|
|
{{define "html-result"}}
|
|
{{.}}
|
|
{{end}}
|