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

4 lines
131 B
Plaintext
Raw Normal View History

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