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
phcmembers-1.6.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.3.3 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.3.2 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.3.1 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.3.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.2.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcpress-2.6.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcpress-2.5.2 app/views/layouts/phcnotifi/components/_validations.html.erb
phcpress-2.5.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.1.1 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.1.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcpress-2.0.2 app/views/layouts/phcnotifi/components/_validations.html.erb
phcpresspro-1.5.3 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.0.9 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.0.8 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.0.6 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.0.5 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.0.4 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-3.0.3 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmembers-1.5.0 app/views/layouts/phcnotifi/components/_validations.html.erb