2022-10-30 17:07:40 +00:00
|
|
|
{{define "title"}}Sprechstunde löschen{{end}}
|
|
|
|
|
|
|
|
{{define "content"}}
|
2023-07-09 13:40:25 +00:00
|
|
|
<div class="col-md-8 offset-md-2">
|
|
|
|
{{ if .Error }}
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<strong>Fehler:</strong> {{.Error}}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-10-30 17:07:40 +00:00
|
|
|
|
2023-07-09 13:40:25 +00:00
|
|
|
<p>
|
|
|
|
Willst du die Sprechstunde<br>
|
|
|
|
{{printf "%02d" .OfficeHour.Date.Hour}}:{{printf "%02d" .OfficeHour.Date.Minute}} - {{printf "%02d" .OfficeHour.EndDate.Hour}}:{{printf "%02d" .OfficeHour.EndDate.Minute}}<br>
|
|
|
|
{{if eq .OfficeHour.Date.Week 1}}in ungeraden Vorlesungswochen<br>{{end}}{{if eq .OfficeHour.Date.Week 2}}in geraden Vorlesungswochen<br>{{end}}
|
|
|
|
{{.OfficeHour.Course.Name}}<br>
|
|
|
|
{{.OfficeHour.Tutor.Name}}<br>
|
|
|
|
{{.OfficeHour.Room.Name}}<br>
|
|
|
|
wirklich löschen? Bitte bestätige dies durch Angabe der Mailadresse, mit der die Sprechstunde angelegt wurde:
|
|
|
|
</p>
|
|
|
|
<form method="POST" action="deleteOfficeHour">
|
|
|
|
<input type="hidden" name="id" value="{{.OfficeHour.Id}}">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="form-floating">
|
|
|
|
<input class="form-control required" name="email" id="email" type="email" size="50" required placeholder="">
|
|
|
|
<label for="email">Email-Adresse</label>
|
|
|
|
</div>
|
|
|
|
<button class="btn btn-outline-primary" type="submit">Bestätigen</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2022-10-30 17:07:40 +00:00
|
|
|
{{end}}
|