Skip to content

Commit

Permalink
Replaced error title key in islets/form
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilien Bausson committed Oct 11, 2023
1 parent 4c07a96 commit 0791fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/islets/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% if @islet.errors.any? %>
<div class="alert alert-danger alert-dismissable" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<h4><%= t('errors.title', count: @islet.errors.count) %></h4>
<h4><%= t("form.errors.title", count: @islet.errors.count) %></h4>

<ul>
<% @islet.errors.full_messages.each do |msg| %>
Expand Down

0 comments on commit 0791fcf

Please sign in to comment.