31 lines
1.7 KiB
HTML
31 lines
1.7 KiB
HTML
<!DOCTYPE HTML>
|
|
<html xmlns:th="http://www.thymeleaf.org">
|
|
<head>
|
|
<title th:text="#{financer.account-edit.title}"/>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link th:if="${darkMode}" rel="stylesheet" th:href="@{/css/darkModeColors.css}" />
|
|
<link th:if="${!darkMode}" rel="stylesheet" th:href="@{/css/lightModeColors.css}" />
|
|
<link rel="stylesheet" th:href="@{/css/main.css}">
|
|
<link rel="shortcut icon" th:href="@{/favicon.ico}" />
|
|
</head>
|
|
<body>
|
|
<h1 th:text="#{financer.heading.account-edit}" />
|
|
<span class="errorMessage" th:if="${errorMessage != null}" th:text="#{'financer.error-message.' + ${errorMessage}}"/>
|
|
<a th:href="@{/accountOverview}" th:text="#{financer.cancel-back-to-overview}"/>
|
|
<form id="edit-account-form" action="#" th:action="@{/editAccount}" th:object="${form}" method="post">
|
|
<label for="inputKey" th:text="#{financer.account-edit.label.key}"/>
|
|
<input type="text" id="inputKey" th:field="*{key}" />
|
|
<label for="selectGroup" th:text="#{financer.account-edit.label.group}"/>
|
|
<select id="selectGroup" th:field="*{group}">
|
|
<option th:each="group : ${accountGroups}" th:value="${group.name}" th:text="${group.name}"/>
|
|
</select>
|
|
<label for="inputRegexps" th:text="#{financer.account-edit.label.upload-match-regexps}"/>
|
|
<textarea type="text" id="inputRegexps" th:field="*{regexps}" rows="8" cols="70"/>
|
|
<input type="hidden" id="inputId" th:field="*{id}"/>
|
|
<input type="hidden" id="originalKey" th:field="*{originalKey}"/>
|
|
<input type="submit" th:value="#{financer.account-edit.submit}" />
|
|
</form>
|
|
<div th:replace="includes/footer :: footer"/>
|
|
</body>
|
|
</html> |