demarches-normaliennes/app/views/users/dossiers/update_brouillon.turbo_stream.haml

5 lines
178 B
Text

- @dossier.champs.filter(&:conditional?).each do |champ|
- if champ.visible?
= turbo_stream.show champ.input_group_id
- else
= turbo_stream.hide champ.input_group_id