%= render Avo::TurboFrameWrapperComponent.new(params[:turbo_frame]) do %>
<%
classes = 'absolute inset-auto left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2'
label = t 'avo.failed_to_load'
%>
<%= svg 'failed_to_load', class: "#{classes} h-52 text-gray-400" %>
<%= label %> <%= params[:turbo_frame].to_s.humanize.downcase if params[:turbo_frame].present? %> frame
<% if Rails.env.development? %>
This is not an issue with Avo. Use <%= link_to 'this page', params[:src], target: :_blank %> to see why this frame failed to load.
<% end %>
<% end %>