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|
|
|
|
|
- dossier.champs_private.each do |champ|
|
|
|
|
= fields_for champ.input_name, champ do |form|
|
2022-09-08 11:25:39 +02:00
|
|
|
= render EditableChamp::EditableChampComponent.new form: form, champ: champ, seen_at: seen_at
|
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
|