gab-social/app/views/shared/_error_messages.html.haml

4 lines
137 B
Plaintext
Raw Normal View History

2019-07-02 08:10:25 +01:00
- if object.errors.any?
.flash-message.alert#error_explanation
%strong= t('generic.validation_errors', count: object.errors.count)