This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/shared/_error_messages.html.haml

4 lines
137 B
Plaintext
Raw Normal View History

2016-10-18 07:37:15 -07:00
- if object.errors.any?
.flash-message.alert#error_explanation
2016-11-15 14:02:57 -08:00
%strong= t('generic.validation_errors', count: object.errors.count)