demarches-normaliennes/app/views/administrateurs/labels/new.html.haml

21 lines
660 B
Text
Raw Normal View History

- content_for :title, "Nouveau label"
2024-10-16 14:31:08 +02:00
= render partial: 'administrateurs/breadcrumbs',
locals: { steps: [['Démarches', admin_procedures_path],
[@procedure.libelle.truncate_words(10), admin_procedure_path(@procedure)],
2024-10-29 15:39:58 +01:00
['gestion des labels', [:admin, @procedure, :labels]],
2024-10-16 14:31:08 +02:00
['Nouveau label']] }
.fr-container
.fr-mb-3w
= link_to "Liste de tous les labels",
2024-10-29 15:39:58 +01:00
[:admin, @procedure, :labels],
class: "fr-link fr-icon-arrow-left-line fr-link--icon-left"
2024-10-16 14:31:08 +02:00
%h1.fr-h2
Créer un nouveau label
= render partial: 'form',
locals: { label: @label, procedure_id: @procedure.id }