2023-10-28 10:52:06 +02:00
|
|
|
{{define "add-buttons"}}
|
2023-10-26 10:05:21 +02:00
|
|
|
<div id="briefing-buttons">
|
2023-10-28 10:52:06 +02:00
|
|
|
<button type="button" hx-post="/new-participant/{{.SessionID}}/" hx-target="#briefing-buttons" hx-swap="outerHTML">
|
2023-10-26 10:05:21 +02:00
|
|
|
Neuer Teilnehmer
|
|
|
|
</button>
|
|
|
|
|
2023-10-30 11:38:56 +01:00
|
|
|
<button type="submit" hx-post="/submit-form/{{.SessionID}}/" hx-target="#content">
|
|
|
|
Weiter
|
2023-10-26 10:05:21 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
2023-10-28 10:52:06 +02:00
|
|
|
{{end}}
|
2023-10-16 18:51:52 +02:00
|
|
|
|
2023-10-28 10:52:06 +02:00
|
|
|
{{define "new"}}
|
|
|
|
{{template "add-buttons" .}}
|
|
|
|
<p>{{.Login}}</p>
|
|
|
|
{{end}}
|
2023-10-16 18:51:52 +02:00
|
|
|
|
2023-10-28 10:52:06 +02:00
|
|
|
{{define "content"}}
|
2023-10-16 18:51:52 +02:00
|
|
|
<form>
|
2023-10-28 08:01:34 +02:00
|
|
|
<div>
|
2023-10-20 16:33:00 +02:00
|
|
|
<label for="location">Ort</label>
|
2023-10-30 11:38:56 +01:00
|
|
|
<input id="location" name="location" required type="text" value="Werk Langenhagen" />
|
2023-10-20 16:33:00 +02:00
|
|
|
</div>
|
|
|
|
|
2023-10-28 08:01:34 +02:00
|
|
|
<div>
|
|
|
|
<label for="document">Dokument</label>
|
2023-10-30 11:38:56 +01:00
|
|
|
<input id="document" name="document" required type="text" value="ICL-1901-LGH" />
|
2023-10-16 18:51:52 +02:00
|
|
|
</div>
|
|
|
|
|
2023-10-28 08:01:34 +02:00
|
|
|
<div>
|
2023-10-20 16:33:00 +02:00
|
|
|
<label for="as-of">Stand vom</label>
|
2023-10-30 11:38:56 +01:00
|
|
|
<input id="as-of" name="as-of" required type="date" value="2021-02-01" />
|
2023-10-16 18:51:52 +02:00
|
|
|
</div>
|
|
|
|
|
2023-10-28 10:52:06 +02:00
|
|
|
{{template "add-buttons" .}}
|
2023-10-16 18:51:52 +02:00
|
|
|
</form>
|
2023-10-28 10:52:06 +02:00
|
|
|
{{end}}
|