This commit is contained in:
Alex
2024-10-13 12:21:27 +02:00
parent 56a28bbff7
commit 975e3121a5
3 changed files with 18 additions and 7 deletions

View File

@@ -161,7 +161,7 @@
use:enhance={handleUpdate}
>
<input name="id" type="number" hidden bind:value={user.id} />
<h1 class="step-title" style="text-align: center;">{$t("user_edit")}</h1>
<h1 class="step-title" style="text-align: center;">{$t("user.edit")}</h1>
{#if form?.success}
<h4
class="step-subtitle warning"
@@ -218,7 +218,7 @@
<InputField
name="role_id"
type="select"
label={$t("user_role")}
label={$t("user.role")}
bind:value={user.role_id}
options={userRoleOptions}
/>