app/views/spree/zoned/_countryselect.html.erb in spree_zoned-0.5.0 vs app/views/spree/zoned/_countryselect.html.erb in spree_zoned-0.5.1
- old
+ new
@@ -1,12 +1,12 @@
<div id="zoned-countryselect" class="columns omega ten">
<%= label_tag t('country') + ": " %>
<%= select_tag 'id',
- options_for_select(
+ options_for_select( # common countries have negative id
Rails.application.config.commonCountriesForSelect +
[["-----------------", 0]] +
countrylist.map { |country| [country.name, country.id] },
- -214, # Unites States of America
+ -214, # Unites States
),
:data => {
:remote => true,
:url => url_for(
:controller => "zoned",