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))]))