No need of html_safe here

tag helper always return a html safe string and concat two html safe
strings always return a html safe string
This commit is contained in:
Rafael Mendonça França 2012-01-04 03:01:23 -03:00
parent 4b81007acf
commit 63f48b113a

@ -1093,7 +1093,7 @@ def to_check_box_tag(options = {}, checked_value = "1", unchecked_value = "0")
end
hidden = tag("input", "name" => options["name"], "type" => "hidden", "value" => options['disabled'] && checked ? checked_value : unchecked_value)
checkbox = tag("input", options)
(hidden + checkbox).html_safe
hidden + checkbox
end
def to_boolean_select_tag(options = {})