Allow force destroying an instance.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user