From 59545aaf0e01bc09c8b18b3bfc482d70fb2d1506 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Tue, 30 Jul 2019 09:51:27 -0400 Subject: [PATCH] Add TO cancel modal --- templates/task_orders/builder_base.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/task_orders/builder_base.html b/templates/task_orders/builder_base.html index 3b571459..01e63d4a 100644 --- a/templates/task_orders/builder_base.html +++ b/templates/task_orders/builder_base.html @@ -1,6 +1,7 @@ {% extends "portfolios/base.html" %} {% from "components/sticky_cta.html" import StickyCTA %} +{% from "components/modal.html" import Modal %} {% block portfolio_content %} @@ -26,13 +27,21 @@ {% endif %} {{ "common.cancel" | translate }} {% endcall %} + {% call Modal(name='cancel', dismissable=True) %} +
+

Do you want to save this draft?

+ No, delete it + Yes, save for later +
+ {% endcall %} + {% include "fragments/flash.html" %}