app/assets/templates/addresses/selection.html.slim in sprangular-0.0.1 vs app/assets/templates/addresses/selection.html.slim in sprangular-0.1.0

- old
+ new

@@ -1,12 +1,14 @@ section.address section.existing-address(ng-show='existingAddress') - select(ng-options='addr as addr.shortAddress() for addr in addresses' ng-model='address') + select(ng-options='addr as addr.shortAddress() for addr in addresses track by id' ng-model='address' ng-disabled='disabled') - p - a.new-address(ng-click='toggleExistingAddress()') Use new address + p(ng-hide='disabled') + a.new-address(ng-click='toggleExistingAddress()') + | {{:: 'address.use_new' | translate}} - section.new-address(ng-hide='existingAddress') - address-form(address='address' countries='countries') + section.new-address(ng-if='!existingAddress') + address-form(address='address' countries='countries' submitted='submitted' disabled='disabled') - p - a.existing-address(ng-if='addresses.length > 0' ng-click='toggleExistingAddress()') Use existing address + p(ng-hide='disabled') + a.existing-address(ng-if='addresses.length > 0' ng-click='toggleExistingAddress()') + | {{:: 'address.use_existing' | translate}}