diff --git a/config/initializers/simple_form.rb b/config/initializers/simple_form.rb index 27aaa3cd096..11ba025dee7 100644 --- a/config/initializers/simple_form.rb +++ b/config/initializers/simple_form.rb @@ -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|