add feature test on type de champ:
add typde de champ delete type de champ
This commit is contained in:
parent
afd0b72ae8
commit
65c8c039ac
2 changed files with 38 additions and 69 deletions
|
@ -25,7 +25,7 @@
|
|||
- unless ff.object.id.nil?
|
||||
.form-group
|
||||
%br
|
||||
= link_to("Delete", admin_procedure_type_de_champ_path(@procedure, ff.object.id), method: :delete, remote: true)
|
||||
/ %button.form-control.btn.btn-danger.fa.fa-trash-o{type: 'button'}
|
||||
/ , id: "delete_type_de_champ_#{type_de_champ.id || index}_procedure"}
|
||||
= link_to("", admin_procedure_type_de_champ_path(@procedure, ff.object.id), method: :delete, remote: true, id: "delete_type_de_champ_#{ff.object.id}", class: %w(form-control btn btn-danger fa fa-trash-o) )
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue