Cleaned up templates

This commit is contained in:
2024-03-28 08:41:38 +01:00
parent 77a90cb4f1
commit 600044c621
11 changed files with 121 additions and 61 deletions

View File

@ -1,8 +1,10 @@
{{define "page-content"}}
<h2>Neuer Benutzer</h2>
<form>
<input required name="tag" placeholder="Tag" type="text" />
<input type="submit" value="Anlegen" hx-post="/add-tag/" hx-target="#page-content" />
</form>
<button hx-get="/hub/" hx-target="#page-content">Abbrechen</button>
{{end}}