~cytrogen/masto-fe

ref: e6fd0de8400cd0c91cf5c0857b62aa5dc20b7dd1 masto-fe/app/views/shared/_error_messages.html.haml -rw-r--r-- 218 bytes
e6fd0de8 — Laura Hausmann Update patchset to upstream glitch 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