diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-22 23:51:17 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-22 23:51:17 +0530 |
commit | 5c89e075963b89fbaa86035a120acd27a571d873 (patch) | |
tree | 5e6fe2d0133d89320145fb5615ae61b85a666eed /actionpack/lib | |
parent | d850fdf5667f4e6a661531d48780c30ec46267f9 (diff) | |
parent | 9356d1b2d48a7134523ae3ccad7bd80c3ccaa30e (diff) | |
download | rails-5c89e075963b89fbaa86035a120acd27a571d873.tar.gz rails-5c89e075963b89fbaa86035a120acd27a571d873.tar.bz2 rails-5c89e075963b89fbaa86035a120acd27a571d873.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_options_helper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index e4f4ebc7ff..2bb526a539 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -501,14 +501,14 @@ module ActionView # # Possible output: # <optgroup label="---------"> + # <option value="US">United States</option> + # <option value="Canada">Canada</option> + # </optgroup> + # <optgroup label="---------"> # <option value="Denmark">Denmark</option> # <option value="Germany">Germany</option> # <option value="France">France</option> # </optgroup> - # <optgroup label="---------"> - # <option value="US">United States</option> - # <option value="Canada">Canada</option> - # </optgroup> # # <b>Note:</b> Only the <tt><optgroup></tt> and <tt><option></tt> tags are returned, so you still have to # wrap the output in an appropriate <tt><select></tt> tag. |