Fehler in participant.html behoben, bei dem auf {{ .ID }} statt {{ . }} zugegriffen wurde
This commit is contained in:
parent
cb6f83139f
commit
babbe137e4
@ -50,7 +50,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit" hx-post="/submit/" hx-target="#participants" hx-swap="beforeend" hx-trigger="click">
|
<button type="submit" hx-post="/submit/">
|
||||||
Senden
|
Senden
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{{ define "participant" }}
|
{{ define "participant" }}
|
||||||
<div id="participant-{{ .ID }}">
|
<div id="participant-{{ . }}">
|
||||||
<label for="participant-first-input-{{ .ID }}">Vorname</label>
|
<label for="participant-first-input-{{ . }}">Vorname</label>
|
||||||
<input type="text" name="participant-first" id="participant-first-input-{{ .ID }}" />
|
<input type="text" name="participant-first" id="participant-first-input-{{ . }}" />
|
||||||
|
|
||||||
<label for="participant-last-input-{{ .ID }}">Nachname</label>
|
<label for="participant-last-input-{{ . }}">Nachname</label>
|
||||||
<input type="text" name="participant-last" id="participant-last-input-{{ .ID }}" />
|
<input type="text" name="participant-last" id="participant-last-input-{{ . }}" />
|
||||||
|
|
||||||
<label for="participant-company-input-{{ .ID }}">Firma</label>
|
<label for="participant-company-input-{{ . }}">Firma</label>
|
||||||
<input type="text" name="participant-company" id="participant-company-input-{{ .ID }}" />
|
<input type="text" name="participant-company" id="participant-company-input-{{ . }}" />
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user