-
Notifications
You must be signed in to change notification settings - Fork 1
Add teacher license form for Ghana #2379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Review app deployed to https://apply-for-qts-review-2379-web.test.teacherservices.cloud/personas |
bdc3469
to
e669154
Compare
This adds a form for capturing the registration number for Ghana which follows a very specific format.
We want a different title for Ghanian applicants.
We need a separate view as the interface will be different.
The Registration number, also known as the license number for Ghanaian specific applicants is a 3 part alphanumeric which has a specific format. To make it easier for applicants to not make mistakes when entering this number, we have decided to change the UI with additional validations in place to guide users. Note: As part of this work a new grouped input had to be introduced with inspiration taken from the GOV design systems date field. Since, this is a custom group of inputs, there are no helpers available and as a result of this, custom input fields with GOV design system classes have been used to replicate the desired design.
…tion number status Based on new rules, if a Ghanaian applicant, submits their teacher license/registration number and it is not valid, the status should be "in_progress", meanwhile if it is empty, it should be "not_started". If it is valid then only then it will move to "completed"
e669154
to
5fbbaf3
Compare
config/locales/helpers.en.yml
Outdated
teacher_interface_further_information_request_item_text_form: | ||
response: Enter your response | ||
teacher_interface_ghana_registration_number_form: | ||
registration_number: "Enter your teacher license number" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that the brackets are used in this section. It might be more consistent to remove them in this section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actioned: 3800373
|
||
<% if @application_form.region.status_check_online? %> | ||
<% if @application_form.region.status_information.present? %> | ||
<%= raw GovukMarkdown.render(@application_form.region.status_information) %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this code get's replaced later on but could we go through how status_information and sanction_information work and how they're used in the edit view and website in general.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course. Lets maybe jump on a call and go through it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
Description
The Registration number, also known as the license number for Ghanaian specific applicants is a 3 part alphanumeric which has a specific format. To make it easier for applicants to not make mistakes when entering this number, we have decided to change the UI with additional validations in place to guide users.
Additionally, the application form status updater has also been updated with regards to the status of the registration form. If a Ghanaian applicant, submits their teacher license/registration number and it is not valid, the status should be "in_progress", meanwhile if it is empty, it should be "not_started". If it is valid then only then it will move to "completed"
Important Design Note:
As part of this work a new grouped input had to be introduced with inspiration taken from the GOV design systems date field. Since, this is a custom group of inputs, there are no helpers available and as a result of this, custom input fields with GOV design system classes have been used to replicate the desired design.
Ghana Specific Form:

Ghana Specific Form with Errors:

Other:
