107 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			107 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html th:replace="~{template :: layout(~{::title}, ~{::libs}, ~{::header}, ~{::content})}" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
 | 
						|
<head>
 | 
						|
<title>Camp Organizer 2</title>
 | 
						|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 | 
						|
<libs></libs>
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
	<header>
 | 
						|
		<a th:href="@{/}" class="btn btn-secondary btn-icon-silent" target="_blank">Startseite laden</a>
 | 
						|
	</header>
 | 
						|
	<content>
 | 
						|
	<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" style="max-width: 48rem">
 | 
						|
			<div class="card-body">
 | 
						|
				<form th:action="@{/registration/register}" th:object="${bean}" method="post">
 | 
						|
					<input type="hidden" th:field="*{fkCamp}" />
 | 
						|
					<div class="container">
 | 
						|
						<div class="row">
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<input type="text" class="form-control" placeholder="Vorname" th:field="*{forename}" />
 | 
						|
							</div>
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<input type="text" class="form-control" placeholder="Nachname" th:field="*{surname}" />
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
						<div class="row">
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<select class="form-select" th:field="*{sex}">
 | 
						|
									<option value="">Geschlecht</option>
 | 
						|
									<option value="female">weiblich</option>
 | 
						|
									<option value="male">männlich</option>
 | 
						|
								</select>
 | 
						|
							</div>
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<input type="date" class="form-control" placeholder="Geburtsdatum"  th:field="*{birthDate}" />
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
						<div class="row">
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<input type="text" class="form-control" placeholder="Straße und Hausnummer" th:field="*{street}" />
 | 
						|
							</div>
 | 
						|
							<div class="col-sm-2 rowdist">
 | 
						|
								<input type="text" class="form-control" placeholder="PLZ" th:field="*{zip}" />
 | 
						|
							</div>
 | 
						|
							<div class="col-sm-4 rowdist">
 | 
						|
								<input type="text" class="form-control" placeholder="Ort" th:field="*{city}" />
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
						<div class="row">
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<input type="text" class="form-control" placeholder="E-Mail" th:field="*{email}" />
 | 
						|
							</div>
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<input type="text" class="form-control" placeholder="Telefonnummer" th:field="*{phone}" />
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
						<div class="row">
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<span>mitkommen als</span>
 | 
						|
							</div>
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<select class="form-select" th:field="*{campRole}">
 | 
						|
									<option value="student">Teilnehmer</option>
 | 
						|
									<option value="teacher">Mitarbeiter</option>
 | 
						|
									<option value="feeder">Küchenteam</option>
 | 
						|
									<option value="director">Leiter</option>
 | 
						|
								</select>
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
						<div class="row">
 | 
						|
							<div class="col-sm-12 rowdist">
 | 
						|
								<textarea class="form-control" placeholder="Sonstiges" th:field="*{comment}"></textarea>
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
						<div class="row">
 | 
						|
							<div class="col-sm-12 rowdist">
 | 
						|
								<div class="form-check" title="Die Anmeldedaten können in den Kontoeinstellungen bearbeitet und für die nächsten Freizeitanmeldungen verwendet werden.">
 | 
						|
									<input id="save" type="checkbox" class="form-check-input" th:field="*{registerInKeycloak}" onchange="$('#createlogin').toggle();" />
 | 
						|
									<label class="form-check-label" for="save">Anmeldedaten speichern</label>
 | 
						|
								</div>
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
						<div id="createlogin" class="row">
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<input type="text" class="form-control" placeholder="Login" th:field="*{login}" />
 | 
						|
							</div>
 | 
						|
							<div class="col-sm-6 rowdist">
 | 
						|
								<input type="password" class="form-control" placeholder="Passwort" th:field="*{password}" />
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
						<div class="row">
 | 
						|
							<div class="col-sm-12 rowdist centered">
 | 
						|
								<input type="submit" class="btn btn-outline-secondary" value="jetzt anmelden" />
 | 
						|
							</div>
 | 
						|
						</div>
 | 
						|
					</div>
 | 
						|
				</form>
 | 
						|
			</div>
 | 
						|
		</div>
 | 
						|
	</div>
 | 
						|
	</content>
 | 
						|
</body>
 | 
						|
</html>
 |