Sha256: 1e2da6f2c2f356cf6f697e0b6ba23f4b53c77954b7501f478397cdb07f05d920

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_zoned-0.5.5 app/views/spree/admin/zoned/_prd_country.html.erb