add clickable summary in champ editor view for admin

This commit is contained in:
Lisa Durand 2024-01-04 16:20:27 +01:00
parent d9b75ce0a2
commit 6773843d52
11 changed files with 42 additions and 8 deletions

View file

@ -967,6 +967,10 @@ class Procedure < ApplicationRecord
lien_dpo.present? && lien_dpo.match?(/@/)
end
def header_sections
draft_revision.revision_types_de_champ_public.filter { _1.type_de_champ.header_section? }
end
private
def pieces_jointes_list