Added ability to login

This commit is contained in:
2024-02-24 09:54:25 +01:00
parent 7d6f96a185
commit 9beedf9b2b
7 changed files with 102 additions and 46 deletions

View File

@ -1,9 +1,10 @@
{{define "page-content"}}
<h2>Editor</h2>
<form>
<input type="text" name="editor-title" value="Titel">
<textarea name="editor-desc"></textarea>
<textarea name="editor-text"></textarea>
<input type="submit" value="Senden" hx-post="/finished-edit/" hx-target="#page-content">
<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}}