Sha256: 92f8ec2062524c66f882914609de806b8accc08bbd082cc26feac4dfa8dec97c

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 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,
      @current_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.4 app/views/spree/admin/zoned/_prd_country.html.erb