summaryrefslogtreecommitdiff
path: root/app/forms/workout.py
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonmail.com>2022-04-23 17:08:53 -0500
committerstilbruch <stilbruch@protonmail.com>2022-04-23 17:08:53 -0500
commitceb76e7b1d75623b09a9c85a3e48752404a9077d (patch)
treeab2d93e62daad8d2b5a411e2cecc7fe3b73af448 /app/forms/workout.py
parenta4ca3d81f5bf0d00f1326ee80878da4169f54ea6 (diff)
downloadStrengthy-ceb76e7b1d75623b09a9c85a3e48752404a9077d.tar.xz
Strengthy-ceb76e7b1d75623b09a9c85a3e48752404a9077d.zip
Work on exercise type support for create workout
Diffstat (limited to 'app/forms/workout.py')
-rw-r--r--app/forms/workout.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/forms/workout.py b/app/forms/workout.py
index ecc72c8..a84eb6a 100644
--- a/app/forms/workout.py
+++ b/app/forms/workout.py
@@ -7,6 +7,7 @@ class ExerciseCreateForm(Form):
name = StringField("name", [DataRequired()])
sets = IntegerField("sets", [DataRequired()])
units = IntegerField("units", [DataRequired()])
+ type = StringField("type", [DataRequired()]) # TODO: make sure its time or reps
class SetForm(Form):
lbs = IntegerField("lbs", [DataRequired()])