Sha256: 91fed4b2e1c8327dfcb11ecc9e020adf1b2a85ac087dca12a6fa3bd47295216b

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

- if object.errors.any?
  #error_explanation
    %h2
      = pluralize(object.errors.count, "error")
      prohibited this #{object.class} from being saved:
      - # FIXME: Fix the display of the class name
    %p There were problems with the following fields:
    %ul
    - object.errors.full_messages.each do |msg|
      %li= msg

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iceauth-0.0.4 lib/generators/iceauth/templates/app/views/shared/_error_messages.html.haml
iceauth-0.0.3 lib/generators/iceauth/templates/app/views/shared/_error_messages.html.haml
iceauth-0.0.2 lib/generators/iceauth/templates/app/views/shared/_error_messages.html.haml
iceauth-0.0.1 lib/generators/iceauth/templates/app/views/shared/_error_messages.html.haml