Sha256: d374e26f4ae078f07ae117213e35fc864f926af1b2c48619945317891b426764

Contents?: true

Size: 441 Bytes

Versions: 52

Compression:

Stored size: 441 Bytes

Contents

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

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
rao-service_controller-0.0.12.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.11.pre app/views/rao/service_controller/base/_form_errors.haml
rails-add_ons-3.0.0.pre1 app/views/service_controller/base/_form_errors.haml
rao-service_controller-0.0.10.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.9.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.8.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.7.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.6.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.5.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.4.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.3.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.2.pre app/views/rao/service_controller/base/_form_errors.haml