Skip to content

Commit

Permalink
display errors
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Jul 14, 2024
1 parent c22e4eb commit 05927c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/products/_form.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<% if form.object.errors.any? %>
<div class="py-3">
<p class="text-danger text-red-500 text-2xl">Errors Found</p>
<% # form.object.errors.full_messages.join(" ") %>
<%= form.object.errors.full_messages.join(" ") %>
</div>
<% end %>

Expand Down

0 comments on commit 05927c1

Please sign in to comment.