diff --git a/lib/simple_form/components/hints.rb b/lib/simple_form/components/hints.rb index 931ab675..80eded79 100644 --- a/lib/simple_form/components/hints.rb +++ b/lib/simple_form/components/hints.rb @@ -4,7 +4,7 @@ module SimpleForm module Hints def hint if options[:hint] == true - translate(:hints).presence + translate(:hints) else options[:hint] end diff --git a/lib/simple_form/components/placeholders.rb b/lib/simple_form/components/placeholders.rb index f4200499..17ba315f 100644 --- a/lib/simple_form/components/placeholders.rb +++ b/lib/simple_form/components/placeholders.rb @@ -9,11 +9,11 @@ module SimpleForm def placeholder_text if options[:placeholder] == true - translate(:placeholders).presence + translate(:placeholders) else options[:placeholder] end end end end -end \ No newline at end of file +end