Improve README.

This commit is contained in:
Guo Xiang Tan 2014-03-14 12:16:50 -07:00
parent 07bedb793f
commit 111ead7e49
1 changed files with 2 additions and 2 deletions

View File

@ -346,14 +346,14 @@ used to retrieve label/value attributes for the `option` tags. Besides that, you
### Priority
**Simple Form** also supports `:time_zone` and `:country`. When using such helpers, you can give
`:priority` as option to select which time zones and/or countries should be given higher priority:
`:priority` as an option to select which time zones and/or countries should be given higher priority:
```ruby
f.input :residence_country, priority: [ "Brazil" ]
f.input :time_zone, priority: /US/
```
Those values can also be configured with a default value to be used site use through the
Those values can also be configured with a default value to be used on the site through the
`SimpleForm.country_priority` and `SimpleForm.time_zone_priority` helpers.
Note: While using `country_select` if you want to restrict to only a subset of countries for a specific