From b0a31723363a9e8fd087dd6219c3366a00f8c8e4 Mon Sep 17 00:00:00 2001 From: dandds Date: Tue, 6 Nov 2018 16:23:02 -0500 Subject: [PATCH] component for confirming destructive actions --- templates/components/confirmation_button.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/components/confirmation_button.html diff --git a/templates/components/confirmation_button.html b/templates/components/confirmation_button.html new file mode 100644 index 00000000..5802052a --- /dev/null +++ b/templates/components/confirmation_button.html @@ -0,0 +1,18 @@ +{% macro ConfirmationButton(btn_text, action, confirm_msg="Are you sure?", confirm_btn="Confirm", cancel_btn="Cancel") -%} + + + + +{%- endmacro %}