{% extends 'base.html' %} {% load static %} {% block title %}Delete Widget - Hospital Management{% endblock %} {% block content %}
Widget to be Deleted

{{ widget.title|default:"Revenue Trends" }}

{{ widget.description|default:"Monthly revenue analysis with trend indicators and growth metrics" }}

{{ widget.widget_type|default:"Chart" }}
{{ widget.chart_type|default:"Line Chart" }}
{{ widget.data_source|default:"Financial Data" }}
{{ widget.position|default:"Row 1, Col 1-8" }}
{{ widget.created_by|default:"Dr. Sarah Johnson" }}
{{ widget.created_at|default:"January 10, 2024" }}
{{ widget.title|default:"Revenue Trends" }}

{{ widget.widget_type|default:"Chart" }} Widget

Deletion Impact
What will be lost:
  • Widget configuration
    1
  • Custom chart settings
    All
  • Dashboard position
    1
  • Widget usage history
    All
What will remain:
  • Source data
    Safe
  • Dashboard layout
    Safe
  • Other widgets
    Safe
  • Access permissions
    Safe
Note: The data source and dashboard will remain intact. Only this specific widget configuration will be removed.
Alternative Actions

Consider these alternatives before deleting the widget:

Hide Widget

Temporarily hide the widget without deleting it.

Duplicate Widget

Create a backup copy before deletion.

Move Widget

Move to a different position or dashboard.

Edit Widget

Modify the widget instead of deleting it.

Edit Instead
Confirm Deletion
{% csrf_token %}
{% endblock %}