You have chosen <%= @product.name %>

Fill in the form below and see how much you qualify for?

<%= form_tag( { :action => :available_loan_calculator }, { :method => :get, remote: true }) %> <%= hidden_field :loan_calculator, :product, :value => @product.id %> <%= hidden_field :loan_calculator, :sub_product, :value => "salary" %> <%= hidden_field :loan_calculator, :customer_type, :value => "1" %>
<%= label_tag :net_salary, "What is your Gross Monthly Income? *", :class => "lead g-font-size-16--xs" %> <%= text_field :loan_calculator, :net_salary, required: true, :class => "form-control", autofocus: true %>
<%= label_tag :currency, "You earn in what currency? *", :class=>"lead g-font-size-16--xs" %> <%= select :loan_calculator, :currency, Currency.active.order('name desc').map {|c| [c.name, c.id]}, {:prompt => "Select Currency"}, :required => true, :class => "form-control", autofocus: true %>

Other Deductions

<%= label_tag :loan_deductions, "Total of Other Monthly Loan Deductions *", :class=>"lead g-font-size-16--xs" %>
E.g other mortgages, vehicle loans etc <%= text_field :loan_calculator, :loan_deductions, required: true, :class => "form-control", autofocus: true %>
<%= label_tag :other_deductions, "Total of Other Monthly Deductions *", :class=>"lead g-font-size-16--xs" %>
E.g Rentals, Insurance, Maintenance Fees <%= text_field :loan_calculator, :other_deductions, required: true, :class => "form-control", autofocus: true %>
<%= label_tag :tenor, "Select the Tenor You Wish to Apply For (Months) *", :class=>"lead g-font-size-16--xs" %> <%= select :loan_calculator, :tenor, ["1","2","3","4","5","6","7","8","9","10","11","12","18","24"], {:prompt => "Select"}, :required => true, :class=>"form-control" %>
<%= submit_tag "Submit", :class => "text-uppercase s-btn s-btn--md s-btn--primary-bg g-radius--50 g-padding-x-70--xs g-margin-b-20--xs" %>