Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

This partial isn't used for ages now, both Storefront and Admin Panel has their own

Damian Legawieccf381c64ac41
diff --git a/core/app/views/spree/shared/_error_messages.html.erb b/core/app/views/spree/shared/_error_messages.html.erb
deleted file mode 100644
index 71ad175f8c..0000000000
--- a/core/app/views/spree/shared/_error_messages.html.erb
+++ /dev/null
@@ -1,11 +0,0 @@
-<% if target && target.errors.any? %>
- <div id="errorExplanation" class="errorExplanation" data-hook>
- <h2><%= Spree.t(:errors_prohibited_this_record_from_being_saved, count: target.errors.size) %>:</h2>
- <p><%= Spree.t(:there_were_problems_with_the_following_fields) %>:</p>
- <ul>
- <% target.errors.full_messages.each do |msg| %>
- <li><%= msg %></li>
- <% end %>
- </ul>
- </div>
-<% end %>