2022-05-07 17:49:27 +02:00
|
|
|
.container.dossier-edit
|
2024-02-08 19:20:38 +01:00
|
|
|
- if dossier.has_annotations?
|
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|
|
2024-03-14 15:13:13 +01:00
|
|
|
= render EditableChamp::SectionComponent.new(dossier:, types_de_champ: dossier.revision.types_de_champ_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
|