aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/form_tag_helper.rb
diff options
context:
space:
mode:
authorCassidy Kobewka <hello@cassidy.codes>2018-04-15 10:42:56 -0400
committerCassidy Kobewka <hello@cassidy.codes>2018-04-15 12:34:30 -0400
commit2aa8e0a56f39f0a44f4deb19c856314a7a473b2f (patch)
tree681bde8bf44ea85dae3c06e1e361a18b165f959c /actionview/lib/action_view/helpers/form_tag_helper.rb
parentd472229f1fb76f73b6bc678191057a554ce52f51 (diff)
downloadrails-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/form_tag_helper.rb')
-rw-r--r--actionview/lib/action_view/helpers/form_tag_helper.rb4
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" />