diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-04-16 23:07:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 23:07:43 -0400 |
commit | 5003d5996a3d29d6614ccf714ad05f911aa30cff (patch) | |
tree | 1d12f6d41c15b45aaaec7bf6210ed0b095aed87b /actionview/lib | |
parent | 75210560f1b50e0750def1700e54ffb1fa80c64c (diff) | |
parent | 3137a8739e7cb0885cb3f9f631dbca8107448ce5 (diff) | |
download | rails-5003d5996a3d29d6614ccf714ad05f911aa30cff.tar.gz rails-5003d5996a3d29d6614ccf714ad05f911aa30cff.tar.bz2 rails-5003d5996a3d29d6614ccf714ad05f911aa30cff.zip |
Merge pull request #32582 from cassidycodes/better-examples
Inclusive Language in Documentation Examples
Diffstat (limited to 'actionview/lib')
-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" /> |