Sha256: 08b39171ed57cfa49710808f7ef1c06e14efc5a2cb4dedea26cf8527eaba00e9

Contents?: true

Size: 266 Bytes

Versions: 5

Compression:

Stored size: 266 Bytes

Contents

- if resource.errors.any?
  #error_explanation
    %h2
      = I18n.t("errors.messages.not_saved", count: resource.errors.count, resource: resource.class.model_name.human.downcase)
    %ul
      - resource.errors.full_messages.each do |message|
        %li= message

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
semantic_ui_views_generator-0.0.9 lib/generators/semantic/templates/devise/haml/shared/_error_messages.html.haml
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/haml/shared/_error_messages.html.haml
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/haml/shared/_error_messages.html.haml
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/haml/shared/_error_messages.html.haml
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/haml/shared/_error_messages.html.haml