champs: fix margin of "Add row" button in the Preview
This commit is contained in:
parent
35e97ac617
commit
906f0fc468
1 changed files with 1 additions and 2 deletions
|
@ -16,5 +16,4 @@
|
|||
- if champ.persisted?
|
||||
= link_to "Ajouter une ligne pour « #{champ.libelle} »", champs_repetition_path(form.index), class: 'button add-row', data: { remote: true, method: 'POST', params: { champ_id: champ&.id }.to_query }
|
||||
- else
|
||||
%button.button{ type: :button }
|
||||
= "Ajouter une ligne pour « #{champ.libelle} »"
|
||||
%a.button.add-row Ajouter une ligne pour « #{champ.libelle} »
|
||||
|
|
Loading…
Add table
Reference in a new issue