module SimpleForm::Components::Hints
def has_hint?
def has_hint? hint.present? end
def hint
def hint @hint ||= begin hint = options[:hint] hint.is_a?(String) ? hint : translate(:hints) end end
def has_hint? hint.present? end
def hint @hint ||= begin hint = options[:hint] hint.is_a?(String) ? hint : translate(:hints) end end