Sha256: 9fc46517946e4f375d441a30277da77c9ed7b8c2b8018419aef9d5119c354f07
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
<%# name: headmin/forms/errors accepts block: false parameters: form: (string) Form object %> <% if form.object.errors.any? %> <div class="alert alert-danger" role="alert"> <h5 class="alert-heading d-flex align-items-center"> <%= t('errors.template.header', count: form.object.errors.size, model: form.object.model_name.human) %> </h5> <ul class="mb-0"> <% form.object.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems