diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-10 20:55:31 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-10 20:55:31 -0300 |
commit | ab880b9eb0aab83e9c000a89e9f0ca636a8b9f78 (patch) | |
tree | 6655541e9985bbd7ecc49929fe3cf732a62736fb /actionpack/lib/action_view/helpers | |
parent | 71d6b088ec135cb3c4bc15ec45feb7449aee0c97 (diff) | |
download | rails-ab880b9eb0aab83e9c000a89e9f0ca636a8b9f78.tar.gz rails-ab880b9eb0aab83e9c000a89e9f0ca636a8b9f78.tar.bz2 rails-ab880b9eb0aab83e9c000a89e9f0ca636a8b9f78.zip |
Follow code conventions on docs
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_options_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index 7698602022..0aaa690129 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -274,10 +274,10 @@ module ActionView # You can optionally provide html attributes as the last element of the array. # # Examples: - # options_for_select([ "Denmark", ["USA", {:class=>'bold'}], "Sweden" ], ["USA", "Sweden"]) + # options_for_select([ "Denmark", ["USA", {:class => 'bold'}], "Sweden" ], ["USA", "Sweden"]) # <option value="Denmark">Denmark</option>\n<option value="USA" class="bold" selected="selected">USA</option>\n<option value="Sweden" selected="selected">Sweden</option> # - # options_for_select([["Dollar", "$", {:class=>"bold"}], ["Kroner", "DKK", {:onclick => "alert('HI');"}]]) + # options_for_select([["Dollar", "$", {:class => "bold"}], ["Kroner", "DKK", {:onclick => "alert('HI');"}]]) # <option value="$" class="bold">Dollar</option>\n<option value="DKK" onclick="alert('HI');">Kroner</option> # # If you wish to specify disabled option tags, set +selected+ to be a hash, with <tt>:disabled</tt> being either a value |