Allow force destroying an instance.

This commit is contained in:
2026-07-27 16:21:01 -07:00
parent 1c57b865b7
commit 12d014eda9

View File

@@ -2229,6 +2229,7 @@ chmod -R 777 /opt/keys")))
(@ (title "Delete Instance"))
(Field (@ (name "instance-domain") (label ("Type the domain name of the instance to confirm.")) (value "")))
(Field (@ (name "delete-backups") (label ("Delete backups for this instance")) (type "checkbox"))))
(input (@ (type "hidden") (value ,(alist-ref 'force (current-params))) (name "force")))
(Form-Nav (@ (back-to "/dashboard") (submit-button "Destroy"))))))))
(post "/destroy-submit/:id"