formtastic/formtastic

View on GitHub
lib/formtastic/inputs/datetime_select_input.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true
module Formtastic
  module Inputs

    # Outputs a series of select boxes for the fragments that make up a date and time (year, month, day, hour, minute, second).
    #
    # @see Formtastic::Inputs::Base::Timeish Timeish module for documentation of date, time and datetime input options.
    class DatetimeSelectInput 
      include Base
      include Base::Timeish
    end
  end
end