2010-01-09 15:05:02 +00:00
|
|
|
module SimpleForm
|
|
|
|
module Components
|
2011-12-04 14:49:57 +00:00
|
|
|
# Needs to be enabled in order to do automatic lookups.
|
2010-01-09 15:05:02 +00:00
|
|
|
module Hints
|
|
|
|
def hint
|
2011-12-04 14:49:57 +00:00
|
|
|
if options[:hint] == true
|
2011-12-10 17:56:47 +00:00
|
|
|
translate(:hints)
|
2011-12-04 14:49:57 +00:00
|
|
|
else
|
|
|
|
options[:hint]
|
|
|
|
end
|
2011-09-03 10:55:53 +00:00
|
|
|
end
|
2010-01-09 15:05:02 +00:00
|
|
|
end
|
|
|
|
end
|
2010-09-22 18:45:22 +00:00
|
|
|
end
|