role corrections
This commit is contained in:
		| @@ -30,8 +30,7 @@ | ||||
| 									<span class="error"	th:each="error : ${#fields.errors('sex')}">[[${error}]]<br /></span> | ||||
| 									<select th:field="*{sex}" th:class="${'form-select ' + (#fields.hasErrors('sex') ? 'inputerror' : '')}"> | ||||
| 										<option value="">Geschlecht</option> | ||||
| 										<option value="female">weiblich</option> | ||||
| 										<option value="male">männlich</option> | ||||
| 										<option th:each="o : ${sexes}" th:value="${o.key}" th:text="${o.value}"></option> | ||||
| 									</select> | ||||
| 								</div> | ||||
| 								<div class="col-sm-6 rowdist"> | ||||
| @@ -70,11 +69,7 @@ | ||||
| 								<div class="col-sm-6 rowdist"> | ||||
| 									<span class="error"	th:each="error : ${#fields.errors('campRole')}">[[${error}]]<br /></span> | ||||
| 									<select th:field="*{campRole}" th:class="${'form-select' + (#fields.hasErrors('campRole') ? 'inputerror' : '')}"> | ||||
| 										<option value="student">Teilnehmer</option> | ||||
| 										<option value="teacher">Mitarbeiter</option> | ||||
| 										<option value="feeder">Küchenteam</option> | ||||
| 										<option value="director">Leiter</option> | ||||
| 										<option value="observer">Mitarbeiterkind</option> | ||||
| 										<option th:each="o : ${roles}" th:value="${o.key}" th:text="${o.value}"></option> | ||||
| 									</select> | ||||
| 								</div> | ||||
| 							</div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user