Browse files


  • Loading branch information...
sailavu committed Dec 9, 2011
1 parent 3428edc commit a452718d0e70be4a4ffefc17d1e76da37e233600
Showing with 6 additions and 0 deletions.
  1. +6 −0
@@ -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
+ 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.