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:
parent
176f0888d8
commit
7c584256d1
1 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue