demarches-normaliennes/app/views/champs/repetition/add.turbo_stream.haml

3 lines
213 B
Text

- if @champs.present?
= fields_for @champ.input_name, @champ do |form|
= turbo_stream.append dom_id(@champ, :rows), render(EditableChamp::RepetitionRowComponent.new(form: form, champ: @champ, row: @champs))