swt23w23/src/main/resources/templates/edit-customer.html

28 lines
1,019 B
HTML
Raw Normal View History

2023-11-10 17:10:24 +01:00
<!DOCTYPE html>
2023-11-13 20:09:39 +01:00
<html xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Kunde bearbeiten')}">
2023-11-10 17:10:24 +01:00
<head>
</head>
<body>
2023-11-15 17:27:04 +01:00
<div layout:fragment="content">
<form method="post">
<div class="mb-3">
<label class="form-label" for="username">Nutzername</label>
<input class="form-control" type="text" name="username" th:value="${customer.username}"/>
</div>
2023-11-21 22:30:17 +01:00
<div class="mb-3">
<label class="form-label" for="fullName">Name</label>
<input class="form-control" type="fullName" name="fullName" th:value="${customer.fullName}"/>
</div>
2023-11-15 17:27:04 +01:00
<div class="mb-3">
<label class="form-label" for="address">Adresse</label>
2023-11-21 22:30:17 +01:00
<textarea class="form-control" name="address" th:text="${customer.address}" rows="3" required></textarea>
2023-11-15 17:27:04 +01:00
</div>
<button class="btn btn-primary" type="submit">Speichern</button>
</form>
</div>
2023-11-10 17:10:24 +01:00
</body>
</html>