frontend usereditform locale

This commit is contained in:
Alex
2025-02-18 11:36:19 +01:00
parent e11a05a85f
commit 64b368e617

View File

@@ -186,7 +186,9 @@
{:else if localUser} {:else if localUser}
<form class="content" action="?/updateUser" method="POST" use:enhance={handleUpdate}> <form class="content" action="?/updateUser" method="POST" use:enhance={handleUpdate}>
<input name="user[id]" type="hidden" bind:value={localUser.id} /> <input name="user[id]" type="hidden" bind:value={localUser.id} />
<h1 class="step-title" style="text-align: center;">{$t('user.edit')}</h1> <h1 class="step-title" style="text-align: center;">
{localUser.id ? $t('user.edit') : $t('user.create')}
</h1>
{#if form?.success} {#if form?.success}
<h4 <h4
class="step-subtitle warning" class="step-subtitle warning"