Sha256: b9e47cba1a98eef81c8d6b783b7d0bd7171272a78b1a20759c160850f573e8ec
Contents?: true
Size: 353 Bytes
Versions: 18
Compression:
Stored size: 353 Bytes
Contents
class SymbolInput < SimpleForm::Inputs::Base def input(wrapper_options) "<label for='#{object_name}_#{attribute_name}' class='#{options[:span_class]}'>#{options[:content_text]}</label>#{@builder.text_field(attribute_name, "data-validate" => input_html_options['data-validate'], placeholder: input_html_options[:placeholder])}".html_safe end end
Version data entries
18 entries across 18 versions & 2 rubygems