# File lib/cgikit/elements/radio.rb, line 59
  def append_to_response( response, context )
    take_bool(:checked)
    take_value(:value)
    take_value(:selection)

    html = "<input type=\"radio\" name=\"#{name_value(context)}\""
    if @values[:value] then
      @values[:value] = escaped_string(@values[:value])
    end
    html << %Q' value="#{@values[:value] || DEFAULT_VALUE}"'
    if declared?(:checked) then
      if @values[:checked] == true then
        html << checked()
      end
    elsif @values[:selection] and (@values[:value] == @values[:selection]) then
      html << checked()
    end
    html << other()
    html << enabled()
    html << '/>'
    response.content << html
  end