def fa_icon(*args, &block)
      html_options = args.extract_options!
      html_options[:class] = Array html_options[:class]
      html_options[:class] << 'fa'
      args.each { |suffix| html_options[:class] << "fa-#{fa_map suffix}" }

      content_tag :i, nil, html_options, &block
    end
def fa_icon(*args, &block)
      html_options = args.extract_options!
      html_options[:class] = Array html_options[:class]
      html_options[:class] << 'fa'
      args.each { |suffix| html_options[:class] << "fa-#{fa_map suffix}" }

      content_tag :i, nil, html_options, &block
    end
Shortcut to generate FontAwesome icon using tag <i>.
 @overload fa_icon(*names, html_options)
   @param names [Array<String>] names of the icon
   @param html_options [Hash] HTML options for tag <i>
 @return [String] HTML I element