~cytrogen/masto-fe

ref: cfc0da77ac7d5b6351938bfa1a6b77a11065fc7a masto-fe/app/views/shared/_error_messages.html.haml -rw-r--r-- 218 bytes
cfc0da77 — Michael Stanclift [Glitch] Fix retention dashboard not displaying correct month 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