mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-17 04:32:22 +00:00
7 lines
200 B
Plaintext
7 lines
200 B
Plaintext
- 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
|