Sessions vollständig implementiert
This commit is contained in:
@ -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" .}}
|
||||
|
Reference in New Issue
Block a user