Sha256: fe5bc9c1f15cfac3af02d1ee40e82d7ec272f4c68046b6741b4de0edd2caa188
Contents?: true
Size: 650 Bytes
Versions: 15
Compression:
Stored size: 650 Bytes
Contents
module FormtasticBootstrap module Inputs module Base module Hints include Formtastic::Inputs::Base::Hints def hint_html(inline_or_block = :inline) 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), :class => hint_class ) end end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems