Sha256: cba85ae5e7d8a4d2d427aa60232d5ff11834984c6b0ef29d785e32f3f798653d

Contents?: true

Size: 813 Bytes

Versions: 8

Compression:

Stored size: 813 Bytes

Contents

<% prioritise_taxon_breadcrumbs ||= false %>
<% breadcrumb_selector = GovukPublishingComponents::Presenters::BreadcrumbSelector.call(content_item, request, prioritise_taxon_breadcrumbs) %>
<% 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

8 entries across 8 versions & 1 rubygems

Version Path
govuk_publishing_components-21.56.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.55.4 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.55.3 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.55.2 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.55.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.55.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.54.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.53.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb