mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-29 05:05:42 +00:00
fix: use correct tab order in login form
This commit is contained in:
@@ -51,24 +51,24 @@ export const LoginForm = (props: Props) => {
|
|||||||
name="password"
|
name="password"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="mb-4">
|
<FormItem className="mb-4">
|
||||||
<FormLabel className="flex flex-row justify-between">
|
<div className="relative">
|
||||||
<span>{t("loginPassword")}</span>
|
<FormLabel className="mb-2">{t("loginPassword")}</FormLabel>
|
||||||
|
<FormControl>
|
||||||
|
<Input
|
||||||
|
placeholder={t("loginPassword")}
|
||||||
|
type="password"
|
||||||
|
disabled={loading}
|
||||||
|
{...field}
|
||||||
|
/>
|
||||||
|
</FormControl>
|
||||||
|
<FormMessage />
|
||||||
<a
|
<a
|
||||||
href="/forgot-password"
|
href="/forgot-password"
|
||||||
className="text-muted-foreground font-normal"
|
className="text-muted-foreground text-sm absolute right-0 bottom-10"
|
||||||
>
|
>
|
||||||
{t("forgotPasswordTitle")}
|
{t("forgotPasswordTitle")}
|
||||||
</a>
|
</a>
|
||||||
</FormLabel>
|
</div>
|
||||||
<FormControl>
|
|
||||||
<Input
|
|
||||||
placeholder={t("loginPassword")}
|
|
||||||
type="password"
|
|
||||||
disabled={loading}
|
|
||||||
{...field}
|
|
||||||
/>
|
|
||||||
</FormControl>
|
|
||||||
<FormMessage />
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user