Sha256: 73c538fec4cddafb0185e71ceb1fbff737f2eb153e773702a2d56a0e9745e3dc
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
<!-- #encoding: utf-8 --> <h1>Languages and Countries</h1> <h3>Language and Country support for input select fields using ISO Codes</h3> <div> <dl> <dt>Language Codes</dt> <dd>639-1</dd> <dt>Country Codes</dt> <dd>ISO 3166-1 Alpha-2</dd> </dl> </div> <div id="language_name_select" class="field"> <%= form_for(Language.new) do |f| %> <%= f.label :name, "English Name to English Name" %> <%= f.language_name_select :name, {}, id: "language[language_name_select]" %> <% end %> </div> <div id="language_native_select" class="field"> <%= form_for(Language.new) do |f| %> <%= f.label :name, "Native Name to Native Name" %> <%= f.language_native_select :name, {}, id: "language[language_native_select]" %> <% end %> </div> <div id="language_code_select" class="field"> <%= form_for(Language.new) do |f| %> <%= f.label :name, "Language Code to Native Name" %> <%= f.language_code_select :name, {}, id: "language[language_code_select]" %> <% end %> </div> <div id="country_name_select" class="field"> <%= form_for(Language.new) do |f| %> <%= f.label :name, "English Country Name to English Country Name" %> <%= f.country_name_select :name, {}, id: "language[country_name_select]" %> <% end %> </div> <div id="country_code_select" class="field"> <%= form_for(Language.new) do |f| %> <%= f.label :name, "Code to English Country Name" %> <%= f.country_code_select :name, {}, id: "language[country_code_select]" %> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
i18n_form_helper-0.0.1 | test/dummy/app/views/languages/index.html.erb |