~cytrogen/masto-fe

ref: 16681e0f20e1f8584e11439953c8d59b322571f5 masto-fe/app/views/shared/_error_messages.html.haml -rw-r--r-- 218 bytes
16681e0f — Claire Add admin notifications for new Mastodon versions (#26582) 2 years ago
                                                                                
1
2
3
4
5
6
- if object.errors.any?
  .flash-message.alert#error_explanation
    %strong= t('generic.validation_errors', count: object.errors.count)
- object.errors[:base].each do |error|
  .flash-message.alert
    %strong= error