Sha256: 6ffda2ee57a43f638202097175ea0b25c0432188f6cdd76cfdb88df4a7ca053a

Contents?: true

Size: 579 Bytes

Versions: 20

Compression:

Stored size: 579 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] },
      (session[:zoned] && session[:zoned][:current_country]) || -214, # Unites States
    ),
    :data => {
	    :remote => true,
	    :url => url_for(
	      :controller => "zoned", 
		    :action => "setcountry",
		  ),
		}
  %>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
spree_zoned-0.5.24 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.23 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.22 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.21 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.20 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.19 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.18 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.17 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.16 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.15 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.14 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.13 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.12 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.11 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.10 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.9 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.8 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.7 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.6 app/views/spree/zoned/_countryselect.html.erb
spree_zoned-0.5.5 app/views/spree/zoned/_countryselect.html.erb