{{ define "content" }} <form id="participant-{{ . }}"> <label for="participant-first-input-{{ . }}">Vorname</label> <input type="text" name="participant-first-{{ . }}" id="participant-first-input-{{ . }}" /> <label for="participant-last-input-{{ . }}">Nachname</label> <input type="text" name="participant-last-{{ . }}" id="participant-last-input-{{ . }}" /> <label for="participant-company-input-{{ . }}">Firma</label> <input type="text" name="participant-company-{{ . }}" id="participant-company-input-{{ . }}" /> <button type="button" hx-post="/display-question-{{ . }}-0/" hx-target="#content"> Fertig </button> </form> {{ end }}