diff options
author | Cassidy Kobewka <hello@cassidy.codes> | 2018-04-15 10:42:56 -0400 |
---|---|---|
committer | Cassidy Kobewka <hello@cassidy.codes> | 2018-04-15 12:34:30 -0400 |
commit | 2aa8e0a56f39f0a44f4deb19c856314a7a473b2f (patch) | |
tree | 681bde8bf44ea85dae3c06e1e361a18b165f959c /actionview/lib/action_view/helpers | |
parent | d472229f1fb76f73b6bc678191057a554ce52f51 (diff) | |
download | rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.tar.gz rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.tar.bz2 rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.zip |
Inclusive Language in Documentation Examples [ci skip]
Diffstat (limited to 'actionview/lib/action_view/helpers')
-rw-r--r-- | actionview/lib/action_view/helpers/form_tag_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb index 54f82e058e..ba09738beb 100644 --- a/actionview/lib/action_view/helpers/form_tag_helper.rb +++ b/actionview/lib/action_view/helpers/form_tag_helper.rb @@ -389,8 +389,8 @@ module ActionView # * Any other key creates standard HTML options for the tag. # # ==== Examples - # radio_button_tag 'gender', 'male' - # # => <input id="gender_male" name="gender" type="radio" value="male" /> + # radio_button_tag 'favorite_color', 'maroon' + # # => <input id="favorite_color_maroon" name="favorite_color" type="radio" value="maroon" /> # # radio_button_tag 'receive_updates', 'no', true # # => <input checked="checked" id="receive_updates_no" name="receive_updates" type="radio" value="no" /> |