12 lines
653 B
Text
12 lines
653 B
Text
.container.dossier-edit
|
|
- if dossier.champs_private.present?
|
|
%section.counter-start-header-section
|
|
= render Attachment::DeleteFormComponent.new
|
|
= 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|
|
|
= render EditableChamp::EditableChampComponent.new form: form, champ: champ, seen_at: seen_at
|
|
|
|
= render Dossiers::EditFooterComponent.new(dossier: dossier, annotation: true)
|
|
- else
|
|
%h2.empty-text Aucune annotation privée
|