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

<%= modal do %>
<% if params[:step] == 'method' %>
How would you like to add it?
<%= render "entry_method", text: t(".manual_entry"), icon: "keyboard" %> <%= link_to new_import_path(import: { type: "AccountImport" }), class: "flex items-center gap-4 w-full text-center focus:outline-none focus:bg-gray-50 border border-transparent focus:border focus:border-gray-200 px-2 hover:bg-gray-50 rounded-lg p-2" do %> <%= lucide_icon("sheet", class: "text-gray-500 w-5 h-5") %> <%= t(".csv_entry") %> <% end %> <%= render "entry_method", text: t(".connected_entry"), icon: "link-2", disabled: true %>
Select <%= lucide_icon("corner-down-left", class: "inline w-3 h-3") %>
Navigate <%= lucide_icon("arrow-up", class: "inline w-3 h-3") %> <%= lucide_icon("arrow-down", class: "inline w-3 h-3") %>
ESC
<% else %>
<%= link_to new_account_path(step: "method"), class: "flex w-8 h-8 shrink-0 grow-0 items-center justify-center rounded-lg bg-alpha-black-50 focus:outline-gray-300 focus:outline" do %> <%= lucide_icon("arrow-left", class: "text-gray-500 w-5 h-5") %> <% end %> Add account
<%= render "form", account: @account, url: new_account_form_url(@account) %>
<% end %>
<% end %>