2022-05-03 16:40:09 +02:00
|
|
|
.repetition{ id: dom_id(champ, :rows) }
|
2019-01-30 16:14:15 +01:00
|
|
|
- champ.rows.each do |champs|
|
2022-04-28 15:06:40 +02:00
|
|
|
= render partial: 'shared/dossiers/editable_champs/repetition_row', locals: { form: form, champ: champ, row: champs }
|
2019-01-30 16:14:15 +01:00
|
|
|
|
2022-05-03 16:40:09 +02:00
|
|
|
.actions{ 'data-turbo': 'true' }
|
2022-05-10 09:01:56 +02:00
|
|
|
= link_to champs_repetition_path(champ.id), data: { turbo_method: :post }, class: 'button add-row' do
|
2019-10-23 13:17:11 +02:00
|
|
|
%span.icon.add
|
2020-02-10 15:43:21 +01:00
|
|
|
Ajouter un élément pour « #{champ.libelle} »
|