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

Version Path
flexa_lib-0.5.2 lib/flexa_formtastic_bootstrap/inputs/date_picker_input.rb
flexa_lib-0.5.1 lib/flexa_formtastic_bootstrap/inputs/date_picker_input.rb
flexa_lib-0.5.0 lib/flexa_formtastic_bootstrap/inputs/date_picker_input.rb
flexa_lib-0.3.9 lib/flexa_formtastic_bootstrap/inputs/date_picker_input.rb
flexa_lib-0.3.8 lib/flexa_lib/inputs/date_picker_input.rb
flexa_lib-0.3.7 lib/flexa_lib/inputs/date_picker_input.rb
flexa_lib-0.3.6 lib/flexa_lib/inputs/date_picker_input.rb
flexa_lib-0.3.5 lib/flexa_lib/inputs/date_picker_input.rb
flexa_lib-0.3.4 lib/flexa_lib/inputs/date_picker_input.rb