Sha256: 75ea308d4db795d0ed0d995707b0340ded9df98d02f64572da5ca8f4e9aa0c63

Contents?: true

Size: 568 Bytes

Versions: 31

Compression:

Stored size: 568 Bytes

Contents

<li id="zoned-prd-country">
  <%= label_tag t('country') + ": "  %>
  <% selected = ((session[:zoned] && session[:zoned][:prd_country]) || 0) # preselect item "No country selected" %>
  <%= select_tag 'sel-prd-country',
    options_for_select( # common countries have negative id
      [[t(:nocountrysel), 0]] +
      Rails.application.config.commonCountriesForSelect,
      selected,
    ),
    :data => {
	    :remote => true,
	    "prd-country" => selected,
	    :url => url_for(
	      :controller => "zoned", 
		    :action => "setcountry",
		  ),
		}
  %>
</li>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
spree_zoned-0.5.38 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.37 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.36 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.35 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.34 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.33 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.32 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.31 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.30 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.29 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.28 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.27 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.26 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.25 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.24 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.23 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.22 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.21 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.20 app/views/spree/admin/zoned/_prd_country.html.erb
spree_zoned-0.5.19 app/views/spree/admin/zoned/_prd_country.html.erb