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:
-
- - At least 10 characters in length
- - Upper and lower case letters
- - At least one digit
- - At least one special character
-
-
-
-
- User Role
-
- The above user roles have these permissions in VAL:
-
- -
- None this user can log into VAL, but cannot make any
- changes to any data
-
- -
- RCO-User can perform all VAL processes (including setting
- temporary passwords), with the exception of editing some rarely
- changing drop-down lists
-
- -
- RCO-Power-User can perform all processes of RCO-User, plus
- can modify drop-down lists (such as media-type or vault-location)
-
-
-
+
+ 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:
+
+ - At least 10 characters in length
+ - Upper and lower case letters
+ - At least one digit
+ - At least one special character
+
+
+ User Role
+ {' '}
+ The above user roles have these permissions in VAL:
+
+ -
+ None this user can log into VAL, but cannot make any changes
+ to any data
+
+ -
+ RCO-User can perform all VAL processes (including setting
+ temporary passwords), with the exception of editing some rarely
+ changing drop-down lists
+
+ -
+ RCO-Power-User can perform all processes of RCO-User, plus
+ can modify drop-down lists (such as media-type or vault-location)
+
+
)