added start_booking, see #14
This commit is contained in:
@ -9,7 +9,10 @@
|
||||
<div class="mainpage">
|
||||
<h1 class="centered cabin">Anmeldung</h1>
|
||||
<h3 class="centered cabin" th:text="'zur ' + ${camp.name} + ' ' + ${camp.year}"></h3>
|
||||
<div class="card centered-card lindaborders" style="max-width: 48rem">
|
||||
<div class="alert alert-warning" style="margin: auto; max-width: 450px" th:unless="${camp.bookingHasStarted}">
|
||||
Die Anmeldung wird erst am <span th:text="${#temporals.format(camp.startBooking, 'dd.MM.yyyy')}"></span> freigeschaltet.
|
||||
</div>
|
||||
<div class="card centered-card lindaborders" style="max-width: 48rem" th:if="${camp.bookingHasStarted}">
|
||||
<div class="card-body">
|
||||
<h1 class="centered cabin">Teilnehmeranmeldung</h1>
|
||||
<form th:action="@{/registration/register}" th:object="${bean}" method="post">
|
||||
@ -143,8 +146,8 @@
|
||||
$("#phone").val(j.phone);
|
||||
$("#email").val(j.email);
|
||||
$("#sex").val(j.sex);
|
||||
$("#birthDate").val(j.birthDate);
|
||||
}
|
||||
$("#birthDate").val(j.birthDate);
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user