diff --git a/static/custom.js b/static/custom.js index e81b39d..1d45571 100644 --- a/static/custom.js +++ b/static/custom.js @@ -58,6 +58,11 @@ $(document).ready(function() { $("#remove-btn").on("click", function(event) { event.preventDefault(); + $('#deletion-modal').modal('show'); + }); + + $("#deletion-confirm-btn").on("click", function(event) { + event.preventDefault(); $.ajax({ url: window.location.pathname, diff --git a/static/index.html b/static/index.html index ba3289c..6a55876 100644 --- a/static/index.html +++ b/static/index.html @@ -300,6 +300,28 @@ {{/if}} + {{#if is_created}} + + {{/if}} +