Sha256: cbd86e0eb65f2607ad6e5eee79de8dbee920ceaf6f04c18dc8e28e6bec6b0e2c

Contents?: true

Size: 299 Bytes

Versions: 3

Compression:

Stored size: 299 Bytes

Contents

module FormtasticBootstrap
  module Inputs
    class NumberInput < Formtastic::Inputs::NumberInput
      include Base
      include Base::Numeric

      def to_html
        generic_input_wrapping do
          builder.number_field(method, input_html_options)
        end
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
speedo-formstrap-1.2.9 lib/formtastic-bootstrap/inputs/number_input.rb
speedo-formstrap-1.2.8 lib/formtastic-bootstrap/inputs/number_input.rb
speedo-formstrap-1.2.0 lib/formtastic-bootstrap/inputs/number_input.rb