css: add red border around input fields with validation errors.
The .field_with_errors class is added by Simple Form to <input> fields with validation errors.
This commit is contained in:
@@ -44,7 +44,7 @@ form.simple_form {
|
||||
}
|
||||
}
|
||||
|
||||
input.validation-error {
|
||||
&.field_with_errors input {
|
||||
border: 1px solid var(--form-input-validation-error-border-color);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user