Sha256: 872b58b72340e967c3761231855e44c5abeda02cad7daf43c18c04e16bba102d

Contents?: true

Size: 271 Bytes

Versions: 5

Compression:

Stored size: 271 Bytes

Contents

module AlchemyCrm
  module Admin
    module BaseHelper

      # Renders a <small> html tag with the contact count for current tag in it.
      def contact_count_from_tag(tag)
        content_tag('small', "(#{Contact.tagged_with(tag).count})")
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_crm-2.0.5 app/helpers/alchemy_crm/admin/base_helper.rb
alchemy_crm-2.0.4.1 app/helpers/alchemy_crm/admin/base_helper.rb
alchemy_crm-2.1.0a app/helpers/alchemy_crm/admin/base_helper.rb
alchemy_crm-2.0.3 app/helpers/alchemy_crm/admin/base_helper.rb
alchemy_crm-2.0.2 app/helpers/alchemy_crm/admin/base_helper.rb