From 5a2696cdb150070ef21f40e7d28096eeed7edca5 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 5 Jun 2019 17:23:31 +0100 Subject: Make the modal modular --- app/templates/admin/manage_users.html | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'app/templates/admin/manage_users.html') diff --git a/app/templates/admin/manage_users.html b/app/templates/admin/manage_users.html index 0e365d4..6e3b51a 100644 --- a/app/templates/admin/manage_users.html +++ b/app/templates/admin/manage_users.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% import "_partials/modals.html" as modals %} + {% block styles %} {{ super() }} @@ -21,23 +23,8 @@ - - + {{ modals.confirm("delete", "Delete User", "You are about to delete the user + and all associated tasks and annotations. Are you sure?") }}

User Overview

-- cgit v1.2.3