Sha256: 5954f42e9aff33127dd416ed08e622db38cd4a3ff37a49ad41720d96819877b6

Contents?: true

Size: 357 Bytes

Versions: 5

Compression:

Stored size: 357 Bytes

Contents

<% if resource.errors.any? %>
  <div id="error_explanation">
    <h2>
      <%= I18n.t("errors.messages.not_saved", count: resource.errors.count, resource: resource.class.model_name.human.downcase) %>
    </h2>
    <ul>
      <% resource.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

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