Skip to content
Browse files

Update README.md

  • Loading branch information...
1 parent 3428edc commit a452718d0e70be4a4ffefc17d1e76da37e233600 @sailavu sailavu committed Dec 9, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -216,6 +216,12 @@ SimpleForm also supports :time_zone and :country. When using such helpers, you c
Those values can also be configured with a default value to be used site use 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 then you may use the :collection option
+
+```ruby
+ f.input :residence_country, :priority => [ "Brazil" ], :collection => [ "Australia", "Brazil", "New Zealand"]
+```
+
### Wrapper
SimpleForm allows you to add a wrapper which contains the label, error, hint and input.

0 comments on commit a452718

Please sign in to comment.
Something went wrong with that request. Please try again.