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.52.pre app/views/rao/service_controller/base/_form_errors.html.haml
rao-service_controller-0.0.51.pre app/views/rao/service_controller/base/_form_errors.html.haml
rao-service_controller-0.0.50.pre app/views/rao/service_controller/base/_form_errors.html.haml
rao-service_controller-0.0.49.pre app/views/rao/service_controller/base/_form_errors.html.haml
rao-service_controller-0.0.48.pre app/views/rao/service_controller/base/_form_errors.html.haml
rao-service_controller-0.0.47.pre app/views/rao/service_controller/base/_form_errors.html.haml
rao-service_controller-0.0.46.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.45.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.44.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.43.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.42.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.41.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.40.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.39.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.38.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.37.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.36.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.35.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.34.pre app/views/rao/service_controller/base/_form_errors.haml
rao-service_controller-0.0.33.pre app/views/rao/service_controller/base/_form_errors.haml