Skip to content
Snippets Groups Projects
kunde.html 1.37 KiB
<!DOCTYPE html>
<html lang="de" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:include="head::head"></head>
<body class="container">

	<div class="container-fluid">
		<h1><img th:src="@{/photos/logo.png}" alt="Logo" width="470" height="150"/></h1>
	</div>
	
			

	<nav th:include="menu::menu"></nav>
	<div class="container-fluid"><h2 th:text="${title3}">Formular</h2></div>
	<div class="container-fluid">
		<form method="post" action="save" th:object="${kunde}">
			 <div><input type="hidden" name="id" th:value="*{id}" /></div>
			<div class="form-group">
				<label for="vorname">Vorname</label>
				<input type="text" class="form-control" id="vorname"
					placeholder="Vorname" name="vorname" th:value="*{vorname}" />
			</div>
			<div class="form-group">
				<label for="nachname">Nachname</label>
				<input type="text" class="form-control" id="nachname"
					placeholder="Nachname" name="nachname" th:value="*{nachname}" />
			</div>
			<div class="form-group">
				<label for="telefon">Telefonnummer</label> <input type="tel"
					class="form-control" id="telefon" name="telefon"
					th:value="*{telefon}" />
			</div>
			<button type="submit" class="btn btn-default">Kundendaten speichern</button>
			 <a class="navbar-brand" th:href="@{~/buchung/edit2}">weiter zur Buchung </a>
		</form>
	</div> 
	
	<div th:include="foot::foot"></div>
	
</body>
</html>