From c2aea8c2be2b70b9eafd6e9e0c229c190c9b4fb0 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Mon, 17 Apr 2023 08:39:11 -0400 Subject: [PATCH] Replace deprecated USWDS v1 form hint class (#634) Why? For better future compatibility with the design system, and consistency across Login.gov products. --- config/initializers/simple_form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/simple_form.rb b/config/initializers/simple_form.rb index c34e8f1b4..2fd39394e 100644 --- a/config/initializers/simple_form.rb +++ b/config/initializers/simple_form.rb @@ -44,7 +44,7 @@ b.use :label, class: 'usa-label' # changed input class from field to usa-input b.use :input, class: 'block col-12' # usa-input' - b.use :hint, wrap_with: { tag: 'div', class: 'usa-form-hint' } + b.use :hint, wrap_with: { tag: 'div', class: 'usa-hint' } b.use :error, wrap_with: { tag: 'div', class: 'usa-error-message' } end