You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bootstrap provides helper classes for inputs with errors like .has-error or .has-warning. Rails wraps all fields with errors in blocks with .field_with_errors class. There're many options:
Extend .field_with_errors class with Bootstrap .has-danger class
Provide an initializer via generator that will add .has-danger class to blocks with errors in config.action_view.field_error_proc
Add the same configuration option but in a Railtie initializer
The text was updated successfully, but these errors were encountered:
Bootstrap provides helper classes for inputs with errors like
.has-error
or.has-warning
. Rails wraps all fields with errors in blocks with.field_with_errors
class. There're many options:.field_with_errors
class with Bootstrap.has-danger
class.has-danger
class to blocks with errors inconfig.action_view.field_error_proc
The text was updated successfully, but these errors were encountered: