Checkout: Use validated_select for country

This commit is contained in:
Rohan Mitchell
2014-11-06 14:42:07 +11:00
parent 06a9110e95
commit 7a0c291fc1

View File

@@ -45,8 +45,7 @@
= validated_input "Postcode", "order.bill_address.zipcode"
.small-6.columns.right
= ba.select :country_id, checkout_country_options,
"ng-model" => "order.bill_address.country_id", required: true
= validated_select "Country", "order.bill_address.country_id", checkout_country_options
.row
.small-12.columns.text-right