diff --git a/OLD-README.md b/OLD-README.md index 8e03c7db..98c41f36 100644 --- a/OLD-README.md +++ b/OLD-README.md @@ -110,7 +110,7 @@ This generates:
- A good password should be at least six characters long + A good password should be at least six characters long
diff --git a/README.md b/README.md index 3780d6c9..b57a93ca 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ This generates:
- A good password should be at least six characters long + A good password should be at least six characters long
@@ -368,7 +368,7 @@ This generates:
- Must be at least 6 characters long + Must be at least 6 characters long
``` @@ -607,7 +607,7 @@ This generates:
- Optional Help Text + Optional Help Text
diff --git a/lib/bootstrap_form/components/hints.rb b/lib/bootstrap_form/components/hints.rb index afd00426..57e608c6 100644 --- a/lib/bootstrap_form/components/hints.rb +++ b/lib/bootstrap_form/components/hints.rb @@ -10,7 +10,7 @@ module Hints def generate_help(name, help_text) return if help_text == false - help_klass ||= "form-text text-muted" + help_klass ||= "form-text text-body-secondary" help_text ||= get_help_text_by_i18n_key(name) help_tag ||= :small diff --git a/test/bootstrap_checkbox_test.rb b/test/bootstrap_checkbox_test.rb index 7fb61ce6..6871f26b 100644 --- a/test/bootstrap_checkbox_test.rb +++ b/test/bootstrap_checkbox_test.rb @@ -177,7 +177,7 @@ class BootstrapCheckboxTest < ActionView::TestCase
- With a help! + With a help!
HTML diff --git a/test/bootstrap_fields_test.rb b/test/bootstrap_fields_test.rb index c936554f..123162cc 100644 --- a/test/bootstrap_fields_test.rb +++ b/test/bootstrap_fields_test.rb @@ -158,7 +158,7 @@ class BootstrapFieldsTest < ActionView::TestCase
- A good password should be at least six characters long + A good password should be at least six characters long
HTML assert_equivalent_html expected, @builder.password_field(:password) diff --git a/test/bootstrap_form_group_test.rb b/test/bootstrap_form_group_test.rb index c206358c..8e6460ae 100644 --- a/test/bootstrap_form_group_test.rb +++ b/test/bootstrap_form_group_test.rb @@ -201,7 +201,7 @@ class BootstrapFormGroupTest < ActionView::TestCase
- This is required + This is required
HTML assert_equivalent_html expected, @builder.text_field(:email, help: "This is required") @@ -213,7 +213,7 @@ class BootstrapFormGroupTest < ActionView::TestCase
- This is required + This is required
HTML @@ -225,7 +225,7 @@ class BootstrapFormGroupTest < ActionView::TestCase
- A good password should be at least six characters long + A good password should be at least six characters long
HTML assert_equivalent_html expected, @builder.text_field(:password) @@ -246,7 +246,7 @@ class BootstrapFormGroupTest < ActionView::TestCase
- A good password should be at least six characters long + A good password should be at least six characters long
HTML assert_equivalent_html expected, @builder.text_field(:password) @@ -488,7 +488,7 @@ class BootstrapFormGroupTest < ActionView::TestCase
can't be blank, is too short (minimum is 5 characters)
- This is required + This is required HTML diff --git a/test/bootstrap_form_test.rb b/test/bootstrap_form_test.rb index 10628e97..16b2ce35 100644 --- a/test/bootstrap_form_test.rb +++ b/test/bootstrap_form_test.rb @@ -738,7 +738,7 @@ def warn(message, ...)
can't be blank, is too short (minimum is 5 characters)
- This is required + This is required HTML @@ -764,7 +764,7 @@ def warn(message, ...)
can't be blank, is too short (minimum is 5 characters)
- This is required + This is required HTML @@ -785,7 +785,7 @@ def warn(message, ...)
- This is required + This is required
HTML @@ -805,7 +805,7 @@ def warn(message, ...)
- This is useful help + This is useful help
HTML diff --git a/test/bootstrap_radio_button_test.rb b/test/bootstrap_radio_button_test.rb index 5b22b979..422e03cc 100644 --- a/test/bootstrap_radio_button_test.rb +++ b/test/bootstrap_radio_button_test.rb @@ -151,7 +151,7 @@ class BootstrapRadioButtonTest < ActionView::TestCase Foobar - With a help! + With a help! HTML @@ -253,7 +253,7 @@ class BootstrapRadioButtonTest < ActionView::TestCase - With a help! + With a help! HTML @@ -271,7 +271,7 @@ class BootstrapRadioButtonTest < ActionView::TestCase - With a help! + With a help! HTML @@ -328,7 +328,7 @@ class BootstrapRadioButtonTest < ActionView::TestCase - With a help! + With a help! HTML @@ -346,7 +346,7 @@ class BootstrapRadioButtonTest < ActionView::TestCase - With a help! + With a help! HTML diff --git a/test/bootstrap_selects_test.rb b/test/bootstrap_selects_test.rb index 38ceb731..ab33fafb 100644 --- a/test/bootstrap_selects_test.rb +++ b/test/bootstrap_selects_test.rb @@ -70,7 +70,7 @@ def options_range(start: 1, stop: 31, selected: nil, months: false) - Help! + Help! HTML assert_equivalent_html expected,