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' }
|
2023-03-31 08:49:21 +02:00
|
|
|
= button_tag(name: "action", formaction: champs_repetition_path(@champ.id), class: "fr-btn fr-btn--secondary fr-btn--icon-left fr-icon-add-circle-line fr-mb-3w", title: t(".add_title", libelle: @champ.libelle), form: EditableChamp::AddFormRepetitionRowComponent.form_id, id: dom_id(@champ, :create_repetition)) do
|
2023-03-31 08:12:57 +02:00
|
|
|
= t(".add", libelle: @champ.libelle)
|