summaryrefslogtreecommitdiff
path: root/ui/lib/components/ChangePassword.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'ui/lib/components/ChangePassword.svelte')
-rw-r--r--ui/lib/components/ChangePassword.svelte14
1 files changed, 3 insertions, 11 deletions
diff --git a/ui/lib/components/ChangePassword.svelte b/ui/lib/components/ChangePassword.svelte
index 1e48bee..bf94ea7 100644
--- a/ui/lib/components/ChangePassword.svelte
+++ b/ui/lib/components/ChangePassword.svelte
@@ -22,11 +22,10 @@
}
</script>
-<form {onsubmit} bind:this={form}>
+<form class="form" {onsubmit} bind:this={form}>
<label
>current password
<input
- class="input"
name="currentPassword"
type="password"
placeholder="password"
@@ -36,19 +35,12 @@
<label
>new password
- <input
- class="input"
- name="newPassword"
- type="password"
- placeholder="password"
- bind:value={newPassword}
- />
+ <input name="newPassword" type="password" placeholder="password" bind:value={newPassword} />
</label>
<label
>confirm new password
<input
- class="input"
name="confirmPassword"
type="password"
placeholder="password"
@@ -56,5 +48,5 @@
/>
</label>
- <button class="btn bg-orange-500 mt-4" type="submit" {disabled}>change password</button>
+ <button type="submit" {disabled}>change password</button>
</form>