spree_zone_pricing 0.1.84 → 0.1.85
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
|
|
1
1
|
<!-- insert_top '#search-bar' -->
|
2
2
|
<% @zone_members = Spree::ZoneMember.find_all_by_zoneable_type("Spree::Country") %>
|
3
3
|
<form id="country_selector" method="get">
|
4
|
-
<select onchange="$('#country_selector').submit();">
|
4
|
+
<select id="country" onchange="$('#country_selector').submit();">
|
5
5
|
<% @zone_members.each do |zone_member| %>
|
6
6
|
<% country = Spree::Country.find(zone_member.zoneable_id) %>
|
7
7
|
<option value="<%= country.iso %>"><%= country.name %></option>
|