demarches-normaliennes/app/views/new_administrateur/_breadcrumbs.html.haml
2021-06-15 09:54:32 +02:00

13 lines
584 B
Text

.sub-header
.container.flex.justify-between.align-baseline.column
%ul.breadcrumbs
- steps.each do |step|
%li= step
- if defined?(preview) && preview
.mb-2
= link_to "Prévisualiser le formulaire", apercu_admin_procedure_path(@procedure), target: "_blank", rel: "noopener", class: 'button'
= link_to "Continuer >", admin_procedure_path(@procedure), title: 'Vous pourrez revenir ici par la suite', class: 'button accepted'
- if defined?(metadatas)
%ul.admin-metadata
- metadatas.each do |metadata|
%li= metadata