Sha256: bcea2cc41bfdb2b980c805f688c033779d29d621088f008352b5724451218d2b

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
formtastic-2.0.0.rc3 lib/formtastic/inputs/time_input.rb
formtastic-2.0.0.rc2 lib/formtastic/inputs/time_input.rb