Sha256: 4fc6c1b30ee620d2513a8cf9190913669c2d360f88551f81085d6c9f7c4526ca

Contents?: true

Size: 789 Bytes

Versions: 68

Compression:

Stored size: 789 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 %>
</div>

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
govuk_publishing_components-34.13.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.12.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.11.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.10.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.10.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.9.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.9.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.8.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.8.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.7.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.7.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.6.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.5.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.5.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.4.2 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.4.1 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.4.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.3.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.2.0 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
govuk_publishing_components-34.1.3 app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb