Sha256: 47f6ccf3201449b12a56b6be36b7fb4aebaec04dc1729ffdae84dd7fd56cf042

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

<!-- insert_top '#search-bar' -->
<% @zone_members = Spree::ZoneMember.find_all_by_zoneable_type("Spree::Country") %>
<% country_selected = session[:store_country] %>
<form id="country_selector" method="get">
	<select id="store_country" onchange="$('#country_selector').submit();">
		<% @zone_members.each do |zone_member| %>
			<% country = Spree::Country.find(zone_member.zoneable_id) %>
			<option value="<%= country.iso %>"<% if country.iso == country_selected %> selected<% end %>><%= country.name %></option>
		<% end %>
	</select>
</form>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_zone_pricing-0.1.86 app/overrides/spree/shared/_nav_bar/spree_zone_pricing.html.erb.deface