diff --git a/app/views/shared/_errors.html.erb b/app/views/shared/_errors.html.erb
index 3ced01dbf..ac8abe7e2 100644
--- a/app/views/shared/_errors.html.erb
+++ b/app/views/shared/_errors.html.erb
@@ -8,7 +8,7 @@
<% if local_assigns[:message].present? %>
<%= message %>
<% else %>
- <%= t("form.not_saved", resource: t("form.#{resource.class.to_s.downcase}")) %>
+ <%= t("form.not_saved", resource: t("form.#{resource.class.to_s.underscore}")) %>
<% end %>