summaryrefslogtreecommitdiff
path: root/client/src/pages/Enrollment/FormOne
diff options
context:
space:
mode:
authorBlaster4385 <[email protected]>2022-08-25 11:44:08 +0530
committerBlaster4385 <[email protected]>2022-08-25 11:44:08 +0530
commitfcc4c3374d85b33755f852bcc559db0a8eb5115a (patch)
tree266005279ac7996b479e2cb3b5d48ccebd041290 /client/src/pages/Enrollment/FormOne
parent3450e5ad9c59403b9ad75aa24e71a1b925f7bbcf (diff)
Misc changes and add more translation
Diffstat (limited to 'client/src/pages/Enrollment/FormOne')
-rw-r--r--client/src/pages/Enrollment/FormOne/FormOne.jsx17
1 files changed, 4 insertions, 13 deletions
diff --git a/client/src/pages/Enrollment/FormOne/FormOne.jsx b/client/src/pages/Enrollment/FormOne/FormOne.jsx
index fb37457..4fd2d41 100644
--- a/client/src/pages/Enrollment/FormOne/FormOne.jsx
+++ b/client/src/pages/Enrollment/FormOne/FormOne.jsx
@@ -31,27 +31,18 @@ const FormOne = () => {
}
}, [userData.gender])
+ const description = ['SELECT_YOUR_RESIDENCY_BY_SELECTING_THE_APPROPRIATE_CHECKBOX', 'ENTER_YOUR_FULL_NAME_WITHOUT_ANY_TITLE_OR_SALUTATION', 'SELECT_YOUR_GENDER_BY_CLICKING_ON_THE_APPROPRIATE_CARD', 'SELECT_YOUR_DATE_OF_BIRTH_FROM_THE_PROVIDED_CALENDER']
+
return (
<>
<Header subheading={t('ENROLLMENT')} />
<PopUpModal
- title="Fill your information"
+ title="FILL_YOUR_INFORMATION"
image={`${process.env.PUBLIC_URL}/assets/images/id.svg`}
description={
<>
<ul>
- <li className="list__item">
- Select your residency by selecting the appropriate checkbox
- </li>
- <li className="list__item">
- Enter your full name without any title or salutation
- </li>
- <li className="list__item">
- Select your gender by clicking on the appropriate card
- </li>
- <li className="list__item">
- Select your date of birth from the provided calender
- </li>
+ {description.map((item) => (<li className="list__item" key='id'>{t(item)}</li>))}
</ul>
</>
}