From 73b96155fcd54b958fe8c676db028fd4fc4fabe4 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Wed, 6 Apr 2022 15:54:13 -0500 Subject: Add confirmation modal for deleting a workout --- app/templates/base/layout.html | 1 + app/templates/home.html | 19 ++++++++++++++++++- app/templates/workout/manage.html | 6 ------ 3 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 app/templates/workout/manage.html (limited to 'app/templates') diff --git a/app/templates/base/layout.html b/app/templates/base/layout.html index 1acdfda..cbdb567 100644 --- a/app/templates/base/layout.html +++ b/app/templates/base/layout.html @@ -100,5 +100,6 @@ + diff --git a/app/templates/home.html b/app/templates/home.html index 4d5cb8a..a8cf949 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -63,10 +63,27 @@

Edit - Delete + Delete

+ + {% endfor %} diff --git a/app/templates/workout/manage.html b/app/templates/workout/manage.html deleted file mode 100644 index 95f03f5..0000000 --- a/app/templates/workout/manage.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends 'base/layout.html' %} - -{% block content %} -
-
-{% endblock %} -- cgit v1.2.3