Sha256: e1ba3733013c544b3f8a33a9c87aeb9f90ac0937ef8b24f5d184cb5a300a18fb
Contents?: true
Size: 966 Bytes
Versions: 58
Compression:
Stored size: 966 Bytes
Contents
<% shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns) %> <% cta_helper = GovukPublishingComponents::Presenters::BrexitCtaHelper.new(content_item) %> <% title = t(cta_helper.title_key) link_text = t(cta_helper.link_text_key) link_path = t(cta_helper.link_path_key) lang = shared_helper.t_locale(cta_helper.title_key) %> <% data_attributes = { "module": "gem-track-click", "track-category": "relatedLinkClicked", "track-action": "1.0 Transition", "track-label": link_path, "track-dimension": link_text, "track-dimension-index": "29", } %> <%= tag.div class: "gem-c-contextual-sidebar__brexit-cta" do %> <%= tag.h2 title, class: "gem-c-contextual-sidebar__brexit-heading govuk-heading-s" %> <%= tag.p class: "gem-c-contextual-sidebar__brexit-text govuk-body" do %> <%= link_to link_text, link_path, class: "govuk-link", data: data_attributes, lang: lang %> <% end %> <% end %>
Version data entries
58 entries across 58 versions & 1 rubygems