<!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"> <body class="container" style="background-image: url('/photos/background.jpg'); background-position:center; background-repeat:no-repeat; background-size:cover;"> <div class="container-fluid"> <h1><img th:src="@{/photos/logo.png}" alt="Logo" width="470" height="150"/></h1> </div> <div style="background-color: white; opacity:0.8;"> <nav th:include="menu::menu" ></nav> </div> <br> <br> <div style="background-color: white; opacity:1"> <div class="container-fluid"><h2 th:text="${title}">Formular</h2></div> <div class="container"><p th:text="${message}">Nachricht</p></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> <div class="form-group"> <label for="email">E-Mail Adresse</label> <input type="text" class="form-control" id="email" name="email" th:value="*{email}" /> </div> <div class="form-group"> <input type="hidden" name="zimmerid" th:value="${zimmer.id}" /> </div> <button class="btn btn-primary mt-5" th:href="@{~/buchung/edit2(kundenid=*{id}),(zimmerid=*{zimmerid})}">weiter zur Buchung </button> <a th:href="@{/buchung/findAll}" class="btn btn-primary mt-5">Zurück zur Zimmerauswahl</a> </form> </div> <br> <br> <div th:include="foot::foot"></div> </div> </body> </html>