Sha256: c070121d37ca0e1322e5d538e32289907cd5f0acbac2d8e8acb6bb4bed01a4f1

Contents?: true

Size: 628 Bytes

Versions: 44

Compression:

Stored size: 628 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

44 entries across 44 versions & 1 rubygems

Version Path
phcdevworks_notifications-2.2.3 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-2.2.2 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-2.2.1 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-2.2.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-2.1.2 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-2.1.1 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-2.1.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-2.0.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.5.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.4.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.3.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.2.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.1.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.0.6 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.0.5 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.0.4 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.0.3 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.0.2 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.0.1 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
phcdevworks_notifications-1.0.0 app/views/phcdevworks_notifications/bootstrap/_validations.html.erb