swt23w23/src/main/resources/templates/edit-customer.html
Simon Bruder 0f4b174460
Remove duplicate title elements
The title element should only be set by the layout template.
2023-11-21 18:00:35 +01:00

24 lines
809 B
HTML

<!DOCTYPE html>
<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')}">
<head>
</head>
<body>
<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>
<div class="mb-3">
<label class="form-label" for="address">Adresse</label>
<input class="form-control" type="text" name="address" th:value="${customer.address}"/>
</div>
<button class="btn btn-primary" type="submit">Speichern</button>
</form>
</div>
</body>
</html>