<%= hidden_field_tag( "options[type]", 'bank_transfer') %>
<%= text_field_tag( "options[bank_transfer_number_account]", options[:bank_transfer_number_account], class: "form-control required") %>
<%= text_area_tag( "options[bank_transfer_detail]", options[:bank_transfer_detail], class: "form-control required") %>
<%= hidden_field_tag( "options[type]", 'paypal') %>
<%= text_field_tag( "options[paypal_login]", options[:paypal_login], class: "form-control required") %>
<%= text_field_tag( "options[paypal_password]", options[:paypal_password], class: "form-control required") %>
<%= text_field_tag( "options[paypal_signature]", options[:paypal_signature], class: "form-control required") %>
<%= hidden_field_tag( "options[type]", 'credit_card') %>
<%= text_field_tag( "options[cc_paypal_login]", options[:cc_paypal_login], class: "form-control required") %>
<%= text_field_tag( "options[cc_paypal_password]", options[:cc_paypal_password], class: "form-control required") %>
<%= text_field_tag( "options[cc_paypal_signature]", options[:cc_paypal_signature], class: "form-control required") %>
<%= hidden_field_tag('options[type]', 'authorize_net') %>
<%= text_field_tag('options[authorize_net_login_id]', options[:authorize_net_login_id], class: 'form-control required') %>
<%= text_field_tag('options[authorize_net_transaction_key]', options[:authorize_net_transaction_key], class: 'form-control required') %>
<%= hidden_field_tag('options[type]', 'stripe') %>
<%= text_field_tag('options[stripe_id]', options[:stripe_id], class: 'form-control required') %>
<%= text_field_tag('options[stripe_key]', options[:stripe_key], class: 'form-control required') %>
<% ecommerce_custom_payment_methods.each do |k, obj| %>
<%= hidden_field_tag('options[type]', k) %>
<%= render obj[:settings_view_path], options: options %>
<% end %>