mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 04:08:06 +01:00
6 lines
200 B
Text
6 lines
200 B
Text
- if object.errors.any?
|
|
.flash-message.alert
|
|
%strong= t('generic.validation_errors', count: object.errors.count)
|
|
- object.errors[:base].each do |error|
|
|
.flash-message.alert
|
|
%strong= error
|