Merge pull request #1428 from moofkit/placeholder-text-silent-deprication
silent deprication warning for placeholder_text
This commit is contained in:
commit
97f63304a7
|
@ -8,7 +8,7 @@ module SimpleForm
|
|||
nil
|
||||
end
|
||||
|
||||
def placeholder_text
|
||||
def placeholder_text(wrapper_options = nil)
|
||||
placeholder = options[:placeholder]
|
||||
placeholder.is_a?(String) ? placeholder : translate_from_namespace(:placeholders)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue