From 7124dc57fdb1ee98b4e290ca09afd5fecc03e3d2 Mon Sep 17 00:00:00 2001 From: Rob H Date: Wed, 27 Aug 2014 16:59:26 +1000 Subject: [PATCH] Requiring a state in checkout --- app/views/checkout/_billing.html.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/checkout/_billing.html.haml b/app/views/checkout/_billing.html.haml index 2fceedb523..1e7adec1ad 100644 --- a/app/views/checkout/_billing.html.haml +++ b/app/views/checkout/_billing.html.haml @@ -19,13 +19,13 @@ {{ summary() | printArray }} .small-4.medium-2.columns.text-right %span.accordion-up - %em + %em %small Hide - %i.ofn-i_053-point-up + %i.ofn-i_053-point-up %span.accordion-down - %em + %em %small Expand - %i.ofn-i_052-point-down + %i.ofn-i_052-point-down = f.fields_for :bill_address, @order.bill_address do |ba| .row @@ -40,7 +40,7 @@ .small-6.columns = ba.select :state_id, @order.billing_address.country.states.map{|c|[c.name, c.id]}, {include_blank: false}, - "ng-model" => "order.bill_address.state_id" + "ng-model" => "order.bill_address.state_id", required: true .row .small-6.columns = validated_input "Postcode", "order.bill_address.zipcode"