Sha256: 014c0e97df242861bb89950159c2fb86b6e895fabfb7a9096a1b4583a0ea2135
Contents?: true
Size: 685 Bytes
Versions: 77
Compression:
Stored size: 685 Bytes
Contents
<% brand ||= false lang = local_assigns[:lang].presence brand_helper = GovukPublishingComponents::AppHelpers::BrandHelper.new(brand) heading_helper = GovukPublishingComponents::Presenters::HeadingHelper.new(local_assigns) shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns) classes = %w(gem-c-heading) classes << heading_helper.classes classes << brand_helper.brand_class classes << brand_helper.border_color_class classes << shared_helper.get_margin_bottom if [*0..9].include?(local_assigns[:margin_bottom]) %> <%= content_tag(shared_helper.get_heading_level, text, class: classes, id: heading_helper.id, lang: lang ) %>
Version data entries
77 entries across 77 versions & 1 rubygems