catstodon/app/views/shared/_error_messages.html.haml

4 lines
137 B
Text
Raw Normal View History

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