2024-11-20 14:45:13 +01:00
|
|
|
%nav.fr-breadcrumb.fr-mt-0.fr-mb-1w{ role: "navigation", aria: { label: t('you_are_here', scope: [:layouts, :breadcrumb]) } }
|
2024-11-04 18:54:08 +01:00
|
|
|
%button.fr-breadcrumb__button{ aria: { expanded: "false", controls: "breadcrumb-1" } }
|
|
|
|
= t('show', scope: [:layouts, :breadcrumb])
|
|
|
|
|
|
|
|
.fr-collapse#breadcrumb-1
|
|
|
|
%ol.fr-breadcrumb__list
|
2024-11-20 14:44:45 +01:00
|
|
|
%li= link_to t('root', scope: [:layouts, :breadcrumb]), instructeur_procedures_path, class: 'fr-breadcrumb__link'
|
2024-11-04 18:54:08 +01:00
|
|
|
|
|
|
|
- steps.each.with_index do |step, i|
|
2024-11-19 00:04:21 +01:00
|
|
|
- if i == steps.size - 1
|
|
|
|
%li= link_to step[0], '', { aria: { current: "page" } , class: 'fr-breadcrumb__link' }
|
2024-11-04 18:54:08 +01:00
|
|
|
- else
|
2024-11-20 14:45:13 +01:00
|
|
|
%li= link_to step[0], step[1], class: 'fr-breadcrumb__link'
|