# Generic Resource Deletion Confirmation Form
# Generated: {{ now_iso }}
# Purpose: Generic confirmation for any resource deletion

[meta]
allow_cancel = true
description = "Confirm permanent deletion of resource"
title = "Resource Deletion Confirmation"

# ============================================================================
# WARNING SECTION
# ============================================================================

[items.warning_header]
display_only = true
prompt = "⚠️ Warning: Permanent Deletion"
type = "text"

[items.resource_type]
default = "{{ resource_type | default('Resource') }}"
display_only = true
prompt = "Resource Type"
type = "text"

[items.resource_name]
default = "{{ resource_name | default('unknown') }}"
display_only = true
prompt = "Resource Name"
type = "text"

[items.resource_id]
default = "{{ resource_id | default('') }}"
display_only = true
help = "Unique identifier of the resource"
prompt = "Resource ID"
type = "text"

[items.resource_status]
default = "{{ resource_status | default('unknown') }}"
display_only = true
prompt = "Current Status"
type = "text"

# ============================================================================
# IMPACT INFORMATION
# ============================================================================

[items.impact_header]
display_only = true
prompt = "Deletion Impact"
type = "text"

[items.irreversible_warning]
display_only = true
help = "There is no way to undo this operation"
prompt = "This action is irreversible"
type = "text"

[items.data_loss_warning]
display_only = true
help = "This includes configurations, logs, and cached data"
prompt = "All associated data will be permanently lost"
type = "text"

# ============================================================================
# CONFIRMATION
# ============================================================================

[items.confirm_text]
help = "This prevents accidental deletion"
prompt = "Type 'DELETE' to Confirm"
required = true
type = "text"

[items.final_confirm]
prompt = "I understand this is permanent and all data will be lost"
required = true
type = "confirm"

[items.proceed]
prompt = "Delete {{ resource_type | default('resource') }} '{{ resource_name | default('unknown') }}'?"
required = true
type = "confirm"
