Sha256: be1ca679dd2d304164df57832dd4b4f05541dc25b632af96c13d7e9d1714a7f8

Contents?: true

Size: 724 Bytes

Versions: 4

Compression:

Stored size: 724 Bytes

Contents

<%
  navigation = GovukPublishingComponents::Presenters::ContextualNavigation.new(content_item, request)
  disable_ga4 ||= false

  component_helper = GovukPublishingComponents::Presenters::ComponentWrapperHelper.new(local_assigns)
  component_helper.add_class("gem-c-contextual-footer govuk-!-display-none-print")
%>

<% unless navigation.content_tagged_to_current_step_by_step? %>
  <%= tag.div(**component_helper.all_attributes) do %>
    <%# Rendering related navigation because no step by step list %>
    <%= render 'govuk_publishing_components/components/related_navigation',
               content_item: content_item,
               disable_ga4: disable_ga4,
               context: :footer %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
govuk_publishing_components-51.1.0 app/views/govuk_publishing_components/components/_contextual_footer.html.erb
govuk_publishing_components-51.0.0 app/views/govuk_publishing_components/components/_contextual_footer.html.erb
govuk_publishing_components-50.0.1 app/views/govuk_publishing_components/components/_contextual_footer.html.erb
govuk_publishing_components-50.0.0 app/views/govuk_publishing_components/components/_contextual_footer.html.erb