_error_messages.html.haml 218 B

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