module Formtastic::Inputs::Base::Placeholder

Public Instance Methods

input_html_options() click to toggle source
Calls superclass method
# File lib/formtastic/inputs/base/placeholder.rb, line 6
def input_html_options
  {:placeholder => placeholder_text}.merge(super)
end
placeholder_text() click to toggle source
# File lib/formtastic/inputs/base/placeholder.rb, line 10
def placeholder_text
  localized_string(method, options[:placeholder], :placeholder)
end