Jottyfan
2022-10-22 17:22:52 +02:00
parent a605c3c8f6
commit 796624eebd
6 changed files with 41 additions and 15 deletions

View File

@ -89,7 +89,7 @@
<div class="row mb-2">
<label for="outputCamprole" class="col-sm-2 col-form-label">Rolle</label>
<div class="col-sm-10">
<select class="outputCamprole form-select locked" th:field="*{camprole}" disabled="disabled">
<select class="outputCamprole form-select" th:field="*{camprole}">
<option value="student">Teilnehmer</option>
<option value="teacher">Mitarbeiter</option>
<option value="director">Leiter</option>
@ -112,11 +112,14 @@
<div class="row mb-2">
<label for="inputAccept" class="col-sm-2 col-form-label">Status</label>
<div class="col-sm-10">
<select class="form-select" th:field="*{accept}">
<option th:value="null">offen</option>
<option th:value="true">bestätigt</option>
<option th:value="false">abgelehnt</option>
</select>
<div class="form-group">
<input type="radio" class="btn-check" id="accept1" name="accept1" value="" th:field="*{accept}" />
<label class="btn btn-outline-primary" for="accept1"><i class="fas fa-question"></i>&nbsp;offen</label>
<input type="radio" class="btn-check" id="accept2" name="accept2" value="true" th:field="*{accept}" />
<label class="btn btn-outline-success" for="accept2"><i class="fas fa-check"></i>&nbsp;bestätigt</label>
<input type="radio" class="btn-check" id="accept3" name="accept3" value="false" th:field="*{accept}" />
<label class="btn btn-outline-danger" for="accept3"><i class="fas fa-ban"></i>&nbsp;abgelehnt</label>
</div>
</div>
</div>
<div class="row mb-2">