Fix default button type (#3925)
Usager : les bloc répétables ne disparaissent plus lorsqu'on appuie sur la touche Entrée dans un champ
This commit is contained in:
commit
edbfd4e2b5
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
= form.hidden_field :_destroy, disabled: true
|
||||
.flex.row-reverse
|
||||
- if champ.persisted?
|
||||
%button.button.danger.remove-row
|
||||
%button.button.danger.remove-row{ type: :button }
|
||||
Supprimer
|
||||
- else
|
||||
%button.button.danger{ type: :button }
|
||||
|
|
Loading…
Reference in a new issue