demarches-normaliennes/app/views/shared/dossiers/editable_champs/_repetition.html.haml

9 lines
404 B
Text
Raw Normal View History

.repetition{ id: dom_id(champ, :rows) }
2019-01-30 16:14:15 +01:00
- champ.rows.each do |champs|
= render partial: 'shared/dossiers/editable_champs/repetition_row', locals: { form: form, champ: champ, row: champs }
2019-01-30 16:14:15 +01: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} »