link delete path

integration-tests
Josha von Gizycki 6 years ago
parent ac448b8e2f
commit 0314d8368a

@ -73,6 +73,6 @@
(hform/form-to [:post (path :instance-edit instance)]
(form/render-widgets form form-data req)
(hform/submit-button "Edit!"))
(hform/form-to [:delete ""]
(hform/form-to [:delete (path :instance-delete instance)]
(anti-forgery-field)
(view/delete-btn))]))

Loading…
Cancel
Save