diff --git a/lib/govuk_design_system_formbuilder/builder.rb b/lib/govuk_design_system_formbuilder/builder.rb index 4719134d..9e63b5f4 100644 --- a/lib/govuk_design_system_formbuilder/builder.rb +++ b/lib/govuk_design_system_formbuilder/builder.rb @@ -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