Update tour.py

This commit is contained in:
Jonathan Bobel
2025-04-28 12:17:28 -04:00
parent e04806b1eb
commit bf03391b6d

View File

@@ -151,17 +151,17 @@ def _get_tour_step_back_link(service_id, template_id, step_index):
} }
else: else:
return { return {
"href": { "href": {
"url": url_for( "url": url_for(
"main.tour_step", "main.tour_step",
service_id=service_id, service_id=service_id,
template_id=template_id, template_id=template_id,
step_index=step_index - 1, step_index=step_index - 1,
), ),
"text": "Back to previous step", "text": "Back to previous step",
}, },
"html": "Back to previous step", "html": "Back to previous step",
} }
@main.route( @main.route(