Fix redirect to new workout page

This commit is contained in:
Peter Stockings
2023-03-30 20:42:14 +11:00
parent 114b501adf
commit 5baa91df82
4 changed files with 18 additions and 16 deletions

4
app.py
View File

@@ -255,8 +255,8 @@ def render_users_and_workouts():
users_data.append(user_data)
if htmx:
render_template('users_and_workouts_wrapper.html',
users=users_data, bikes=Bike.query.all())
return render_template('users_and_workouts_wrapper.html',
users=users_data, bikes=Bike.query.all())
return render_template('users_and_workouts.html', users=users_data, bikes=Bike.query.all())