From cafd3f6151a6c673163755400b40597b6d3476bc Mon Sep 17 00:00:00 2001 From: stilbruch Date: Wed, 6 Apr 2022 15:02:25 -0500 Subject: Workouts names can be edited --- app/templates/home.html | 10 +++++- app/templates/workout/create.html | 66 ++++++++++++++++++++------------------- 2 files changed, 43 insertions(+), 33 deletions(-) (limited to 'app/templates') diff --git a/app/templates/home.html b/app/templates/home.html index 693e03b..11179cd 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -60,13 +60,21 @@ {{ workout.name }} {{ workout.exercises.count() }} exercises - Edit + +

+ Edit + Delete +

+ {% endfor %} +
diff --git a/app/templates/workout/create.html b/app/templates/workout/create.html index eaf5f39..cdd1191 100644 --- a/app/templates/workout/create.html +++ b/app/templates/workout/create.html @@ -7,7 +7,7 @@

- + @@ -16,39 +16,41 @@

-
-
-
-

- - - + {% for entry in form.exercises.entries %} +

+
+
+

+ + + + +

+
+
+

+ + + + +

+
+
+

+ + + + +

+
+

+ +

-
-

- - - - -

-
-
-

- - - - -

-
-

- - - -

-
+ {% endfor %}

@@ -69,12 +71,11 @@