<%# locals: (error_message:, return_path:) %> <%= turbo_frame_tag "modal" do %> <%= render DS::Dialog.new do |dialog| %> <% dialog.with_header(title: t(".title")) %> <% dialog.with_body do %>
<%= icon("alert-circle", class: "text-destructive w-5 h-5 shrink-0 mt-0.5") %>

<%= t(".heading") %>

<%= error_message %>

<%= t(".common_issues") %>

<%= render DS::Link.new( text: t(".settings_link"), href: return_path.presence || settings_providers_path, variant: :primary, data: { turbo: false } ) %>
<% end %> <% end %> <% end %>