module JqueryUiForm module Inputs module NumberInput def number_input(method, options = {}) options[:type] = "number" basic_input_helper(:number_field, :number, method, options) end end end end