mirror of
https://github.com/heartcombo/simple_form.git
synced 2022-11-09 12:19:26 -05:00
Merge pull request #1428 from moofkit/placeholder-text-silent-deprication
silent deprication warning for placeholder_text
This commit is contained in:
commit
97f63304a7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue