Skip to content
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

Faith school candidate #7335

Open
wants to merge 5 commits into
base: faith-schools-flow
Choose a base branch
from
Open

Conversation

starswan
Copy link
Contributor

@starswan starswan commented Dec 5, 2024

Trello card URL

https://trello.com/c/WcdDCjEc/1325-faith-schools-add-religious-information-section-ces-flow-top-radio

Changes in this PR:

Fix faith schools candidate flow - specifically around partial entry of form data

Screenshots of UI changes:

Before

NoReligionNotStarted

After

NoReligionComplete
ReligionInProgress

Next steps:

  • Terraform deployment required?

  • New development configuration to be shared?

@starswan starswan marked this pull request as ready for review December 5, 2024 12:15
@starswan starswan changed the base branch from main to faith-schools-flow December 5, 2024 12:21
@starswan starswan force-pushed the faith-school-candidate branch from f623d30 to 90935cd Compare December 5, 2024 12:22
@@ -0,0 +1,61 @@
en:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice extracting it to its own locale file 👏

@@ -20,8 +20,8 @@
= f.govuk_error_summary

= f.govuk_radio_buttons_fieldset :following_religion do
= f.govuk_radio_button :following_religion, true, link_errors: true, label: { text: t("helpers.label.jobseekers_job_application_following_religion_form.following_religion_options.yes") }
= f.govuk_radio_button :following_religion, false, label: { text: t("helpers.label.jobseekers_job_application_following_religion_form.following_religion_options.no") }
= f.govuk_radio_button :following_religion, true, link_errors: true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is boolean and the "false" bellow is a string. The "true" in the non-catholic view is also a string.

Is this ok?

:in_progress
end
govuk_tag(text: t("shared.status_tags.#{status}"), colour: STATUS_COLOURS.fetch(status))
end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice refactor.

Copy link
Collaborator

@scruti scruti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

github-actions bot commented Dec 9, 2024

Review app deployed to https://teaching-vacancies-review-pr-7335.test.teacherservices.cloud on AKS

Co-authored-by: EllieNodder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants