Sessions vollständig implementiert

This commit is contained in:
2023-10-30 11:38:56 +01:00
parent 33cbf4b215
commit ba53bba0f6
13 changed files with 257 additions and 162 deletions

View File

@ -4,8 +4,8 @@
Neuer Teilnehmer
</button>
<button type="submit" hx-post="/submit-form/{{.SessionID}}/" hx-target="#content" hx-swap="innerHTML">
Fertig
<button type="submit" hx-post="/submit-form/{{.SessionID}}/" hx-target="#content">
Weiter
</button>
</div>
{{end}}
@ -19,17 +19,17 @@
<form>
<div>
<label for="location">Ort</label>
<input id="location" name="location" required type="text" />
<input id="location" name="location" required type="text" value="Werk Langenhagen" />
</div>
<div>
<label for="document">Dokument</label>
<input id="document" name="document" required type="text" />
<input id="document" name="document" required type="text" value="ICL-1901-LGH" />
</div>
<div>
<label for="as-of">Stand vom</label>
<input id="as-of" name="as-of" required type="date" />
<input id="as-of" name="as-of" required type="date" value="2021-02-01" />
</div>
{{template "add-buttons" .}}