Sha256: 27a2f15361f950df028d90598baafc05680aa225146f266f227ed6b87308d528

Contents?: true

Size: 1.22 KB

Versions: 24

Compression:

Stored size: 1.22 KB

Contents

<%
  data_attributes ||= {}
  data_attributes[:module] = 'intervention'
%>

<%= tag.section class: "gem-c-intervention", role: "region", data: data_attributes do %>
  <h2 class="gem-c-intervention__title govuk-heading-s">
    <a class="govuk-link" href="/next-steps-for-your-business"
      data-module="gem-track-click"
      data-track-category="interventionBanner"
      data-track-action="interventionClicked"
      data-track-dimension="<%= t("components.intervention.title") %>"
      data-track-dimension-index="29"
      data-track-label="/next-steps-for-your-business">
      <%= t("components.intervention.title") %></a>
  </h2>

  <p class="govuk-body">
    <%= t("components.intervention.description") %>
  </p>

  <p class="govuk-body">
    <a class="govuk-link" href="?hide-intervention=true"
      data-module="gem-track-click"
      data-track-category="interventionBanner"
      data-track-action="interventionDismissed"
      data-track-label="?hide-intervention=true"
      data-track-dimension="<%= t("components.intervention.dismiss_link_text") %>"
      data-track-dimension-index="29">
      <%= t("components.intervention.dismiss_link_text") %></a>
    <%= t("components.intervention.dismiss_post_link") %>
  </p>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
govuk_publishing_components-27.8.1 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.8.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.7.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.6.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.5.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.4.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.3.1 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.3.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.2.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.1.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-27.0.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-26.0.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-25.7.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-25.6.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-25.5.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-25.4.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-25.3.1 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-25.3.0 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-25.2.3 app/views/govuk_publishing_components/components/_intervention.html.erb
govuk_publishing_components-25.2.2 app/views/govuk_publishing_components/components/_intervention.html.erb