_error_messages.html.haml 200 B

123456
  1. - if object.errors.any?
  2. .flash-message.alert
  3. %strong= t('generic.validation_errors', count: object.errors.count)
  4. - object.errors[:base].each do |error|
  5. .flash-message.alert
  6. %strong= error