Skip to content

Commit

Permalink
Merge pull request #141 from companieshouse/Reqired-change-IDVA5-538
Browse files Browse the repository at this point in the history
Correcting name
  • Loading branch information
abhiahirv1 authored Mar 7, 2024
2 parents 2db1385 + 9da6299 commit 9f71d35
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
4 changes: 2 additions & 2 deletions locales/cy/what-is-your-date-of-birth.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"whereDoYouLiveTitle" : "What is your date of birth? welsh",
"whereDoYouLiveHint" : "For example, 31 3 1980 welsh",
"dateOfBirthTitle" : "What is your date of birth? welsh",
"dateOfBirthHint" : "For example, 31 3 1980 welsh",
"day": "Day welsh",
"month": "Month welsh",
"year": "Year welsh",
Expand Down
4 changes: 2 additions & 2 deletions locales/en/what-is-your-date-of-birth.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"whereDoYouLiveTitle" : "What is your date of birth?",
"whereDoYouLiveHint" : "For example, 31 3 1980",
"dateOfBirthTitle" : "What is your date of birth?",
"dateOfBirthHint" : "For example, 31 3 1980",
"day": "Day",
"month": "Month",
"year": "Year",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,39 +24,42 @@
namePrefix: "dob",
fieldset: {
legend: {
text: i18n.whereDoYouLiveTitle,
text: i18n.dateOfBirthTitle,
isPageHeading: true,
classes: "govuk-fieldset__legend--l"
}
},
hint: {
text: "For example, 31 3 1980"
text: i18n.dateOfBirthHint
},
errorMessage: {
text: errorMessageText
} if errors | length,

items: [
{
name: i18n.day,
name: "day",
classes: "govuk-input--error govuk-input--width-2" if errors else "govuk-input--width-2",
autocomplete: "bday-day",
id: "dob-day",
value: payload["dob-day"]
value: payload["dob-day"],
label: i18n.day
},
{
name: i18n.month,
name: "month",
classes: "govuk-input--error govuk-input--width-2" if errors else "govuk-input--width-2",
autocomplete: "bday-month",
id: "dob-month",
value: payload["dob-month"]
value: payload["dob-month"],
label: i18n.month
},
{
name: i18n.year,
name: "year",
classes: "govuk-input--error govuk-input--width-4" if errors else "govuk-input--width-4",
autocomplete: "bday-year",
id: "dob-year",
value: payload["dob-year"]
value: payload["dob-year"],
label: i18n.year
}
]
}) }}
Expand Down

0 comments on commit 9f71d35

Please sign in to comment.