%= turbo_frame_tag "modal" do %>
<%= render DS::Dialog.new do |dialog| %>
<% dialog.with_header(title: "Lunch Flow Setup Required") %>
<% dialog.with_body do %>
<%= render DS::Alert.new(
title: "API Key Not Configured",
message: "Before you can link Lunch Flow accounts, you need to configure your Lunch Flow API key.",
variant: :warning
) %>
Setup Steps:
- Go to Settings → Providers
- Find the Lunch Flow section
- Enter your Lunch Flow API key
- Return here to link your accounts
<%= link_to settings_providers_path,
class: "inline-flex items-center justify-center rounded-lg px-4 py-2 text-sm font-medium text-inverse button-bg-primary hover:button-bg-primary-hover focus:outline-none focus:ring-2 focus:ring-gray-900 theme-dark:focus:ring-white focus:ring-offset-2 transition-colors",
data: { turbo: false } do %>
Go to Provider Settings
<% end %>
<% end %>
<% end %>
<% end %>