mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
34 lines
764 B
HTML
34 lines
764 B
HTML
|
<!DOCTYPE html>
|
||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<title>Kunde Bearbeiten</title>
|
||
|
|
||
|
<link
|
||
|
rel="stylesheet"
|
||
|
th:href="@{/resources/css/customer/edit-style.css}"
|
||
|
/>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="edit-customer-form">
|
||
|
<h2>Kunde Bearbeiten</h2>
|
||
|
<form
|
||
|
th:action="@{/customer/update}"
|
||
|
th:object="${customer}"
|
||
|
method="post"
|
||
|
>
|
||
|
<input type="hidden" th:field="*{id}" />
|
||
|
|
||
|
<label for="name">Name:</label>
|
||
|
<input type="text" th:field="*{name}" required />
|
||
|
|
||
|
<label for="surname">Nachname:</label>
|
||
|
<input type="text" th:field="*{surname}" required />
|
||
|
|
||
|
<button type="submit">Save</button>
|
||
|
</form>
|
||
|
<a th:href="@{/customer}" class="button">Cancel</a>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|