Sha256: b6a366d2b1796aad3626ba0d3055e236d5d7e31683e67fa020529b72626e7546

Contents?: true

Size: 521 Bytes

Versions: 4

Compression:

Stored size: 521 Bytes

Contents

<div id="zoned-countryselect" class="columns omega ten">
  <%= label_tag t('country') + ": "  %>
  <%= select_tag 'id',
    options_for_select( # common countries have negative id
      Rails.application.config.commonCountriesForSelect +
        [["-----------------", 0]] +
        countrylist.map { |country| [country.name, country.id] },
      -214, # Unites States
    ),
    :data => {
	    :remote => true,
	    :url => url_for(
	      :controller => "zoned", 
		    :action => "setcountry",
		  ),
		}
  %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_zoned-0.5.4 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.3 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.2 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.1 app/views/spree/zoned/_countryselect.html.erb