From 11a89674aff171155043fa284035243982842d8d Mon Sep 17 00:00:00 2001 From: Masato Oba Date: Sun, 8 Oct 2017 10:25:45 +0900 Subject: Fix radio_button_tag comment Colons, periods, etc. can also be included in id. The sanitize_to_id method does not remove them. --- actionview/lib/action_view/helpers/form_tag_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/lib') diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb index 31a1f8be8c..8a08e49e2f 100644 --- a/actionview/lib/action_view/helpers/form_tag_helper.rb +++ b/actionview/lib/action_view/helpers/form_tag_helper.rb @@ -394,7 +394,7 @@ module ActionView # # => # # radio_button_tag 'time_slot', "3:00 p.m.", false, disabled: true - # # => + # # => # # radio_button_tag 'color', "green", true, class: "color_input" # # => -- cgit v1.2.3