app/views/administrate/application/_form.html.erb in administrate-0.13.0 vs app/views/administrate/application/_form.html.erb in administrate-0.14.0
- old
+ new
@@ -19,10 +19,10 @@
<div id="error_explanation">
<h2>
<%= t(
"administrate.form.errors",
pluralized_errors: pluralize(page.resource.errors.count, t("administrate.form.error")),
- resource_name: display_resource_name(page.resource_name)
+ resource_name: display_resource_name(page.resource_name).singularize
) %>
</h2>
<ul>
<% page.resource.errors.full_messages.each do |message| %>