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