Sha256: 02905c9400a5adfade0a62ac8862f15395322e6f8efff15486fef690af2ea642
Contents?: true
Size: 373 Bytes
Versions: 8
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true module SimpleForm module Inputs class ColorInput < Base 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 end end end
Version data entries
8 entries across 8 versions & 1 rubygems