<%# Modal: Show SimpleFIN sync errors for a connection %> <%= turbo_frame_tag "modal" do %> <%= render DS::Dialog.new do |dialog| %> <% dialog.with_header(title: "SimpleFIN sync errors") %> <% dialog.with_body do %> <% if @errors.present? %>

We found the following errors in the latest sync:

<% else %>

No errors were recorded for the latest sync.

<% end %> <% end %> <% dialog.with_footer do %>
<%= render DS::Link.new(text: "Close", variant: :secondary, href: accounts_path, data: { turbo_frame: "_top" }) %>
<% end %> <% end %> <% end %>