    # File lib/ramaze/helper/sequel_form.rb, line 76
        def field_for(hash)
          return if hash[:primary_key]
          args = args_for(hash)

          inner =
            case type = hash[:type]
            when :integer
              field_integer(*args)
            when :boolean
              field_boolean(*args)
            when :text
              field_textarea(*args)
            when :varchar
              field_input(*args)
            when :date
              field_date(*args)
            when :time
              field_time(*args)
            else
              Log.warn "Unknown field: %p" % hash
              field_input(*args)
            end

          "<label>#{args.first}: </label>\n#{inner}"
        end