Sha256: bd7a46f06e509e9f16b71760a68fd08ab038a91fabad8bd2ed3a29103986e49c
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 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 [["Kein Land ausgewählt", 0]] + Rails.application.config.commonCountriesForSelect, selected, ), :data => { :remote => true, "prd-country" => selected, :url => url_for( :controller => "zoned", :action => "setcountry", ), } %> </li>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_zoned-0.5.7 | app/views/spree/admin/zoned/_prd_country.html.erb |
spree_zoned-0.5.6 | app/views/spree/admin/zoned/_prd_country.html.erb |