Skip to content

Commit

Permalink
changed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerBlessing committed May 25, 2010
1 parent e6861c8 commit d65c7a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.rdoc
Expand Up @@ -20,6 +20,8 @@ See http://github.com/rails/country_select/tree/master/lib/country_select.rb

== Examples

Show the complete country name:

<%= country_select(:user, :country, {}, :include_blank => 'Please choose...') %>

will become:
Expand All @@ -32,6 +34,9 @@ will become:
<option value="ZW">Zimbabwe</option>
</select>


Show only the country codes:

<%= country_select(:user, :country, {:description => :abbreviated}, :include_blank => 'Please choose...') %>

will become:
Expand Down

0 comments on commit d65c7a2

Please sign in to comment.