diff options
| author | FivePixels <o5pxels@gmail.com> | 2022-03-23 18:56:09 -0500 |
|---|---|---|
| committer | FivePixels <o5pxels@gmail.com> | 2022-03-23 18:56:09 -0500 |
| commit | 695215c993765d910a31789d0a70eef5ee3b57e9 (patch) | |
| tree | 165e0a5c2e6e1d372fa8a7ebee114a5d1ef9eb20 /app/routes.py | |
| parent | 5f48bcb3ed524dbd20e424170136da6b6d4a2300 (diff) | |
| download | Strengthy-695215c993765d910a31789d0a70eef5ee3b57e9.tar.xz Strengthy-695215c993765d910a31789d0a70eef5ee3b57e9.zip | |
Start working on workout create page
Add variable to each page to determine with of "box" for form.
Add new workout create route.
Diffstat (limited to 'app/routes.py')
| -rw-r--r-- | app/routes.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/routes.py b/app/routes.py index e6214dc..ce47d83 100644 --- a/app/routes.py +++ b/app/routes.py @@ -59,3 +59,7 @@ def register(): return render_template('user/register.html', form=form) +@app.route("/workout/create", methods=['GET', 'POST']) +def createWorkout(): + form = RegisterForm() + return render_template('workout/create.html', form=form) |
