class SimpleForm::Inputs::ColorInput
Public Instance Methods
input(wrapper_options = nil)
click to toggle source
# File lib/simple_form/inputs/color_input.rb, line 5 def input(wrapper_options = nil) input_html_options[:type] ||= "color" if html5? merged_input_options = merge_wrapper_options(input_html_options, wrapper_options) @builder.text_field(attribute_name, merged_input_options) end