1
0
Fork 0
forked from fedi/mastodon
mastodon/app/views/shared/_error_messages.html.haml
Eugen Rochko ccbdf689e8
Fix form validation flash message color and input borders (#9235)
* Fix form validation flash message color and input borders

* Fix typo
2018-11-08 21:06:14 +01:00

4 lines
137 B
Plaintext

- if object.errors.any?
.flash-message.alert#error_explanation
%strong= t('generic.validation_errors', count: object.errors.count)