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

[CAPT-1729] Use GOVUK formbuilder for multiple eligibility #2879

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

asmega
Copy link
Contributor

@asmega asmega commented Jun 19, 2024

Context

Changes

  • Use GOVUKDesignSystemFormBuilder::FormBuilder for multiple eligibility form

@asmega asmega marked this pull request as ready for review June 19, 2024 12:05
and
<%= link_to "levelling up premium payments (opens in new tab)", Policies::LevellingUpPremiumPayments.eligibility_page_url, class: "govuk-link govuk-link--no-visited-state", target: "_blank" %>.
<%= govuk_link_to "levelling up premium payments (opens in new tab)", Policies::LevellingUpPremiumPayments.eligibility_page_url, no_visited_state: true, target: "_blank" %>.
Copy link
Member

Choose a reason for hiding this comment

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

Don't mean to butt in just saw this PR in the feed - you can use the recently-added new_tab: true which automatically appends (opens in new tab) and also sets the rel and target attrs. More info here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@peteryates no not all, I've made your suggested change here. Thanks again for the great library and making our lives easier!

@@ -18,6 +20,16 @@ def save
journey_session.save!
end

def radio_options
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice.

@asmega asmega force-pushed the minor-form-tweaks-11 branch from 0c444a9 to 9669544 Compare June 21, 2024 08:50
@asmega asmega force-pushed the minor-form-tweaks-11 branch from 9669544 to 4fafe83 Compare June 21, 2024 09:02
@asmega asmega merged commit d0cb422 into master Jun 21, 2024
15 checks passed
@asmega asmega deleted the minor-form-tweaks-11 branch June 21, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants