diff --git a/instances/templates/instances/destroy_instance_form.html b/instances/templates/instances/destroy_instance_form.html index 5420fd17..0594c5ba 100644 --- a/instances/templates/instances/destroy_instance_form.html +++ b/instances/templates/instances/destroy_instance_form.html @@ -10,32 +10,26 @@ {% block content %} {% if can_delete %} - {% if instance.status == 3 %} -
- {% trans "Instance is suspended, cannot destroy!" %} +
+ {% trans "This action is irreversible!" %} +
+
{% csrf_token %} +
+ +
- {% else %} -
- {% trans "This action is irreversible!" %} + {% if instance.nvram %} +
+ +
- {% csrf_token %} -
- - -
- {% if instance.nvram %} -
- - -
- {% endif %} - - - {% endif %} + {% endif %} + + {% else %}