demarches-normaliennes/app/views/instructeurs/dossiers/update_annotations.turbo_stream.haml
2023-03-14 15:22:13 +01:00

8 lines
318 B
Text

- if @to_show.present?
= turbo_stream.show_all(@to_show)
- if @to_hide.present?
= turbo_stream.hide_all(@to_hide)
- @to_update.each do |champ|
= fields_for champ.input_name, champ do |form|
= turbo_stream.replace champ.input_group_id do
= render EditableChamp::EditableChampComponent.new champ:, form: