diff --git a/app/controllers/pay_controller.rb b/app/controllers/pay_controller.rb index 3efacd2..d03b21c 100644 --- a/app/controllers/pay_controller.rb +++ b/app/controllers/pay_controller.rb @@ -1,7 +1,12 @@ class PayController < ApplicationController def index - + end + + def update_dd_info + respond_to do |format| + format.json {render :json => {:hello => :world} } + end end end diff --git a/app/views/pay/index.html.erb b/app/views/pay/index.html.erb index f7c7154..e18eec1 100644 --- a/app/views/pay/index.html.erb +++ b/app/views/pay/index.html.erb @@ -1,5 +1,87 @@ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+ Direct Deposit +
+
+
+
+ <%= form_tag "#", {:class => "form-horizontal", :id => "bank_info_form" } do %> + + +
+ <%= text_field_tag :bank_account_num, params[:bank_account_num], {:placeholder => "Bank Account Number"} %> + # +
+ +
+ <%= text_field_tag :bank_routing_num, params[:bank_routing_num], {:placeholder => "Bank Routing Number"} %> + # +
+ + +
+ <%= text_field_tag :dd_percent, params[:dd_percent], {:placeholder => "Percentage of Deposit"} %> + % +
+ + + <%= submit_tag "Submit", {:id => "dd_form_btn", :style => "margin-left: 10px;", :class => "btn btn-medium btn-primary"} %> + <% end %> +
+
+
+
+
+
+
+