1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/views/shared/_error_messages.html.haml

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