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.0.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-2.1.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmembers-0.9.8 app/views/layouts/phcnotifi/components/_validations.html.erb
phcpresspro-1.5.1 app/views/layouts/phcnotifi/components/_validations.html.erb
phcpresspro-1.0.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.8.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.7.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.6.5 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.6.3 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.6.1 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.6.0 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.5.8 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.5.7 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.5.6 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.5.5 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.0.6 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.0.5 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.0.3 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.0.2 app/views/layouts/phcnotifi/components/_validations.html.erb
phcmemberspro-1.0.1 app/views/layouts/phcnotifi/components/_validations.html.erb