demarches-normaliennes/app/views/administrateurs/_breadcrumbs.html.haml

15 lines
595 B
Text
Raw Normal View History

2018-04-24 10:07:20 +02:00
.sub-header
.container.flex.justify-between.align-baseline.column
%ul.breadcrumbs.mt-1.mb-3
2018-04-24 10:07:20 +02:00
- steps.each do |step|
%li= step
2018-11-14 16:28:02 +01:00
- 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