Sha256: cef9625193a276d6c7e3dd5b5afe806a42d0955a5c00fbcdce0e73de2c546f23
Contents?: true
Size: 637 Bytes
Versions: 30
Compression:
Stored size: 637 Bytes
Contents
<% brand ||= false 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 ) %>
Version data entries
30 entries across 30 versions & 1 rubygems