also respecting day slots
This commit is contained in:
@ -36,6 +36,19 @@
|
||||
<option th:each="a : ${ages}" th:value="${a.pkAge}" th:label="${a.name} + ', ' + ${a.price} + ' € / Tag'"></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-3">Welche Tage</div>
|
||||
<div class="col-sm-9">
|
||||
<input id="day0" type="checkbox" name="active" th:field="*{day0}" class="form-check-input" />
|
||||
<label class="form-check-label" for="day0">Donnerstag</label>
|
||||
<input id="day1" type="checkbox" name="active" th:field="*{day1}" class="form-check-input" />
|
||||
<label class="form-check-label" for="day1">Freitag</label>
|
||||
<input id="day2" type="checkbox" name="active" th:field="*{day2}" class="form-check-input" />
|
||||
<label class="form-check-label" for="day2">Sonnabend</label>
|
||||
<input id="day3" type="checkbox" name="active" th:field="*{day3}" class="form-check-input" />
|
||||
<label class="form-check-label" for="day3">Sonntag</label>
|
||||
<input id="day4" type="checkbox" name="active" th:field="*{day4}" class="form-check-input" />
|
||||
<label class="form-check-label" for="day4">Montag</label>
|
||||
</div>
|
||||
<div class="col-sm-3">Barrierefrei</div>
|
||||
<div class="col-sm-9">
|
||||
<span th:if="${#fields.hasErrors('barrierFree')}" th:errors="*{barrierFree}" class="text-danger"></span>
|
||||
@ -48,17 +61,13 @@
|
||||
<div class="col-sm-9">
|
||||
<textarea th:field="*{nutrition}" class="form-control"></textarea>
|
||||
</div>
|
||||
<div class="col-sm-3">Besonderheiten / Krankheiten</div>
|
||||
<div class="col-sm-9">
|
||||
<textarea th:field="*{diseases}" class="form-control"></textarea>
|
||||
</div>
|
||||
<div class="col-sm-3">Biete Plätze zum Mitfahren</div>
|
||||
<div class="col-sm-9">
|
||||
<input th:field="*{driverProvidePlaces}" type="number" min="0" max="8" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-3">Benötige eine Mitfahrgelegenheit</div>
|
||||
<div class="col-sm-9">
|
||||
<input id="wantPlaceInCar" type="checkbox" name="active" th:checked="*{wantPlaceInCar}" class="form-check-input" />
|
||||
<input id="wantPlaceInCar" type="checkbox" name="active" th:field="*{wantPlaceInCar}" class="form-check-input" />
|
||||
<label class="form-check-label" for="wantPlaceInCar">Ja, brauche ich</label>
|
||||
</div>
|
||||
<div class="col-sm-3">Besonderheiten / Krankheiten</div>
|
||||
@ -67,7 +76,7 @@
|
||||
</div>
|
||||
<div class="col-sm-3">Finanzierungsunterstützung</div>
|
||||
<div class="col-sm-9">
|
||||
<input id="requirePayment" type="checkbox" name="active" th:checked="*{requirePayment}" class="form-check-input" />
|
||||
<input id="requirePayment" type="checkbox" name="active" th:field="*{requirePayment}" class="form-check-input" />
|
||||
<label class="form-check-label" for="requirePayment">Ja, brauche ich</label>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user