Bug fixes (#198)

Level of education other option key was incorrect and year of birth
field going out of the form.
This commit is contained in:
Waheed Ahmed
2021-03-10 00:11:33 +05:00
committed by GitHub
parent 9702fe675e
commit daae34dab6
3 changed files with 7 additions and 3 deletions

View File

@@ -242,6 +242,10 @@ $apple-focus-black: $apple-black;
.opt-inline-field {
display: inline-block;
width: 50%;
.form-control {
width: 100%;
}
}
.opt-year-field {

View File

@@ -20,7 +20,7 @@ export const EDUCATION_LEVELS = [
'jhs',
'el',
'none',
'o',
'other',
];
export const GENDER_OPTIONS = ['', 'f', 'm', 'o'];

View File

@@ -253,8 +253,8 @@ const messages = defineMessages({
defaultMessage: 'No formal education',
description: 'Selected by the user to describe their education.',
},
'registration.field.education.levels.o': {
id: 'registration.field.education.levels.o',
'registration.field.education.levels.other': {
id: 'registration.field.education.levels.other',
defaultMessage: 'Other education',
description: 'Selected by the user if they have a type of education not described by the other choices.',
},