translations

This commit is contained in:
Anthony Stirling
2023-08-17 22:03:43 +01:00
parent b666aa3f26
commit 3fc55a9e9f
3 changed files with 15 additions and 10 deletions

View File

@@ -22,9 +22,9 @@
<table class="table">
<thead>
<tr>
<th>Username</th>
<th>Roles</th>
<th>Actions</th>
<th th:text="#{username}">Username</th>
<th th:text="#{adminUserSettings.roles}">Roles</th>
<th th:text="#{adminUserSettings.actions}">Actions</th>
</tr>
</thead>
<tbody>
@@ -39,7 +39,7 @@
</table>
<h2>Add New User</h2>
<h2 th:text="#{adminUserSettings.addUser}">Add New User</h2>
<form action="/admin/saveUser" method="post">
<div class="form-group">
<label for="username" th:text="#{username}">Username</label>
@@ -50,7 +50,7 @@
<input type="password" class="form-control" name="password" required>
</div>
<div class="form-group">
<label for="role">Role</label>
<label for="role" th:text="#{adminUserSettings.role}">Role</label>
<select name="role" class="form-control" required>
<option value="ROLE_ADMIN" th:text="#{adminUserSettings.admin}">Admin</option>
<option value="ROLE_USER" th:text="#{adminUserSettings.user}">User</option>