%= form_tag( { :action => :available_loan_calculator }, { :method => :get, remote: true }) %>
<%= label_tag :net_salary, "What is your Net Monthly Income" %>
<%= text_field :loan_calculator, :net_salary %>
<%= label_tag :product, "Are you a Civil Servant?" %>
<%= radio_button :loan_calculator, :sub_product, 'civil' %> Yes
<%= radio_button :loan_calculator, :sub_product, 'personal' %> No
<%= label_tag :tenor, "Months to Pay" %>
<%= select :loan_calculator, :tenor, ["1","6","12","18","24","36","48","60"] %>
<%= submit_tag "Submit" %>