From 2f7688f864411b1b3c45f01111c6b3886bd1eaa5 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Wed, 12 Mar 2014 13:23:39 +1100 Subject: [PATCH] Switching some form order --- app/views/shop/checkout/_form.html.haml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/views/shop/checkout/_form.html.haml b/app/views/shop/checkout/_form.html.haml index fa08d0c451..5ba9c2967a 100644 --- a/app/views/shop/checkout/_form.html.haml +++ b/app/views/shop/checkout/_form.html.haml @@ -33,19 +33,20 @@ "ng-model" => "order.bill_address.address2" .row .large-6.columns + = ba.text_field :city, "ng-model" => "order.bill_address.city" - .large-6.columns - = ba.select :country_id, available_countries.map{|c|[c.name, c.id]}, - {include_blank: false}, "ng-model" => "order.bill_address.country_id" - .row .large-6.columns = ba.select :state_id, @order.billing_address.country.states.map{|c|[c.name, c.id]}, "ng-model" => "order.bill_address.state_id" - .large-6.columns.right + .row + .large-6.columns = ba.text_field :zipcode, "ng-model" => "order.bill_address.zipcode" + .large-6.columns.right + = ba.select :country_id, available_countries.map{|c|[c.name, c.id]}, + {include_blank: false}, "ng-model" => "order.bill_address.country_id" %fieldset#shipping %legend Shipping