1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-22 18:48:14 +09:00
mastodon/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)