Sha256: 3fa8bc5d400d86a15d739f5c66e2aa0b51a53a38291b26aee5b80d0f37809932

Contents?: true

Size: 315 Bytes

Versions: 18

Compression:

Stored size: 315 Bytes

Contents

/ # Generates error messages
/ # requires resource

- if resource && resource.respond_to?(:errors) && resource.errors.any?
  div#error_explanation
    h2 #{pluralize(resource.errors.count, "error")} prohibited this template from being saved:

    ul
    - resource.errors.full_messages.each do |msg|
      li = msg

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rows_controller-3.0.3 app/views/shared/_error_explanation.slim
rows_controller-3.0.1 app/views/shared/_error_explanation.slim
rows_controller-3.0.0 app/views/shared/_error_explanation.slim
rows_controller-2.2.2 app/views/shared/_error_explanation.slim
rows_controller-2.2.1 app/views/shared/_error_explanation.slim
rows_controller-2.2.0 app/views/shared/_error_explanation.slim
rows_controller-2.1.3 app/views/shared/_error_explanation.slim
rows_controller-2.1.2 app/views/shared/_error_explanation.slim
rows_controller-2.1.0 app/views/shared/_error_explanation.slim
rows_controller-2.0.8 app/views/shared/_error_explanation.slim
rows_controller-2.0.7 app/views/shared/_error_explanation.slim
rows_controller-2.0.5 app/views/shared/_error_explanation.slim
rows_controller-2.0.3 app/views/shared/_error_explanation.slim
rows_controller-1.1.9 app/views/shared/_error_explanation.slim
rows_controller-1.1.7 app/views/shared/_error_explanation.slim
rows_controller-1.1.6 app/views/shared/_error_explanation.slim
rows_controller-1.0.3 app/views/shared/_error_explanation.slim
rows_controller-1.0.1 app/views/shared/_error_explanation.slim