14 lines
405 B
HTML
14 lines
405 B
HTML
{{define "page-content"}}
|
|
<h2>Editor</h2>
|
|
<form>
|
|
<input name="editor-title" placeholder="Titel" type="text" />
|
|
<textarea name="editor-desc" placeholder="Beschreibung"></textarea>
|
|
<textarea name="editor-text" placeholder="Artikel"></textarea>
|
|
<input type="submit" value="Senden" hx-post="/finished-edit/" hx-target="#page-content" />
|
|
</form>
|
|
{{end}}
|
|
|
|
{{define "html-result"}}
|
|
{{.}}
|
|
{{end}}
|