Sha256: f7bbd9ff44d19c9ffd35f99f11dc0d23a70a1ae8f8313eca781cd5d76d1c90f6

Contents?: true

Size: 816 Bytes

Versions: 49

Compression:

Stored size: 816 Bytes

Contents

<%
  disable_ga4 ||= false
  prioritise_taxon_breadcrumbs ||= false
  breadcrumb_selector = GovukPublishingComponents::Presenters::BreadcrumbSelector.new(content_item, request, prioritise_taxon_breadcrumbs, disable_ga4)
  inverse ||= false
  collapse_on_mobile ||= true unless local_assigns[:collapse_on_mobile].eql?(false)
%>

<div class="gem-c-contextual-breadcrumbs">
  <% if breadcrumb_selector.step_by_step %>
    <%= render 'govuk_publishing_components/components/step_by_step_nav_header', breadcrumb_selector.breadcrumbs %>
  <% elsif breadcrumb_selector.breadcrumbs %>
    <%= render 'govuk_publishing_components/components/breadcrumbs',
               breadcrumbs: breadcrumb_selector.breadcrumbs,
               inverse: inverse,
               collapse_on_mobile: collapse_on_mobile %>
  <% end %>
</div>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
govuk_publishing_components-37.10.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.9.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.9.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.8.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.8.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.7.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.7.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.6.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.6.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.5.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.5.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.4.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.3.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.3.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.2.4 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.2.3 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.2.2 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.2.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.2.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-37.1.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb