glitchier-soc/app/views/shared/_error_messages.html.haml

4 lines
137 B
Text
Raw Normal View History

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