2022-08-12 10:45:04 +02:00
|
|
|
.repetition{ id: dom_id(@champ, :rows) }
|
|
|
|
- @champ.rows.each do |champs|
|
2022-09-08 11:25:39 +02:00
|
|
|
= render EditableChamp::RepetitionRowComponent.new(form: @form, champ: @champ, row: champs, seen_at: @seen_at)
|
2022-08-12 10:45:04 +02:00
|
|
|
|
|
|
|
.actions{ 'data-turbo': 'true' }
|
|
|
|
= link_to champs_repetition_path(@champ.id), data: { turbo_method: :post }, class: 'button add-row' do
|
|
|
|
%span.icon.add
|
|
|
|
Ajouter un élément pour « #{@champ.libelle} »
|