Sha256: e1a653bd1cf2dcab03ee149648102a8ad0ab99524504ddc69bd1cebd3380091f

Contents?: true

Size: 177 Bytes

Versions: 3

Compression:

Stored size: 177 Bytes

Contents

module GovukDesignSystem
  module HmctsBadgeHelper
    def hmctsBadge(text: "", classes: nil)
      tag.span(text, class: class_names("hmcts-badge", classes))
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
govuk-design-system-rails-0.10.3 app/helpers/govuk_design_system/hmcts_badge_helper.rb
govuk-design-system-rails-0.10.2 app/helpers/govuk_design_system/hmcts_badge_helper.rb
govuk-design-system-rails-0.10.1 app/helpers/govuk_design_system/hmcts_badge_helper.rb