Skip to content

Commit

Permalink
Fix regression for email language preference label
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Sep 4, 2024
1 parent 7f4c413 commit 4b256c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/simple_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
item_wrapper_tag: nil,
item_label_class: item_label_class do |b|
b.use :html5_no_aria_required
b.optional :label_text, wrap_with: { tag: 'legend', class: legend_class }
b.optional :label, wrap_with: { tag: 'legend', class: legend_class }
b.optional :hint, wrap_with: { tag: 'div', class: 'usa-hint margin-bottom-05' }
b.wrapper :grid_row, tag: :div, class: 'grid-row margin-bottom-neg-1' do |gr|
gr.wrapper :grid_column_radios, tag: :div, class: 'grid-col-fill' do |gc|
Expand Down

0 comments on commit 4b256c1

Please sign in to comment.