start booking with time now
This commit is contained in:
		| @@ -120,7 +120,8 @@ | ||||
| 							</div> | ||||
| 							<label for="startBooking" class="col-sm-2 col-form-label mb-2">Buchungsbeginn</label> | ||||
| 							<div class="col-sm-4 mb-2"> | ||||
| 								<span class="error" th:each="error : ${#fields.errors('startBooking')}">[[${error}]]<br /></span> <input id="startBooking" type="date" th:field="*{startBooking}" | ||||
| 								<span class="error" th:each="error : ${#fields.errors('startBooking')}">[[${error}]]<br /></span> | ||||
| 								<input id="startBooking" type="datetime-local" th:field="*{startBooking}" | ||||
| 									th:class="${'form-control ' + (#fields.hasErrors('startBooking') ? 'inputerror' : '')}" /> | ||||
| 							</div> | ||||
| 							<label for="inputBedsFemale" class="col-sm-2 col-form-label mb-2">Anzahl Betten für Mädchen</label> | ||||
|   | ||||
| @@ -47,7 +47,7 @@ | ||||
| 							</div> | ||||
| 							<div class="row g-5" th:unless="${c.bookingHasStarted}"> | ||||
| 								<div class="col-12 alert alert-info" role="alert"> | ||||
| 								  Die Anmeldung wird erst am <span th:text="${#temporals.format(c.startBooking, 'dd.MM.yyyy, um HH:mm')}"></span> Uhr, freigeschaltet. | ||||
| 								  Die Anmeldung wird erst am <span th:text="${#temporals.format(c.startBooking, 'dd.MM.yyyy, HH:mm')}"></span> Uhr, freigeschaltet. | ||||
| 								</div> | ||||
| 							</div> | ||||
| 						</div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user