UUID-Element zum Ersetzen des "Einladen"-Buttons erstellt

This commit is contained in:
Jason Streifling 2023-10-10 19:08:59 +02:00
parent 7c7cb5959d
commit 8dbb5f946d

View File

@ -1,3 +1,7 @@
{{ define "uuid" }}
<span>{{ . }}</span>
{{ end }}
{{ define "participant" }}
<div id="participant-{{ . }}">
<label for="participant-first-input-{{ . }}">Vorname</label>
@ -10,7 +14,7 @@
<input type="text" name="participant-company-{{ . }}" id="participant-company-input-{{ . }}" />
<button type="button" hx-post="/generate-uuid/" hx-target="this">
Neuer Teilnehmer
Einladen
</button>
</div>
{{ end }}