class SimpleForm::Inputs::RangeInput

Public Instance Methods

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

  super
end