lib/air_blade/air_budd/form_builder.rb
# Writes out a <span/> element with a hint for how to fill in a field.
# Options:
#  - :hint: text for the hint.  Optional.
Writes out a  element with a hint for how to fill in a field.
Options:
:hint: text for the hint.  Optional.
Writes out a element with a hint for how to fill in a field . Options : : hint : text for the hint . Optional .
def hint_element(options = {})
        hint = options.delete :hint
        if hint
          @template.content_tag :span, hint, :class => 'hint'
        else
          ''
        end
      end
def hint_element ( options = { } ) hint = options . delete :hint if hint @template . content_tag :span , hint , :class => 'hint' else '' end end
Writes out a <span/> element with a hint for how to fill in a field.
Writes out a <span / > element with a hint for how to fill in a field .
options