This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2016-10-18 07:37:15 -07:00
|
|
|
- if object.errors.any?
|
2018-11-08 12:06:14 -08:00
|
|
|
.flash-message.alert#error_explanation
|
2016-11-15 14:02:57 -08:00
|
|
|
%strong= t('generic.validation_errors', count: object.errors.count)
|
2020-12-09 21:27:26 -08:00
|
|
|
- object.errors[:base].each do |error|
|
|
|
|
.flash-message.alert
|
|
|
|
%strong= error
|