diff options
author | Thomas Osborn <trosborn@gmail.com> | 2015-07-02 16:21:28 -0700 |
---|---|---|
committer | Thomas Osborn <trosborn@gmail.com> | 2015-07-02 16:21:28 -0700 |
commit | b3bfbbf10eaa8b86448eb8e6129ca52e999bf497 (patch) | |
tree | 5f3d422f908c9c1ba5373cedcbd8ee89db4bf6e6 /actionview/lib | |
parent | cc7ef0cf19d9818c6772e77ca4a8d350688b44e8 (diff) | |
download | rails-b3bfbbf10eaa8b86448eb8e6129ca52e999bf497.tar.gz rails-b3bfbbf10eaa8b86448eb8e6129ca52e999bf497.tar.bz2 rails-b3bfbbf10eaa8b86448eb8e6129ca52e999bf497.zip |
changes names in guides to better reflect diversity [ci-skip]
Diffstat (limited to 'actionview/lib')
-rw-r--r-- | actionview/lib/action_view/helpers/form_options_helper.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/actionview/lib/action_view/helpers/form_options_helper.rb b/actionview/lib/action_view/helpers/form_options_helper.rb index 1b7b188d65..8e729b3c39 100644 --- a/actionview/lib/action_view/helpers/form_options_helper.rb +++ b/actionview/lib/action_view/helpers/form_options_helper.rb @@ -35,8 +35,8 @@ module ActionView # <select name="post[person_id]" id="post_person_id"> # <option value="">None</option> # <option value="1">David</option> - # <option value="2" selected="selected">Sam</option> - # <option value="3">Tobias</option> + # <option value="2" selected="selected">Eileen</option> + # <option value="3">Rafael</option> # </select> # # * <tt>:prompt</tt> - set to true or a prompt string. When the select element doesn't have a value yet, this prepends an option with a generic prompt -- "Please select" -- or the given prompt string. @@ -48,8 +48,8 @@ module ActionView # <select name="post[person_id]" id="post_person_id"> # <option value="">Select Person</option> # <option value="1">David</option> - # <option value="2">Sam</option> - # <option value="3">Tobias</option> + # <option value="2">Eileen</option> + # <option value="3">Rafael</option> # </select> # # * <tt>:index</tt> - like the other form helpers, +select+ can accept an <tt>:index</tt> option to manually set the ID used in the resulting output. Unlike other helpers, +select+ expects this @@ -112,8 +112,8 @@ module ActionView # <select name="post[person_id]" id="post_person_id"> # <option value=""></option> # <option value="1" selected="selected">David</option> - # <option value="2">Sam</option> - # <option value="3">Tobias</option> + # <option value="2">Eileen</option> + # <option value="3">Rafael</option> # </select> # # assuming the associated person has ID 1. |