Sha256: 2d849c75a9de34ef7a60b254964fd0bf09a3ce11e7a7959071071583f4cb31db

Contents?: true

Size: 300 Bytes

Versions: 12

Compression:

Stored size: 300 Bytes

Contents

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

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

    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
speedo-formstrap-1.2.7 lib/formtastic-bootstrap/inputs/number_input.rb
speedo-formstrap-1.2.6 lib/formtastic-bootstrap/inputs/number_input.rb
speedo-formstrap-1.2.5 lib/formtastic-bootstrap/inputs/number_input.rb
speedo-formstrap-1.2.4 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-1.2.0 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-1.1.2 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-1.1.1 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-1.1.0 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-1.0.3 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-1.0.2 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-1.0.1 lib/formtastic-bootstrap/inputs/number_input.rb
formtastic-bootstrap-1.0.0 lib/formtastic-bootstrap/inputs/number_input.rb