ruby script/plugin install git://github.com/karmi/localized_country_select.git
rake import:country_select 'ja'
<%= localized_country_select(:user, :country, [], :include_blank => 'Please choose...') %> <%= I18n.t @user.country, :scope => 'countries' %>
0 件のコメント:
コメントを投稿