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-08-17 13:53:07 +02:00
|
|
|
|
locals: { steps: [['Démarches', admin_procedures_path],
|
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-10-21 18:12:57 +02:00
|
|
|
|
.procedure-form
|
|
|
|
|
.procedure-form__columns.container
|
|
|
|
|
= form_for @procedure,
|
2021-11-25 16:26:55 +01:00
|
|
|
|
url: url_for({ controller: 'administrateurs/procedures', action: :update, id: @procedure.id }),
|
2019-10-21 18:12:57 +02:00
|
|
|
|
multipart: true,
|
|
|
|
|
html: { class: 'form procedure-form__column--form' } do |f|
|
2019-09-24 16:38:58 +02:00
|
|
|
|
|
2019-10-21 18:12:57 +02:00
|
|
|
|
%h1.page-title Description
|
2019-09-24 16:38:58 +02:00
|
|
|
|
|
2021-11-25 16:26:55 +01:00
|
|
|
|
= render partial: 'administrateurs/procedures/informations', locals: { f: f }
|
2019-09-24 16:38:58 +02:00
|
|
|
|
|
2019-10-21 18:12:57 +02:00
|
|
|
|
.procedure-form__actions.sticky--bottom
|
2020-07-29 12:19:20 +02:00
|
|
|
|
.actions-right
|
|
|
|
|
= link_to 'Annuler', admin_procedure_path(id: @procedure), class: 'button', data: { confirm: 'Êtes-vous sûr de vouloir annuler les modifications effectuées ?'}
|
|
|
|
|
= f.button 'Enregistrer', class: 'button primary send'
|
2019-10-21 18:12:57 +02:00
|
|
|
|
|
|
|
|
|
.procedure-form__column--preview
|
|
|
|
|
.procedure-form__preview.sticky--top
|
|
|
|
|
%h3.procedure-form__preview-title Aperçu
|
|
|
|
|
.procedure-preview
|
2019-10-22 14:41:32 +02:00
|
|
|
|
= render partial: 'shared/procedure_description', locals: { procedure: @procedure }
|