Button zum Generieren einer UUID hinzugefügt
This commit is contained in:
parent
f80dca4b10
commit
2beb90a345
@ -8,6 +8,10 @@
|
||||
|
||||
<label for="participant-company-input-{{ . }}">Firma</label>
|
||||
<input type="text" name="participant-company-{{ . }}" id="participant-company-input-{{ . }}" />
|
||||
|
||||
<button type="button" hx-post="/generate-uuid/" hx-target="this">
|
||||
Neuer Teilnehmer
|
||||
</button>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
@ -43,7 +47,7 @@
|
||||
|
||||
<div id="participants">
|
||||
<button type="button" hx-post="/add-participant/" hx-target="#participants" hx-swap="beforeend" hx-trigger="click">
|
||||
+
|
||||
Neuer Teilnehmer
|
||||
</button>
|
||||
|
||||
{{ template "participant" . }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user