Sha256: bd70e6ef7c69d9de5a343f91a281c40b4d45970abc1bac85b66336a4b16f9c07

Contents?: true

Size: 452 Bytes

Versions: 7

Compression:

Stored size: 452 Bytes

Contents

module Formtastic
  module Inputs
    # Outputs a series of select boxes for the fragments that make up a date (year, month, day).
    #
    # @see Formtastic::Inputs::Timeish Timeish module for documetation of date, time and datetime input options.
    class DateInput 
      include Base
      include Base::Timeish
      
      # We don't want hour and minute fragments on a date input
      def time_fragments
        []
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
formtastic-2.0.2 lib/formtastic/inputs/date_input.rb
formtastic-2.0.1 lib/formtastic/inputs/date_input.rb
formtastic-2.0.0 lib/formtastic/inputs/date_input.rb
formtastic-2.0.0.rc5 lib/formtastic/inputs/date_input.rb
formtastic-2.0.0.rc4 lib/formtastic/inputs/date_input.rb
formtastic-2.0.0.rc3 lib/formtastic/inputs/date_input.rb
formtastic-2.0.0.rc2 lib/formtastic/inputs/date_input.rb