Skip to content

Commit

Permalink
Merge pull request #2503 from alphagov/update-radios
Browse files Browse the repository at this point in the history
Remove `is_page_heading` param from radio components
  • Loading branch information
owenatgov authored May 12, 2021
2 parents 9718df5 + 8ea8d37 commit 25ce200
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/views/brexit_checker/_question_single_choice.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
heading: current_question.text,
description: formatted_description,
hint: current_question.hint_text,
is_page_heading: true,
heading_level: 1,
heading_size: 'xl',
items: format_question_options(current_question.options(criteria_keys), criteria_keys)
} %>
3 changes: 2 additions & 1 deletion app/views/brexit_checker/_question_single_wrapped.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
heading_caption: current_question.caption,
description: formatted_description,
hint: current_question.hint_text,
is_page_heading: true,
heading_level: 1,
heading_size: 'xl',
items: current_question.options.map do |option|
checkboxes = if option.sub_options.present?
render "govuk_publishing_components/components/checkboxes", {
Expand Down

0 comments on commit 25ce200

Please sign in to comment.