refactor(demande): single champ row component everywhere
This commit is contained in:
parent
d41f224a2c
commit
0ffc14944d
16 changed files with 204 additions and 226 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
%div{ id: section_id, 'data-expand-target': 'content' }
|
||||
- if !champs.empty?
|
||||
= render Dossiers::ChampRowShowComponent.new(champs: champs, demande_seen_at: @demande_seen_at, profile: @profile, repetition: false)
|
||||
= render Dossiers::ChampsRowsShowComponent.new(champs: champs, seen_at: @demande_seen_at, profile: @profile)
|
||||
|
||||
- sections.each do |section|
|
||||
= render section
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue