1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-21 10:08:26 +09:00
YuruToot/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)