class SimpleForm::Inputs::RangeInput

Public Instance Methods

input() click to toggle source
# File lib/simple_form/inputs/range_input.rb, line 4
def input
  if html5?
    input_html_options[:type] ||= "range"
    input_html_options[:step] ||= 1
  end

  super
end