Cleaned up templates
This commit is contained in:
@ -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}}
|
||||
|
Reference in New Issue
Block a user