Sha256: 3eaeebffb39bd2b69b63a74c1c847d981a328f2f951ba6f93d06a0f9708715d2

Contents?: true

Size: 286 Bytes

Versions: 7

Compression:

Stored size: 286 Bytes

Contents

- if service.errors.any?
  = bootstrap_alert(context: :danger, class: 'error-explanation') do
    .error-heading= t('errors.template.header', count: service.errors.count, model: service.class.model_name.human)
    %ul
      - service.errors.full_messages.each do |msg|
        %li= msg

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails-add_ons-2.2.1 app/views/service_controller/base/_form_errors.haml
rails-add_ons-2.2.0 app/views/service_controller/base/_form_errors.haml
rails-add_ons-2.1.1 app/views/service_controller/base/_form_errors.haml
rails-add_ons-2.1.0 app/views/service_controller/base/_form_errors.haml
rails-add_ons-2.0.2 app/views/service_controller/base/_form_errors.haml
rails-add_ons-2.0.1 app/views/service_controller/base/_form_errors.haml
rails-add_ons-2.0.0 app/views/service_controller/base/_form_errors.haml