2024-02-18 10:07:49 +01:00
|
|
|
{{define "page-content"}}
|
2024-02-24 09:54:25 +01:00
|
|
|
<h2>Editor</h2>
|
2024-02-18 10:07:49 +01:00
|
|
|
<form>
|
2024-02-24 09:54:25 +01:00
|
|
|
<input name="editor-title" placeholder="Titel" type="text" />
|
|
|
|
<textarea name="editor-desc" placeholder="Beschreibung"></textarea>
|
|
|
|
<textarea name="editor-text" placeholder="Artikel"></textarea>
|
2024-02-24 15:31:33 +01:00
|
|
|
<input type="submit" value="Senden" hx-post="/finish-edit/" hx-target="#page-content" />
|
2024-02-18 10:07:49 +01:00
|
|
|
</form>
|
|
|
|
{{end}}
|
2024-02-18 10:48:37 +01:00
|
|
|
|
|
|
|
{{define "html-result"}}
|
|
|
|
{{.}}
|
|
|
|
{{end}}
|