%= turbo_frame_tag "modal" do %>
<%= render DS::Dialog.new do |dialog| %>
<% dialog.with_header(title: t(".title")) %>
<% dialog.with_body do %>
<% if @error_message.present? %>
<%= f.label :setup_token, t(".setup_token"), class: "text-sm text-secondary block mb-1" %>
<%= f.text_field :setup_token, class: "input", placeholder: t(".setup_token_placeholder") %>
<%= link_to t(".cancel"), accounts_path, class: "btn", data: { turbo_frame: "_top", action: "DS--dialog#close" } %>
<%= f.submit t(".connect"), class: "btn btn--primary" %>
<% end %>
<% end %>
<% end %>
<% end %>