1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Make a doc example output in match actual output

Make doc output in grouped_options_for_select divider example match
actual output. The options groups were in backwards order of actual.
This commit is contained in:
Evan Farrar 2012-08-15 19:52:52 -04:00
parent 176f0888d8
commit 7c584256d1

View file

@ -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.