From 0314d8368abd1cec22982b14ac6817f20a70795d Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Tue, 8 Jan 2019 19:21:59 +0100 Subject: [PATCH] link delete path --- src/wanijo/instance/view.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wanijo/instance/view.clj b/src/wanijo/instance/view.clj index a64cd45..7533475 100644 --- a/src/wanijo/instance/view.clj +++ b/src/wanijo/instance/view.clj @@ -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))]))