From f6db39574945f3aa8aaf180ca1bb8c56142dcbaf Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 23 Jan 2024 13:35:09 -0800 Subject: [PATCH] 14729 background task delete --- .../core/background_task_delete.html | 18 +++++++++++++ netbox/templates/core/htmx/delete_form.html | 25 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 netbox/templates/core/background_task_delete.html create mode 100644 netbox/templates/core/htmx/delete_form.html diff --git a/netbox/templates/core/background_task_delete.html b/netbox/templates/core/background_task_delete.html new file mode 100644 index 000000000..b3067607b --- /dev/null +++ b/netbox/templates/core/background_task_delete.html @@ -0,0 +1,18 @@ +{% extends 'generic/_base.html' %} +{% load helpers %} +{% load form_helpers %} +{% load i18n %} + +{% block title %} + {% trans "Delete" %} {{ object_name }}? +{% endblock %} + +{% block content %} + +{% endblock %} diff --git a/netbox/templates/core/htmx/delete_form.html b/netbox/templates/core/htmx/delete_form.html new file mode 100644 index 000000000..f65e75686 --- /dev/null +++ b/netbox/templates/core/htmx/delete_form.html @@ -0,0 +1,25 @@ +{% load form_helpers %} +{% load i18n %} + +
+ {% csrf_token %} + + + +