Sha256: 1034b657517dd028b558dbedd7c420c17470c04ee46b750e5e6777daffa9ffbb

Contents?: true

Size: 320 Bytes

Versions: 72

Compression:

Stored size: 320 Bytes

Contents

module Effective
  module FormInputs
    class NumberTextField < Effective::FormInput

      def build_input(&block)
        @builder.super_text_field(name, options[:input])
      end

      def input_html_options
        { class: 'form-control effective_number_text', autocomplete: 'off' }
      end

    end
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
effective_bootstrap-0.5.17 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.16 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.15 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.14 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.13 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.12 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.11 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.10 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.9 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.8 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.7 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.6 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.5 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.4 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.3 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.2 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.1 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.5.0 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.4.8 app/models/effective/form_inputs/number_text_field.rb
effective_bootstrap-0.4.7 app/models/effective/form_inputs/number_text_field.rb