feat(instructeurs/dossiers): add summary to dossier.champs and dossier.champ_private views, also extract summary in
two component. one of type de champ editor. one for viewable champs
This commit is contained in:
parent
5a5ebfb235
commit
d46dc7055d
14 changed files with 146 additions and 61 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
= render NestedForms::FormOwnerComponent.new
|
||||
.fr-grid-row
|
||||
= render partial: 'champs_summary', locals: { header_sections: @procedure.draft_revision_header_sections_private }
|
||||
= render TypesDeChampEditor::HeaderSectionsSummaryComponent.new(procedure: @procedure, is_private: true)
|
||||
.fr-col
|
||||
= render TypesDeChampEditor::EditorComponent.new(revision: @procedure.draft_revision, is_annotation: true)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue