Files
sure/app/views/cryptos/new.html.erb
soky srm 226207e2f7 Provider optimisation (#375)
* Implement a provider configured account type

* Fix for SimpleFIN

* FIX tests and linter
2025-11-24 19:52:34 +01:00

14 lines
481 B
Plaintext

<% if params[:step] == "method_select" %>
<%= render "accounts/new/method_selector",
path: new_crypto_path(return_to: params[:return_to]),
provider_configs: @provider_configs,
accountable_type: "Crypto" %>
<% else %>
<%= render DS::Dialog.new do |dialog| %>
<% dialog.with_header(title: t(".title")) %>
<% dialog.with_body do %>
<%= render "form", account: @account, url: cryptos_path %>
<% end %>
<% end %>
<% end %>