Sha256: 2a09f884857c792844f4360c514d1dfa4c35d0c992b94d70d0acbe58e5e59298

Contents?: true

Size: 501 Bytes

Versions: 66

Compression:

Stored size: 501 Bytes

Contents

<% if object.errors.any? %>
	<div class="alert alert alert-danger alert-dismissible" role="alert">
		<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		<h4>The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
		<ul class="list-group">
			<% object.errors.full_messages.each do |msg| %>
				<li class="list-group-item list-group-item-danger borderless"><%= msg %></li>
			<% end %>
		</ul>
	</div>
<% end %>

Version data entries

66 entries across 66 versions & 5 rubygems

Version Path
phcmemberspro-1.0.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmembers-0.9.7 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmembers-0.9.6 app/views/layouts/phcnotifi/components/_validations.html.erb
phcpress-2.0.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcscriptcdn-0.6.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmembers-0.8.0 app/views/layouts/phcnotifi/components/_validations.html.erb