Der Umstieg auf Sessions ist weitgehend geglückt
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
{{ define "content" }}
|
||||
<form id="participant-{{ . }}">
|
||||
<label for="participant-first-input-{{ . }}">Vorname</label>
|
||||
<input type="text" name="participant-first-{{ . }}" id="participant-first-input-{{ . }}" />
|
||||
<form>
|
||||
<label for="first-{{ .Login }}">Vorname</label>
|
||||
<input type="text" name="first-{{ .Login }}" id="first-{{ .Login }}" />
|
||||
|
||||
<label for="participant-last-input-{{ . }}">Nachname</label>
|
||||
<input type="text" name="participant-last-{{ . }}" id="participant-last-input-{{ . }}" />
|
||||
<label for="last-{{ .Login }}">Nachname</label>
|
||||
<input type="text" name="last-{{ .Login }}" id="last-{{ .Login }}" />
|
||||
|
||||
<label for="participant-company-input-{{ . }}">Firma</label>
|
||||
<input type="text" name="participant-company-{{ . }}" id="participant-company-input-{{ . }}" />
|
||||
<label for="company-{{ .Login }}">Firma</label>
|
||||
<input type="text" name="company-{{ .Login }}" id="company-{{ .Login }}" />
|
||||
|
||||
<button type="button" hx-post="/display-question-{{ . }}-0/" hx-target="#content">
|
||||
<button type="button" hx-post="/submit-participant/{{ .SessionID }}/{{ .Login }}/" hx-target="#content">
|
||||
Fertig
|
||||
</button>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user