<% if params[:step] == "method_select" %>
  <%= render "accounts/new/method_selector", path: new_investment_path(return_to: params[:return_to]), link_token: @link_token %>
<% else %>
  <%= modal_form_wrapper title: t(".title") do %>
    <%= render "investments/form", account: @account, url: investments_path %>
  <% end %>
<% end %>
