1
0
mirror of https://github.com/Siphonay/mastodon synced 2025-02-12 12:24:46 +00:00
donphan/app/views/shared/_error_messages.html.haml

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