From c65aa8d21852b5082884c974f8e88f2914591458 Mon Sep 17 00:00:00 2001 From: Ian Mayo Date: Tue, 6 Aug 2024 15:20:39 +0100 Subject: [PATCH] Improve HTML structure to avoid `embedded p's` warning --- src/resources/users/UserForm.tsx | 101 +++++++++++++++---------------- 1 file changed, 48 insertions(+), 53 deletions(-) diff --git a/src/resources/users/UserForm.tsx b/src/resources/users/UserForm.tsx index 2fd16f9a..583adbc2 100644 --- a/src/resources/users/UserForm.tsx +++ b/src/resources/users/UserForm.tsx @@ -284,64 +284,59 @@ export default function UserForm({ isEdit }: FormProps): React.ReactElement { -

- - Departure Date - {' '} - This is the date when the user will no longer be able to log into VAL. - If the user needs to be reactivated, this date can be updated. -

- -

- - Password - {' '} - The password should include these items: -

-

-

- - User Role - - The above user roles have these permissions in VAL: -

-

+ + Departure Date + {' '} + This is the date when the user will no longer be able to log into VAL. + If the user needs to be reactivated, this date can be updated. +
+ + Password + {' '} + The password should include these items: + + + User Role + {' '} + The above user roles have these permissions in VAL: +
)