2022-05-07 17:49:27 +02:00
|
|
|
.container.dossier-edit
|
|
|
|
- if dossier.champs_private.present?
|
2023-02-28 17:49:39 +01:00
|
|
|
%section.counter-start-header-section
|
2023-03-31 16:10:47 +02:00
|
|
|
= render NestedForms::FormOwnerComponent.new
|
2022-05-07 17:49:27 +02:00
|
|
|
= form_for dossier, url: annotations_instructeur_dossier_path(dossier.procedure, dossier), html: { class: 'form', multipart: true } do |f|
|
2023-04-14 10:55:36 +02:00
|
|
|
= render EditableChamp::SectionComponent.new(champs: dossier.champs_private)
|
2022-05-07 17:49:27 +02:00
|
|
|
|
2023-03-01 18:30:10 +01:00
|
|
|
= render Dossiers::EditFooterComponent.new(dossier: dossier, annotation: true)
|
2022-05-07 17:49:27 +02:00
|
|
|
- else
|
|
|
|
%h2.empty-text Aucune annotation privée
|