Sha256: e1d1110da1cbe45af76a5656eedc3d0c0df93600bfce649eb282cab1e8d868a9
Contents?: true
Size: 971 Bytes
Versions: 14
Compression:
Stored size: 971 Bytes
Contents
<div id="zoned-countryselect" class="columns omega ten"> <% c = ((session[:zoned] && session[:zoned][:current_country]) || -214) %> <%= label_tag t('country') + ": " %> <%= select_tag 'id', options_for_select( # common countries have negative id Rails.application.config.commonCountriesForSelect + [["-----------------", 0]] + countrylist.map { |country| [country.name, country.id] }, c, ), :data => { :remote => true, :url => url_for( :controller => "zoned", :action => "setcountry", ), } %> <%= label_tag t('language') + ": " %> <%= select_tag 'lgid', options_for_select( # common countries have negative id hlpAvailLangs(c.to_i), (session[:zoned] && session[:zoned][:current_language]) || "en", # English ), :data => { :remote => true, :url => url_for( :controller => "zoned", :action => "setlanguage", ), } %> </div>
Version data entries
14 entries across 14 versions & 1 rubygems