app/views/forums/_head.html.haml
- subheading ||= nil
- root_navigable ||= false
- if object
- presenter = present(object)
%nav.mb-3{ aria: { label: 'breadcrumb' } }
%ol.breadcrumb.bg-transparent.pl-0.py-1.mb-1
%li.breadcrumb-item
= link_to forums_path(nil) do
Home
= presenter.breadcrumbs
%h3{ aria: { current: 'page' } }
= presenter
- if subheading
%small.text-muted.ml-2
= subheading
- else
%nav.mb-3{ aria: { label: 'breadcrumb' } }
%ol.breadcrumb.bg-transparent.pl-0.py-1.mb-1
%li.breadcrumb-item.active
- if root_navigable
= link_to forums_path(nil) do
Home
- else
Home
%h3{ aria: { current: 'page' } }
Forums
- if subheading
%small.text-muted.ml-2
= subheading