Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
5andu committed Dec 30, 2023
1 parent aa71c45 commit b969f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/devise/shared/_error_messages.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% if resource.errors.any? %>
<div id="error_explanation" class="bg-red-100 text-red-700 p-4 rounded mb-4">
<h2 class="font-semibold">
<%= I18n."Errors prohibited this #{resource_name} from being saved",
<%= I18n.t("errors.messages.not_saved",
count: resource.errors.count,
resource: resource.class.model_name.human.downcase)
%>
Expand Down

0 comments on commit b969f0d

Please sign in to comment.