mirror of
https://github.com/we-promise/sure.git
synced 2026-04-12 08:37:22 +00:00
* Implement a provider configured account type * Fix for SimpleFIN * FIX tests and linter
14 lines
505 B
Plaintext
14 lines
505 B
Plaintext
<% if params[:step] == "method_select" %>
|
|
<%= render "accounts/new/method_selector",
|
|
path: new_investment_path(return_to: params[:return_to]),
|
|
provider_configs: @provider_configs,
|
|
accountable_type: "Investment" %>
|
|
<% else %>
|
|
<%= render DS::Dialog.new do |dialog| %>
|
|
<% dialog.with_header(title: t(".title")) %>
|
|
<% dialog.with_body do %>
|
|
<%= render "investments/form", account: @account, url: investments_path %>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|