Sha256: 4d21f31d24ff52e931c5a96294d910cbd3affa4865a3ca7a1751c0e77535e35f
Contents?: true
Size: 279 Bytes
Versions: 3
Compression:
Stored size: 279 Bytes
Contents
module ActiveAdmin module ViewHelpers module StatusTagHelper def status_tag(status, options = {}) options[:class] ||= "" options[:class] << ["status", status.downcase].join(' ') content_tag :span, status, options end end end end
Version data entries
3 entries across 3 versions & 1 rubygems