demarches-normaliennes/app/views/shared/dossiers/_edit_annotations.html.haml

13 lines
653 B
Text
Raw Normal View History

.container.dossier-edit
- if dossier.champs_private.present?
%section.counter-start-header-section
= render NestedForms::FormOwnerComponent.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
2023-03-01 18:30:10 +01:00
= render Dossiers::EditFooterComponent.new(dossier: dossier, annotation: true)
- else
%h2.empty-text Aucune annotation privée