Sha256: 39f7925f350c64dbc7dd2d0e4ec85f5d4d4a7d9051fcf02b1d5330c937ee80ef
Contents?: true
Size: 1.44 KB
Versions: 2
Compression:
Stored size: 1.44 KB
Contents
<p><b>In English</b></p> <p> Translation of US is <%= t('US', :scope => 'countries') %> </p> <p> <%= localized_country_select(:user, :country, [], :include_blank => 'Please choose...') %> <%= localized_language_select(:user, :country, [], :include_blank => 'Please choose...') %> <%= localized_currency_select(:user, :country, [], :include_blank => 'Please choose...') %> <%= localized_timezone_select(:user, :country, [], :include_blank => 'Please choose...') %> </p> <p><b>In Deutsch (Germany)</b></p> <% I18n.locale = :de %> <p> Translation of US is <%= t('US', :scope => 'countries') %> </p> <p> <%= localized_country_select(:user, :country, [], :include_blank => 'Please choose...') %> <%= localized_language_select(:user, :country, [], :include_blank => 'Please choose...') %> <%= localized_currency_select(:user, :country, [], :include_blank => 'Please choose...') %> </p> <p><b>In Traditional Chinese</b></p> <% I18n.locale = :'zh-TW' %> <p> Translation of US is <%= t('US', :scope => 'countries') %> </p> <p> <%= localized_country_select(:user, :country, [], {:include_blank => 'Please choose...', :symbol => :append}) %> <%= localized_language_select(:user, :country, [], :include_blank => 'Please choose...') %> <%= localized_currency_select(:user, :country, [], {:include_blank => 'Please choose...', :symbol => :prepend}) %> <%= localized_timezone_select(:user, :country, [], {:include_blank => 'Please choose...', :sort => false, :timezone => :prepend}) %> </p>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
country-select-engine-0.1.2 | spec/dummy/app/views/dummy/index.html.erb |
country-select-engine-0.1.1 | spec/dummy/app/views/dummy/index.html.erb |