= simple_nested_form_for user, url: update_payment_details_settings_path, validate: true, turboboost: true, html: { class: 'form-horizontal', id: 'bank_accounts' } do |f| = hidden_field_tag :type, :stripe_account = f.fields_for :stripe_account do |s| = s.input :country, as: :select, collection: BankAccount::SUPPORTED_COUNTRIES, selected: BankAccount::DEFAULT_COUNTRY, label_html: {class: 'col-sm-3 fs10 plr15 pb5 mt-10 stripe-account-country'}, wrapper: :horizontal_form, input_html: {data: {stripe: :country}, class: "select-stripe-country"}, validate: true, label: "Choose Your Country" = s.input :account_type, as: :select, collection: StripeAccount::STRIPE_ACCOUNT_TYPES, label: "Choose Your Account Type", label_html: {class: 'col-sm-3 fs10 plr15 pb5 mt-10'}, wrapper: :horizontal_form, input_html: { class: "select-stripe-account-type" } - if @redirect_url = hidden_field_tag :redirect_url, @redirect_url .col-xs-12.col-sm-12.center.mt10 = f.button :submit, 'Proceed', class: 'btn btn-default fs10' .clearfix.pb20