Sha256: d5148c1aa8d5b8db9e6071a2318a8bf104f8344ab82d347f26fef6bdaa9e4a60
Contents?: true
Size: 798 Bytes
Versions: 16
Compression:
Stored size: 798 Bytes
Contents
module JqueryUiForm module Inputs module DateInput def date_input(method, options = {}) # options[:type] = "date" options["data-calendar"] = options["data-calendar"].to_json if options["data-calendar"].is_a?(Hash) basic_input_helper(:date_field, :date, method, options) end def datetime_input(method, options = {}) # options[:type] = "datetime" options["data-calendar"] = options["data-calendar"].to_json if options["data-calendar"].is_a?(Hash) basic_input_helper(:datetime_field, :datetime, method, options) end def time_input(method, options = {}) # options[:type] = "time" basic_input_helper(:time_field, :time, method, options) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems