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

4 lines
137 B
Text
Raw Normal View History

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