    # File lib/ramaze/helper/blue_form.rb, line 109
            def input_radio(label, name, values, options = {})
              has_checked, checked = options.key?(:checked), options[:checked]

              @g.p do
                values.each_with_index do |(value, o_name), index|
                  o_name ||= value
                  id = id_for("#{name}-#{index}")

                  o_args = {:type => :radio, :value => value, :id => id, :name => name}
                  o_args[:checked] = 'checked' if has_checked && value == checked

                  if error = @form_errors.delete(name.to_s)
                    @g.label(:for => id){
                      @g.span(:class => :error){ error }
                      @g.input(o_args)
                      @g.out << o_name
                    }
                  else
                    @g.label(:for => id){
                      @g.input(o_args)
                      @g.out << o_name
                    }
                  end
                end
              end
            end