1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-21 18:18:21 +09:00
whippy-edition/app/views/shared/_error_messages.html.haml
2016-11-15 23:02:57 +01:00

4 lines
131 B
Plaintext

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