Sha256: 2911908bed2c7a54110fe88d8a3d551759cfd1464f0ace61e517c31c4bdb279b

Contents?: true

Size: 284 Bytes

Versions: 6

Compression:

Stored size: 284 Bytes

Contents

<% if errors.any? %>
	<div id="error_explanation">
	    <h2><%= pluralize(errors.count, "error") %> prohibited this entry from being saved:</h2>
	    <ul>
	        <% errors.full_messages.each do |msg| %>
		        <li><%= msg %></li>
	        <% end %>
	    </ul>
	</div>
<% end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dry_crud-1.2.7 lib/generators/dry_crud/templates/app/views/shared/_error_messages.html.erb
dry_crud-1.2.6 lib/generators/dry_crud/templates/app/views/shared/_error_messages.html.erb
dry_crud-1.2.5 lib/generators/dry_crud/templates/app/views/shared/_error_messages.html.erb
dry_crud-1.2.0 lib/generators/dry_crud/templates/app/views/shared/_error_messages.html.erb
dry_crud-1.1.0 lib/generators/dry_crud/templates/app/views/shared/_error_messages.html.erb
dry_crud-1.0.0 lib/generators/dry_crud/templates/app/views/shared/_error_messages.html.erb