Sha256: b217a37f13c22e45a4ddd0227f3630ca91561c75ec187a5eb933020a358695cf
Contents?: true
Size: 518 Bytes
Versions: 2
Compression:
Stored size: 518 Bytes
Contents
<!-- insert_top '#search-bar' --> <% @zone_members = Spree::ZoneMember.find_all_by_zoneable_type("Spree::Country") %> <form id="country_selector" method="post"> <select id="store_country" name="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 == @store_country %> selected<% end %>><%= country.name %></option> <% end %> </select> </form>
Version data entries
2 entries across 2 versions & 1 rubygems