Sha256: c787fc43127b9380fc215ff8d3cbe983b7f7abba3de09632ab7b5ebe0d35259f

Contents?: true

Size: 400 Bytes

Versions: 9

Compression:

Stored size: 400 Bytes

Contents

module FormtasticBootstrap
  module Inputs
    class TimeInput < FormtasticBootstrap::Inputs::TimeSelectInput
      def to_html
        ::ActiveSupport::Deprecation.warn("TimeInput (:as => :time) has been renamed to TimeSelectInput (:as => :time_select) and will be removed or changed in the next version of Formtastic, please update your forms.", caller(2))
        super
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
formtastic-bootstrap-3.1.1 lib/formtastic-bootstrap/inputs/time_input.rb
formtastic-bootstrap-3.1.0 lib/formtastic-bootstrap/inputs/time_input.rb
formtastic-bootstrap-3.0.0 lib/formtastic-bootstrap/inputs/time_input.rb
formtastic-bootstrap-3.0.0.rc.2 lib/formtastic-bootstrap/inputs/time_input.rb
formtastic-bootstrap-3.0.0.rc.1 lib/formtastic-bootstrap/inputs/time_input.rb
formtastic-bootstrap-2.1.3 lib/formtastic-bootstrap/inputs/time_input.rb
formtastic-bootstrap-2.1.2 lib/formtastic-bootstrap/inputs/time_input.rb
formtastic-bootstrap-2.1.1 lib/formtastic-bootstrap/inputs/time_input.rb
formtastic-bootstrap-2.0.0 lib/formtastic-bootstrap/inputs/time_input.rb