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

11 lines
575 B
Text
Raw Normal View History

.container.dossier-edit
2024-02-08 19:20:38 +01:00
- if dossier.has_annotations?
%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|
%fieldset.fr-fieldset= render EditableChamp::SectionComponent.new(dossier:, types_de_champ: dossier.revision.types_de_champ_private)
2023-03-01 18:30:10 +01:00
= render Dossiers::EditFooterComponent.new(dossier: dossier, annotation: true)
- else
%h2.empty-text Aucune annotation privée