Sha256: 651ec3dbd471e430b406279fece25951240952f3f18c1a0750b1c028bfdeda3a

Contents?: true

Size: 429 Bytes

Versions: 59

Compression:

Stored size: 429 Bytes

Contents

<!-- just pass in any active_model object and this partial will display its validation errors -->
<% if active_model_object.errors.any? %>
	<div id="error_explanation">
	  <h2><%= pluralize(active_model_object.errors.count, "error") %> prohibited this resource from being saved:</h2>

	  <ul>
	  <% active_model_object.errors.full_messages.each do |message| %>
	    <li><%= message %></li>
	  <% end %>
	  </ul>
	</div>
<% end %>

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.9 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.8 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.7 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.6 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.5 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.4 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.3 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.2 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.1 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.5.0 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.9 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.8 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.7 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.6 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.5 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.4 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.3 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.2 app/views/auth/shared/_object_errors.html.erb
wordjelly-auth-1.4.0 app/views/auth/shared/_object_errors.html.erb