Sha256: fa56e11ef86d65b044f9b93e8326cf5c050e67f382c3aca62f1b60fe989a811d
Contents?: true
Size: 301 Bytes
Versions: 13
Compression:
Stored size: 301 Bytes
Contents
module Spurs module Badge module Helper def spurs_badge(content, options={}) class_str ="badge" if options[:type] class_str.concat(" badge-#{options[:type]}") end content_tag(:span,content.html_safe,:class => class_str) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems