2020-07-23 14:32:32 +02:00
|
|
|
|
- content_for(:root_class, 'scroll-margins-for-sticky-footer')
|
|
|
|
|
|
2021-11-25 16:26:55 +01:00
|
|
|
|
= render partial: 'administrateurs/breadcrumbs',
|
2022-12-08 17:28:48 +01:00
|
|
|
|
locals: { steps: [['Démarches', admin_procedures_back_path(@procedure)],
|
2022-09-09 13:08:24 +02:00
|
|
|
|
[@procedure.libelle.truncate_words(10), admin_procedure_path(@procedure)],
|
2022-08-17 13:53:07 +02:00
|
|
|
|
['Description']] }
|
2019-09-24 16:38:58 +02:00
|
|
|
|
|
2023-05-31 11:33:59 +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|
|
2023-05-31 11:33:59 +02:00
|
|
|
|
.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
|
2023-05-31 11:33:59 +02:00
|
|
|
|
%h1.fr-h2 Description
|
2019-09-24 16:38:58 +02:00
|
|
|
|
|
2023-05-31 11:33:59 +02:00
|
|
|
|
= render partial: 'administrateurs/procedures/informations', locals: { f: f }
|
2019-09-24 16:38:58 +02:00
|
|
|
|
|
2023-10-24 11:07:26 +02:00
|
|
|
|
.padded-fixed-footer
|
|
|
|
|
.fixed-footer
|
|
|
|
|
.fr-container
|
|
|
|
|
.fr-grid-row
|
|
|
|
|
.fr-col-12.fr-col-offset-md-2.fr-col-md-8
|
|
|
|
|
%ul.fr-btns-group.fr-btns-group--inline-md
|
|
|
|
|
%li
|
|
|
|
|
= f.button 'Enregistrer', class: 'fr-btn'
|
|
|
|
|
%li
|
|
|
|
|
= link_to 'Annuler', admin_procedure_path(id: @procedure), class: 'fr-btn fr-btn--secondary', data: { confirm: 'Êtes-vous sûr de vouloir annuler les modifications effectuées ?'}
|