lib/formtastic-bootstrap/inputs/base/hints.rb in formtastic-bootstrap-2.1.3 vs lib/formtastic-bootstrap/inputs/base/hints.rb in formtastic-bootstrap-3.0.0.rc.1
- old
+ new
@@ -1,21 +1,21 @@
module FormtasticBootstrap
module Inputs
module Base
module Hints
-
+
include Formtastic::Inputs::Base::Hints
def hint_html(inline_or_block = :block)
if hint?
hint_class = if inline_or_block == :inline
options[:hint_class] || builder.default_inline_hint_class
else
options[:hint_class] || builder.default_block_hint_class
end
template.content_tag(
- :span,
- Formtastic::Util.html_safe(hint_text),
+ :span,
+ Formtastic::Util.html_safe(hint_text),
:class => hint_class
)
end
end