Improve README.
This commit is contained in:
parent
07bedb793f
commit
111ead7e49
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue