Sha256: e9f32c2fdc6190e3dfaabc9e87b08aa53a68e126ab6eb825878d45e0891a1d7f

Contents?: true

Size: 264 Bytes

Versions: 5

Compression:

Stored size: 264 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/slim/shared/_error_messages.html.slim
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/slim/shared/_error_messages.html.slim
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/slim/shared/_error_messages.html.slim
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/slim/shared/_error_messages.html.slim
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/slim/shared/_error_messages.html.slim