demarches-normaliennes/app/views/administrateurs/procedures/edit.html.haml

20 lines
897 B
Text
Raw Normal View History

- content_for(:root_class, 'scroll-margins-for-sticky-footer')
= render partial: 'administrateurs/breadcrumbs',
locals: { steps: [['Démarches', admin_procedures_back_path(@procedure)],
[@procedure.libelle.truncate_words(10), admin_procedure_path(@procedure)],
2024-05-22 14:55:28 +02:00
['Présentation']] }
2019-09-24 16:38:58 +02:00
= render NestedForms::FormOwnerComponent.new
= form_for @procedure,
url: url_for({ controller: 'administrateurs/procedures', action: :update, id: @procedure.id }),
2023-05-31 17:04:21 +02:00
html: { class: 'form procedure_tags_combo', multipart: true } do |f|
.fr-container
.fr-grid-row
2023-07-17 16:27:59 +02:00
.fr-col-12.fr-col-offset-md-2.fr-col-md-8
2024-05-22 14:55:28 +02:00
%h1.fr-h2 Présentation
2019-09-24 16:38:58 +02:00
= render partial: 'administrateurs/procedures/informations', locals: { f: f }
2019-09-24 16:38:58 +02:00
2024-05-27 17:56:05 +02:00
= render Procedure::FixedFooterComponent.new(procedure: @procedure, form: f, extra_class_names: 'fr-col-offset-md-2 fr-col-md-8')