1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-01-31 12:03:10 -05:00

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