summaryrefslogtreecommitdiff
path: root/ui/lib/components/ChangePassword.svelte
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-01-11 13:34:40 -0500
committerOwen Jacobson <owen@grimoire.ca>2025-01-11 13:34:40 -0500
commitea0392a2bb12c158f9167105752f8fa315cff47d (patch)
treedec4545ccbe44c8e2baf6e633308359f40ac610a /ui/lib/components/ChangePassword.svelte
parent4e3ad13aca163e733724b205c250bdb67cc56c29 (diff)
parent6d51f8568e337e768505ccfdef916b84dd6eb1b3 (diff)
Merge branch 'prop/stylize'
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>