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:
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 = {})
|
||||
|
Loading…
Reference in New Issue
Block a user