Sha256: 8722eebd3ae8856328cfd41c99d25ef4dbc5eb16f0f6560bb1f820d7642de603

Contents?: true

Size: 642 Bytes

Versions: 2

Compression:

Stored size: 642 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcdevworks_notifications-3.0.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-2.3.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb