component all the champ
This commit is contained in:
parent
a98aa079e2
commit
a3e8c09e71
121 changed files with 554 additions and 292 deletions
|
@ -0,0 +1,8 @@
|
|||
.repetition{ id: dom_id(@champ, :rows) }
|
||||
- @champ.rows.each do |champs|
|
||||
= render EditableChamp::RepetitionRowComponent.new(form: @form, champ: @champ, row: champs)
|
||||
|
||||
.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} »
|
Loading…
Add table
Add a link
Reference in a new issue