2023-11-10 17:09:39 +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='Personal bearbeiten')}">
|
2023-11-10 17:09:39 +01:00
|
|
|
<head>
|
|
|
|
<title>Personal Bearbeiten</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" th:href="@{/resources/css/staff/edit-style.css}" />
|
|
|
|
</head>
|
|
|
|
<body>
|
2023-11-13 20:09:39 +01:00
|
|
|
<section layout:fragment="content">
|
|
|
|
<div class="edit-staff-form">
|
|
|
|
<h2>Personal Bearbeiten</h2>
|
|
|
|
<form th:action="@{/staff/update}" th:object="${staff}" method="post">
|
|
|
|
<input type="hidden" th:field="*{id}" />
|
2023-11-10 17:09:39 +01:00
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<label for="name">Name:</label>
|
|
|
|
<input type="text" th:field="*{name}" required />
|
2023-11-10 17:09:39 +01:00
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<label for="surname">Nachname:</label>
|
|
|
|
<input type="text" th:field="*{surname}" required />
|
2023-11-10 17:09:39 +01:00
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<label for="job">Beruf:</label>
|
|
|
|
<input type="text" th:field="*{job}" required />
|
2023-11-10 17:09:39 +01:00
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<button type="submit">Save</button>
|
|
|
|
</form>
|
|
|
|
<a th:href="@{/staff}" class="button">Cancel</a>
|
|
|
|
</div>
|
|
|
|
</section>
|
2023-11-10 17:09:39 +01:00
|
|
|
</body>
|
|
|
|
</html>
|