Sha256: fc0695d429a7bab0cd00763d7c53a0c7eb3cedad25dac7cbfa185664d8c44970
Contents?: true
Size: 532 Bytes
Versions: 11
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
11 entries across 11 versions & 1 rubygems