app/views/avo/partials/_alerts.html.erb in avo-3.9.2 vs app/views/avo/partials/_alerts.html.erb in avo-3.10.0
- old
+ new
@@ -1,9 +1,3 @@
<%= turbo_frame_tag :alerts, class: "fixed inset-0 bottom-0 flex flex-col space-y-4 items-end justify-right px-4 py-6 sm:p-6 justify-end z-[100] pointer-events-none" do %>
- <%= render Avo::FlashAlertsComponent.new flashes: flash %>
- <% # In case we have other general error messages %>
- <% if @errors.present? %>
- <% @errors.each do |message| %>
- <%= render Avo::AlertComponent.new :error, message %>
- <% end %>
- <% end %>
+ <%= render partial: "avo/partials/all_alerts" %>
<% end %>