~cytrogen/masto-fe

ref: ba73f0ea3a0bcfc21dc8f0111eac4f0bce7101ca masto-fe/app/views/shared/_error_messages.html.haml -rw-r--r-- 218 bytes
ba73f0ea — Claire [Glitch] Add polling and automatic redirection to `/start` on email confirmation 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