-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
Description
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_errorsclass with Bootstrap.has-dangerclass - Provide an initializer via generator that will add
.has-dangerclass to blocks with errors inconfig.action_view.field_error_proc - Add the same configuration option but in a Railtie initializer
Reactions are currently unavailable