demarches-normaliennes/app/components/editable_champ/repetition_component/repetition_component.html.haml

8 lines
443 B
Text
Raw Normal View History

2022-08-12 10:45:04 +02:00
.repetition{ id: dom_id(@champ, :rows) }
- @champ.rows.each do |champs|
= 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' }
2022-10-12 15:01:03 +02:00
= link_to champs_repetition_path(@champ.id), data: { turbo_method: :post }, class: 'fr-btn fr-btn--secondary fr-btn--icon-left fr-icon-add-circle-line fr-mb-3w' do
2022-08-12 10:45:04 +02:00
Ajouter un élément pour « #{@champ.libelle} »