feat(admin/annotations): add link to show annotations history

This commit is contained in:
mfo 2024-06-20 14:42:55 +02:00
parent 6eaf870cbf
commit 25ffd902ff
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC

View file

@ -4,7 +4,11 @@
['Annotations privées']], preview: true }
.fr-container
%h1.fr-h2 Annotations privées
.flex.justify-between.align-center.fr-mb-3w
%h1.fr-h2 Annotations privées
- if @procedure.revised?
= link_to "Voir l'historique des modifications des annotations", modifications_admin_procedure_path(@procedure), class: 'fr-link'
= render NestedForms::FormOwnerComponent.new
.fr-grid-row
= render partial: 'champs_summary', locals: { header_sections: @procedure.draft_revision_header_sections_private }