nyastodon/app/views/shared/_error_messages.html.haml
2016-11-15 23:02:57 +01:00

3 lines
131 B
Text

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