start booking with time now

This commit is contained in:
Jottyfan
2025-03-23 22:32:26 +01:00
parent 92970d8c63
commit 2b2246f2de
5 changed files with 11 additions and 13 deletions

View File

@ -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>