Permalink
Browse files

Merge pull request #30831 from masatooba/fix-radio-button-tag-comment

Fix radio_button_tag comment
  • Loading branch information...
eileencodes committed Oct 8, 2017
2 parents 992e719 + 11a8967 commit e695086248290b186bd72134583a331d40645427
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/helpers/form_tag_helper.rb
@@ -394,7 +394,7 @@ def check_box_tag(name, value = "1", checked = false, options = {})
# # => <input checked="checked" id="receive_updates_no" name="receive_updates" type="radio" value="no" />
#
# radio_button_tag 'time_slot', "3:00 p.m.", false, disabled: true
# # => <input disabled="disabled" id="time_slot_300_pm" name="time_slot" type="radio" value="3:00 p.m." />
# # => <input disabled="disabled" id="time_slot_3:00_p.m." name="time_slot" type="radio" value="3:00 p.m." />
#
# radio_button_tag 'color', "green", true, class: "color_input"
# # => <input checked="checked" class="color_input" id="color_green" name="color" type="radio" value="green" />

0 comments on commit e695086

Please sign in to comment.