# File lib/cgikit.rb, line 1373 def to_s to_s = "<input type=\"checkbox\" name=\"#@attr_name\"" to_s << " value=\"#@attr_value\"" if @attr_value if @attr_checked then to_s << " checked" end if @attr_disabled then to_s << " disabled" end to_s << '>' end