Sha256: 1e552fa507cbacdacb7a89ea73bc1274dc873504417ddc2961ea4fb8cfe61bc7

Contents?: true

Size: 260 Bytes

Versions: 7

Compression:

Stored size: 260 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rao-resources_controller-0.0.52.pre app/views/rao/resources_controller/base/_form_errors.html.haml
rao-resources_controller-0.0.51.pre app/views/rao/resources_controller/base/_form_errors.html.haml
rao-resources_controller-0.0.50.pre app/views/rao/resources_controller/base/_form_errors.html.haml
rao-resources_controller-0.0.49.pre app/views/rao/resources_controller/base/_form_errors.html.haml
rao-resources_controller-0.0.48.pre app/views/rao/resources_controller/base/_form_errors.html.haml
rao-resources_controller-0.0.47.pre app/views/rao/resources_controller/base/_form_errors.html.haml
rao-resources_controller-0.0.46.pre app/views/rao/resources_controller/base/_form_errors.html.haml