Commit 4b2f2548 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix form validation flash message color and input borders (#9235)

* Fix form validation flash message color and input borders

* Fix typo
parent b3c29ece
Showing with 6 additions and 3 deletions
+6 -3
......@@ -330,9 +330,12 @@ code {
}
input[type=text],
input[type=number],
input[type=email],
input[type=password] {
border-bottom-color: $valid-value-color;
input[type=password],
textarea,
select {
border-color: lighten($error-red, 12%);
}
.error {
......
- if object.errors.any?
.flash-message#error_explanation
.flash-message.alert#error_explanation
%strong= t('generic.validation_errors', count: object.errors.count)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment