Sha256: 184ab056407ed3f32b14f940d4f011a136401e88deb40ea96bfe8121fa46a9b6
Contents?: true
Size: 693 Bytes
Versions: 64
Compression:
Stored size: 693 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
64 entries across 64 versions & 1 rubygems