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