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">×</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