Sha256: 9655d6f823f5972dae2bb588a576f0cfac84af52c45ca5afaac381b18fe6890f

Contents?: true

Size: 976 Bytes

Versions: 109

Compression:

Stored size: 976 Bytes

Contents

<% prioritise_taxon_breadcrumbs ||= false %>
<% breadcrumb_selector = GovukPublishingComponents::Presenters::BreadcrumbSelector.new(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 %>

  <%= render(
        'govuk_publishing_components/components/step_by_step_nav_header', breadcrumb_selector.priority_breadcrumbs
      ) if breadcrumb_selector.priority_breadcrumbs
  %>
</div>

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
govuk_publishing_components-21.68.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.68.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.67.2 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.67.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.67.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.66.4 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.66.3 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.66.2 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.66.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.66.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.65.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.65.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.64.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.63.3 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.63.2 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.63.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.63.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.62.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.61.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-21.60.3 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb