module SimpleForm::Components::Hints

def has_hint?

def has_hint?
  options[:hint] != false && hint.present?
end

def hint(wrapper_options = nil)

def hint(wrapper_options = nil)
  @hint ||= begin
    hint = options[:hint]
    if hint.is_a?(String)
      html_escape(hint)
    else
      content = translate_from_namespace(:hints)
      content.html_safe if content
    end
  end
end