Skip to content

Commit

Permalink
Enable the 'radios__divider' brand to be overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
benilovj committed Mar 16, 2024
1 parent 1810a0f commit 9471141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/govuk_design_system_formbuilder/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def govuk_radio_button(attribute_name, value, hint: {}, label: {}, link_errors:
# @example A custom divider
# = govuk_radio_divider 'Alternatively'
def govuk_radio_divider(text = config.default_radio_divider_text)
tag.div(text, class: %w(govuk-radios__divider))
tag.div(text, class: %(#{config.brand}-radios__divider))
end

# Generate a list of check boxes from a collection
Expand Down

0 comments on commit 9471141

Please sign in to comment.