about summary refs log tree commit diff
path: root/app/views/shared/_error_messages.html.haml
blob: 28becd6c4482da59d232e33a93894b9e4279ed91 (plain) (blame)
1
2
3
- if object.errors.any?
  .flash-message.alert#error_explanation
    %strong= t('generic.validation_errors', count: object.errors.count)