fix: 修正表單標籤結構,將文本包裝在 span 中以改善可讀性
This commit is contained in:
parent
443cdaa01c
commit
31088cf12b
1 changed files with 6 additions and 6 deletions
|
|
@ -450,8 +450,8 @@ export const user = new Elysia()
|
||||||
<article class="article">
|
<article class="article">
|
||||||
<form method="post" class="flex flex-col gap-4">
|
<form method="post" class="flex flex-col gap-4">
|
||||||
<fieldset class="mb-4 flex flex-col gap-4">
|
<fieldset class="mb-4 flex flex-col gap-4">
|
||||||
<label class="flex flex-col gap-1" safe>
|
<label class="flex flex-col gap-1">
|
||||||
{t("auth", "email")}
|
<span safe>{t("auth", "email")}</span>
|
||||||
<input
|
<input
|
||||||
type="email"
|
type="email"
|
||||||
name="email"
|
name="email"
|
||||||
|
|
@ -462,8 +462,8 @@ export const user = new Elysia()
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<label class="flex flex-col gap-1" safe>
|
<label class="flex flex-col gap-1">
|
||||||
{t("auth", "newPassword")}
|
<span safe>{t("auth", "newPassword")}</span>
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
name="newPassword"
|
name="newPassword"
|
||||||
|
|
@ -472,8 +472,8 @@ export const user = new Elysia()
|
||||||
autocomplete="new-password"
|
autocomplete="new-password"
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<label class="flex flex-col gap-1" safe>
|
<label class="flex flex-col gap-1">
|
||||||
{t("auth", "currentPassword")}
|
<span safe>{t("auth", "currentPassword")}</span>
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
name="password"
|
name="password"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue