Needs to be enabled in order to do automatic lookups.
Public Instance Methods
placeholder()click to toggle source
# File lib/simple_form/components/placeholders.rb, line 5defplaceholderinput_html_options[:placeholder] ||=placeholder_textnilend
placeholder_text()click to toggle source
# File lib/simple_form/components/placeholders.rb, line 10defplaceholder_textplaceholder = options[:placeholder]
placeholder.is_a?(String) ?placeholder:translate(:placeholders)
end