13 lines
395 B
HTML
13 lines
395 B
HTML
{{define "page-content"}}
|
|
<h2>Neuer Tag</h2>
|
|
|
|
<form>
|
|
<input class="w-full" name="tag" placeholder="Tag eingeben" required type="text" />
|
|
<div class="btn-area">
|
|
<input class="action-btn" type="submit" value="Anlegen" hx-post="/tag/add" hx-target="#page-content" />
|
|
<button class="btn" hx-get="/hub" hx-target="#page-content">Abbrechen</button>
|
|
</div>
|
|
</form>
|
|
|
|
{{end}}
|