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