Sha256: d68e07319b5d69c0574a88e11109d7d5c090b0d314fbe3ae4938eb4e5c2e8aeb

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

<%% if resource.errors.any? -%>
<div id="errorExplanation">
  <h2><%%= "#{pluralize(resource.errors.count, "error")} prohibited this #{resource.class.name.titleize} from being saved:" %></h2>
  <ul>
    <%%- resource.errors.full_messages.each do |msg| -%>
    <li><%%= msg %></li>
    <%%- end -%>
  </ul>
</div>
<%% end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails3-generators-0.8.2 lib/generators/simple_form_erb/scaffold/templates/_form_errors.html.erb
rails3-generators-0.8.1 lib/generators/simple_form_erb/scaffold/templates/_form_errors.html.erb
rails3-generators-0.8.0 lib/generators/simple_form_erb/scaffold/templates/_form_errors.html.erb