Sha256: d0a6701a136679a8e4e8c44a41715a0a8567ebb19180c1fbbaaf85167a5b8b72

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
formtastic-bootstrap-2.1.3 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-2.1.2 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-2.1.1 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-2.0.0 lib/formtastic-bootstrap/inputs/number_input.rb