UUID-Element zum Ersetzen des "Einladen"-Buttons erstellt
This commit is contained in:
parent
7c7cb5959d
commit
8dbb5f946d
@ -1,3 +1,7 @@
|
|||||||
|
{{ define "uuid" }}
|
||||||
|
<span>{{ . }}</span>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ define "participant" }}
|
{{ define "participant" }}
|
||||||
<div id="participant-{{ . }}">
|
<div id="participant-{{ . }}">
|
||||||
<label for="participant-first-input-{{ . }}">Vorname</label>
|
<label for="participant-first-input-{{ . }}">Vorname</label>
|
||||||
@ -10,7 +14,7 @@
|
|||||||
<input type="text" name="participant-company-{{ . }}" id="participant-company-input-{{ . }}" />
|
<input type="text" name="participant-company-{{ . }}" id="participant-company-input-{{ . }}" />
|
||||||
|
|
||||||
<button type="button" hx-post="/generate-uuid/" hx-target="this">
|
<button type="button" hx-post="/generate-uuid/" hx-target="this">
|
||||||
Neuer Teilnehmer
|
Einladen
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user