Sha256: 88dab343039d5950276ae1175fbaa29cdef9511c7a5acd78cb58277bfaa9b833
Contents?: true
Size: 552 Bytes
Versions: 9
Compression:
Stored size: 552 Bytes
Contents
module FlexaFormtasticBootstrap module Inputs class DatePickerInput < Formtastic::Inputs::DatetimeInput include Base include Base::Stringish include Base::Timeish def to_html generic_input_wrapping do builder.text_field(method, input_html_options) end end def wrapper_html_options #super.merge(:class => "#{super[:class]} datePicker" ) end def input_html_options super.merge(:class => "datepicker_flexa") end end end end
Version data entries
9 entries across 9 versions & 1 rubygems