about summary refs log blame commit diff
path: root/app/views/shared/_error_messages.html.haml
blob: 4916bd424e8a440ba27f617b6923c26caf3c30c3 (plain) (tree)
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