Fix redirect to new workout page
This commit is contained in:
4
app.py
4
app.py
@@ -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())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user