mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-03 12:35:21 +02:00
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
14 lines
539 B
Text
14 lines
539 B
Text
<% if params[:step] == "method_select" %>
|
|
<%= render "accounts/new/method_selector",
|
|
path: new_investment_path(return_to: params[:return_to]),
|
|
show_us_link: @show_us_link,
|
|
show_eu_link: @show_eu_link,
|
|
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 %>
|