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

4 lines
131 B
Text
Raw Normal View History

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