mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-16 04:11:38 +00:00
fix: remove incorrect labels in radio groups (#269)
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
This commit is contained in:
@@ -91,10 +91,10 @@ export default function Form({ customers }: { customers: CustomerField[] }) {
|
||||
</div>
|
||||
|
||||
{/* Invoice Status */}
|
||||
<div>
|
||||
<label htmlFor="status" className="mb-2 block text-sm font-medium">
|
||||
<fieldset>
|
||||
<legend className="mb-2 block text-sm font-medium">
|
||||
Set the invoice status
|
||||
</label>
|
||||
</legend>
|
||||
<div className="rounded-md border border-gray-200 bg-white px-[14px] py-3">
|
||||
<div className="flex gap-4">
|
||||
<div className="flex items-center">
|
||||
@@ -140,7 +140,7 @@ export default function Form({ customers }: { customers: CustomerField[] }) {
|
||||
))}
|
||||
</div>
|
||||
) : null}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
{state.message ? (
|
||||
<div aria-live="polite" className="my-2 text-sm text-red-500">
|
||||
|
||||
@@ -99,10 +99,10 @@ export default function EditInvoiceForm({
|
||||
</div>
|
||||
|
||||
{/* Invoice Status */}
|
||||
<div>
|
||||
<label htmlFor="status" className="mb-2 block text-sm font-medium">
|
||||
<fieldset>
|
||||
<legend className="mb-2 block text-sm font-medium">
|
||||
Set the invoice status
|
||||
</label>
|
||||
</legend>
|
||||
<div className="rounded-md border border-gray-200 bg-white px-[14px] py-3">
|
||||
<div className="flex gap-4">
|
||||
<div className="flex items-center">
|
||||
@@ -150,7 +150,7 @@ export default function EditInvoiceForm({
|
||||
))}
|
||||
</div>
|
||||
) : null}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
{state.message ? (
|
||||
<div aria-live="polite" className="my-2 text-sm text-red-500">
|
||||
|
||||
@@ -60,10 +60,10 @@ export default function Form({ customers }: { customers: CustomerField[] }) {
|
||||
</div>
|
||||
|
||||
{/* Invoice Status */}
|
||||
<div>
|
||||
<label htmlFor="status" className="mb-2 block text-sm font-medium">
|
||||
<fieldset>
|
||||
<legend className="mb-2 block text-sm font-medium">
|
||||
Set the invoice status
|
||||
</label>
|
||||
</legend>
|
||||
<div className="rounded-md border border-gray-200 bg-white px-[14px] py-3">
|
||||
<div className="flex gap-4">
|
||||
<div className="flex items-center">
|
||||
@@ -98,7 +98,7 @@ export default function Form({ customers }: { customers: CustomerField[] }) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div className="mt-6 flex justify-end gap-4">
|
||||
<Link
|
||||
|
||||
@@ -68,10 +68,10 @@ export default function EditInvoiceForm({
|
||||
</div>
|
||||
|
||||
{/* Invoice Status */}
|
||||
<div>
|
||||
<label htmlFor="status" className="mb-2 block text-sm font-medium">
|
||||
<fieldset>
|
||||
<legend className="mb-2 block text-sm font-medium">
|
||||
Set the invoice status
|
||||
</label>
|
||||
</legend>
|
||||
<div className="rounded-md border border-gray-200 bg-white px-[14px] py-3">
|
||||
<div className="flex gap-4">
|
||||
<div className="flex items-center">
|
||||
@@ -108,7 +108,7 @@ export default function EditInvoiceForm({
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div className="mt-6 flex justify-end gap-4">
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user