2024-11-04 20:27:31 -05:00
|
|
|
<% if params[:step] == "method_select" %>
|
2025-06-09 18:30:52 -04:00
|
|
|
<%= render "accounts/new/method_selector",
|
|
|
|
path: new_crypto_path(return_to: params[:return_to]),
|
|
|
|
show_us_link: @show_us_link,
|
2025-05-25 08:12:54 -04:00
|
|
|
show_eu_link: @show_eu_link,
|
|
|
|
accountable_type: "Crypto" %>
|
2024-11-04 20:27:31 -05:00
|
|
|
<% else %>
|
2025-04-30 18:14:22 -04:00
|
|
|
<%= render DialogComponent.new do |dialog| %>
|
|
|
|
<% dialog.with_header(title: t(".title")) %>
|
|
|
|
<% dialog.with_body do %>
|
|
|
|
<%= render "form", account: @account, url: cryptos_path %>
|
|
|
|
<% end %>
|
2024-11-04 20:27:31 -05:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|